• Resolved cnotes11

    (@cnotes11)


    I am trying to get posts categorized “blog” to show up on the “blog” page on my site. I have googled and seen this question asked/answered before. Watched youtube tutorials.

    Followed precisely the instructions and still posts will not populate on the correct page. I have checked the links and slugs and as far as I can tell they are matched correctly.

    Frustrating to be stuck on something that should be so simple. Can anyone help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Are you wanting ONLY posts with assigned category of blog to show up on the Blog page? Is Blog page set to show posts in WordPress > Settings > reading?

    Thread Starter cnotes11

    (@cnotes11)

    Yes, I want all pages on the site to be static except for the blog page where new content can be added.

    I’m not sure what you mean. When I go to settings > reading all I see are options for what my front page displays and the number of posts a blog page would show?

    If you could clarify I’d really appreciate it

    So do you have your front page set to show a static front page or the blog?

    In any case, you’d need to modify the loop if you ONLY want posts in the category blog to show up on the blog index.

    Thread Starter cnotes11

    (@cnotes11)

    Yes, my front page is set to show a static page.

    Right, how do I ‘modify the loop”?

    Something like

    $query = new WP_Query( array( 'category_name' => 'blog' ) );

    Thread Starter cnotes11

    (@cnotes11)

    If its not obvious already… I am a complete beginner. What you wrote doesnt make sense to me. Where exactly would I add “$query = new WP_Query( array( ‘category_name’ => ‘blog’ ) )”

    I need things really dumded down. Thanks for your patience.

    Thread Starter cnotes11

    (@cnotes11)

    I figured out the problem on my own, thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Getting posts onto a specific page’ is closed to new replies.