PHP Function manual insert not working? ?
-
My php skill is still pretty basic. I may be missing something obvious.
I’m trying to insert the statement but it isn’t working for me:
if ( function_exists ( ‘echo_tptn_post_count’ ) ) echo_tptn_post_count();? ?I tested and function_exists() is true.
But when I use the statement, nothing appears. If I try to use the statement with already working php in a hook, all the php in that hook is not displayed.
This works in the hook:
<?php
the_category(‘ ‘);
the_author_posts_link();
the_tags( ‘Tags ‘, ‘ ‘, ” );
?>This doesn’t work, there is no output from any of the code in this hook:
<?php
the_category(‘ ‘);
the_author_posts_link();
the_tags( ‘Tags ‘, ‘ ‘, ” );
if ( function_exists ( ‘echo_tptn_post_count’ ) ) echo_tptn_post_count();?
?>My php skill is still pretty basic. I may be missing something obvious.
I’m using the Genesis framework. And Genesis Simple Hooks plugin.
If I use the setting to just automatically add the counters to posts, the counter does show up that way.
Thank you.
- The topic ‘PHP Function manual insert not working? ?’ is closed to new replies.