Thanks for a neat simple plugin.
I am having problem with the custom location php code when adding to single.php.
The code I try is `<?php
if ( function_exists( ‘nice_likes’ ) ) :
<?php echo the_ID() ;?>
I am including the_ID() to check that in fact the file is called. The ID is displayed but the plugin returns nothing. No errors in the console.
I also tried with
<?php do_action( 'nice_likes_custom' ); ?>but it still doesn’t show anything even thought the php file is loaded.
- The topic ‘Custom location php not showing’ is closed to new replies.