Only Show Posts of a Certain Category on a Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • #14758
    joshdelph
    Participant

    Hello!

    I have posted about this before and have yet to really find out a solution for my issue, so I am hoping someone can help me with this.

    I need to create a template for a page that only shows posts marked with a specific category. I have tracked down the code to insert into the template. However, if I add the markup to the template (or make any changes for that matter) the page no longer uses infinite scroll and the posts don’t tile correctly.

    I need to get this fixed as I need to create pages with books/book reviews broken out into categories based on their themes. I was going to do this by creating a new template based on the existing template I want to use for the layout, but change the name to align with the category. I really can’t believe this should be this difficult and I am a little irritated at the complete lack of documentation for this theme.

    If there is a better them to do this, I would be open to those suggestions as well.

    Thank you to everyone in advance.

    The URL is http://www.wesleyanwomen.com/?page-id=23

    The only thing I changed on the template applied to this page as it currently stands is the name of the template enclosed in the comment at the top of the page and it completely broke the layout.

    I wonder if there is some file which tells the site which templates to use infinite scroll and the tight tiling layout script.

    Thanks again!

    -Josh

    #14761
    angeldust02
    Participant

    Hello Josh,

    I’m not quite sure if I’m understand your question correctly, but from what I understand, you want to create a page with a specific category right?

    Under Appearance, go to Menus.

    In Menus, on the left side, you have Theme Locations. Under that you have Custom Links, Pages, and Categories.

    Under the Categories, you should have the “Category” you want to include as a page.

    So all you’ll have to do is click that specific category and “Add to Menu”.

    That’s it!

    Hope this helped.

    #14772
    joshdelph
    Participant

    THANK YOU!!!

    That is exactly what I was looking for. When I saw answers to this before, it included going into the templates and changing them and all sorts of stuff. I can’t believe it was this easy.

    I do have have one more quick question for you. How do I apply the 4-column blog layout to the pages that are dynamically created from the categories?

    Thanks!

    -Josh

    #14783
    angeldust02
    Participant

    I’m sorry, but I think you’d have to start a new post about this. I have no idea how to achieve that effect. I’m also trying to figure out how to have a category page display as grid format (2-3 columns).

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.