• Hi all,

    I am building a site for a friend, based on his design & he wanted the blog page to function as a news page broken up by months.I built the page using this archival example by wordpress guy: https://wpguy.com/articles/an-archives-page-with-all-the-posts-in-cronological-order/

    You can see the finished page here (login: test, password: test):
    https://confitdesign.com/test/backpackerlove/newsevents

    For the main archival pages (category, author, tags) he would like a similar layout with the posts being organized within their categories by date, broken up by month.

    I am not quite sure whether this is possible as the example above uses get_posts to pull all the posts in for the main news page. If I re-use this for the category.php page, I pull in every posts or I can limit it to pull in posts from certain categories, however I want to use category.php to pull in just the category that the user has clicked on.

    Is their anyway to achieve this within the loop?

    I have posted a link to my main news page below code below

    https://wordpress.pastebin.ca/1946787

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter jrkellew

    (@jrkellew)

    Anyone have any ideas on how to do this?

    I really can’t think of how to do this unless I modify the main loop to break posts up by month as displayed on the news/events page above.

    I have no problem with doing this as he wants the same layout for the main news page as well as all the archival pages, however, I am not sure if this is possible…any suggestions?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Category Page’ is closed to new replies.