• JeffSydor

    (@jeffsydor)


    Problem:

    Inherited a WordPress site from a third-party developer that used many custom plugins, scripts and other PHP code rather than standard WP modules. Now I need to display a few different blog pages.

    I have 2 templates, a blog homepage and a blog post to use for single.php. On my primary blog homepage (the one listed in the top-level navigation) I want ALL posts relating to each of our blogs to be targeted and displayed chronologically. From there, each category in our blog will be linked to a new page which will target and display ONLY posts from that specific category.

    Pages:

    1. Our Blogs (show all categories chronologically)
    2. Q+A Blog (all posts from first category)
    3. Tips & Tricks Blog (all posts from second category)
    4. General Info Blog (all posts from third category)

    What php code do I need to use to target these specific categories?

    Thanks in advance!

  • The topic ‘Targeting Specific Blog Categories’ is closed to new replies.