[Support request] Custom category page

Home Forums Support [Support request] Custom category page

Home Forums Support Custom category page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #894184
    ville

    I am trying to achieve custom category pages. Lets say I have a category about shoes. I have three different types of shoes: red, black and aquamarine.

    mysite.com/shoes/red
    mysite.com/shoes/black
    mysite.com/shoes/aquamarine

    and accordingly the breadcrumb would be home -> shoes -> red. And so on.

    Instead of mysite.com/shoes/ category page showing the archive for the above-mentioned three posts, I would want to create it as a custom page. The page would have different elements, such as images, CTAs, table and what not, so the traditional category archive would not work.

    It sounds like a straight-forward and common use case, but I have not been able to find a way to do it! I believe these three support posts are closely related to what I mean:

    https://generatepress.com/forums/topic/custom-design-for-your-category-pages/
    https://generatepress.com/forums/topic/replace-default-post-category-template-with-a-blank-page-template/
    https://generatepress.com/forums/topic/customize-category-pages/

    Thank you very much in advance!

    #894337
    Leo
    Staff
    Customer Support

    Hi there,

    I would say try creating a CPT called Shoes, then you can create 3 static pages under it called red, black, and aquamarine.

    Then you can add the desired elements to each of those pages, then use WP Show Posts to show the posts of each of those categories:
    https://wordpress.org/plugins/wp-show-posts/

    I used the same idea for this site: https://leohsiang.com/vacation/

    The CPT in my case is called Accommodations.

    Let me know if this helps 🙂

    #894436
    ville

    Hi,

    Thank you for your quick reply!

    I think that might actually work! In your example it seems to work too, however, I cant see the “accommodations” page itself, but I think this is just a decision by you not to have that particular page? I imagine you could customize that “accommodations” page to your liking if you would choose to have it?

    Thanks again

    #894447
    Leo
    Staff
    Customer Support

    Hmm no. Accommodations is a CPT so it cannot be customized like that.

    Might be good to do a little bit of reading on CPT and see how they work.

    That being said, you could just create a new static page called Accommodations as well.

    #894836
    ville

    So to achieve what I am after I could create the CPT for those three pages, and then one static page called shoes?

    Would that static page work as the category page then? breadcrumbs leading to it etc?

    Or what would you suggest to do to achieve that set up?

    #895515
    Leo
    Staff
    Customer Support

    I think that should work.

    Give it a shot first?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.