I think I have a problem.
There is functions.php file inside my theme. I can see it from
admin page, it contains only remove_action functions:
... remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); remove_action(...) ...
The problem is that my WP pages still contain everything I try to remove. I added
global $removeres = 'remove_action: ';
at the beginning of functions.php, and try to echo variable in footer:
<?php echo $removeres; ?>
and I don’t see anything in footer.
Thus I assume that the functions.php is not called at all.
What I’m doing wrong?
- The topic ‘functions.php of a theme is not called ?’ is closed to new replies.