I’ve been struggling with adding some php to a category-slug page that I created in premium GP. What I intended to do on this category page was to display:
– 3 posts
– 3 posts
After doing my best to swat up on the loop (resetting etc) and templates I eventually gave up and hoped that WP Show posts would bridge the gap. With the plugin I’ve gotten close, but feel like I’m now just pasting the php into random places in hope that it works!
Are you able to give me a bit of direction please?
At the moment it’s just a test site, so I’ll include that URL in the form below.
ps It was really a flip of a coin as to which forum to post to here, so apologies if you’d have preferred on WP Show posts.
Thanks for the reply, it was the adding the function that I’m struggling with. I must be adding it incorrectly or missing something. The category-slug page is the renamed archive.php, not sure if that is the problem? I just couldn’t seem to place it in the right spot to produce anything other than than the white error screens.
Follow up is that I’ve been successful in making the changes. Changing some display settings and also ‘Get template’ made the difference. Extra reading on the loop and the coding that I was looking at helped 🙂
Sorry to have slightly wasted your time, greatly appreciate both template and plugin.