Probleme with php
-
Hey,
Thanks for this great plugin !
I wanna display it only on the first page (home page) So i use this :
<?php wp_reset_query(); $page = (get_query_var('paged')) ? get_query_var('paged') : 1; if ($page ==1) { echo ' if(function_exists('tptn_show_pop_posts')) tptn_show_pop_posts(); '; } ?>
But i have a syntax error with the
'
here (‘tptn_show_pop_posts‘))
Do u have a solution ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Probleme with php’ is closed to new replies.