• I’m having a little trouble with WordPress archives, or more accurately, trying to create a custom one.

    I’m making a custom theme for a client, and they specified that they want three items from each category (in this case, News (the default post type) and reviews (a custom post type)) to be present on the homepage.

    Now that was the easy part (two loops on the homepage, wp_query 3 posts per page), however they want the user to be able to click on a button, in order to view all of the posts of that specific type (rather than by category).

    This is my theme, currently:

    https://i.stack.imgur.com/tFVq8.jpg

    However I have no idea how i’d even approach this.

    I understand I can make a custom page-template and apply it to a page, but realistically I’d like to make something that’s packaged within the theme and works “straight out of the box”, as it were, so the client doesn’t have to make the page himself in order to make it work.

    Thanks in advance for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Link to an archive page that displays all posts’ is closed to new replies.