Home › Forums › Support › insert php nav links location › Reply To: insert php nav links location
November 29, 2015 at 9:33 am
#156493
theonetruevlad
Hi
http://pastebin.com/73RNi6p5
Which just these 3 lines:
$page = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts("cat=33&showposts=3&paged=$page");
posts_nav_link();
I have tried using both these plugins to insert the php:
If I add other content this also appears before the post. It seems to be that the actual posts go after all the content has been added regardless of where you place the post call.
Could I maybe stick the code in using gp hooks with conditions for which page I am on? Then I won’t need the extra plugins. Otherwise I guess I’ll have to research page templates.