add function management block for theme