Display a blog category on a page?
-
Hi guys,
I realise this question must come up a lot, so excuse me. Surprisingly I’m struggling to find examples of this in action, and get a hook for accomplishing this.
Basically I have want to duplicate SOME of the content from my index.php in a page. Pseudo code would look something like this:
// this code would be placed in my page.php
check page ID
if page ID == 6 // faq/blog page
then display all posts with cat ID == 5 && cat ID == 6 // faq and blog cat IDs respectively
else display conventional page contentThanks guys,
L
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Display a blog category on a page?’ is closed to new replies.