Custom Category Page
-
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/newseventsFor 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.
- The topic ‘Custom Category Page’ is closed to new replies.