[Support request] How to custom category archive page?

Home Forums Support [Support request] How to custom category archive page?

Home Forums Support How to custom category archive page?

  • This topic has 3 replies, 3 voices, and was last updated 2 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2024326
    vanh

    Hello there,
    The default wordpress category page is not editable. I want to edit my category page as follows:

    In my category page:
    >> The first will be the 5 most popular articles. These 5 articles are optional at my disposal. It looks like in photo https://pasteboard.co/gzwTFrEFswHG.jpg ( I took pictures from Link : https://healthykitchen101.com/topics/juicers/ )

    >> Next will be the list of sub-category. It looks like in photo https://pasteboard.co/Y68qvsz3zWrS.jpg (I took pictures from Link: https://healthykitchen101.com/)

    >> Next will be Latest articles, displaying 15 articles, at the end there is a “Read more” button to display the next 15 articles, until all articles are displayed. It looks like in photo https://pasteboard.co/AXvFrgMa9R7l.jpg ( I took pictures from Link : https://healthykitchen101.com/topics/juicers/ )

    Please help me how can I create the category page as I want above? I don’t know the code…, and I want this customization to be unaffected if a new version of Generatepress is later upgraded.
    Please help me. Thanks you.

    #2025248
    Leo
    Staff
    Customer Support

    Hi there,

    Unfortunately we are unable to provide a full custom solution like this here.

    As you’ve mentioned, the default category page cannot be edited like a normal static page.

    Therefore, you will need to create a static page with the help of a plugin like WP Show Posts to display your posts:
    https://wordpress.org/support/plugin/wp-show-posts/

    It will require some extensive custom CSS to replicate the examples you’ve provided though.

    If you are not comfortable with custom coding and this is an absolutely requirement for your site, then I’d recommend hiring a developer using a service Codeable suggested at the bottom of this page:
    https://generatepress.com/what-support-includes/

    Thanks for your understanding 🙂

    #2025813
    vanh

    Thank for your answer,
    I have read other threads in this forum. Some solutions are: Create 1 page then 301 redirect from category page. Or change the CSS part….
    Now if I edit the code it won’t be able to update generatepress. If I update, I will have to edit the code again from the beginning, right?
    So please try to give me a best solution (without prioritizing code). My website will do the silo structure, so I need to change the category page to match.
    Please help me. Thanks a lot.

    #2026110
    David
    Staff
    Customer Support

    Hi there,

    you should never make edits to the Theme files. And there is no reason why you should have to.

    If you’re adding templates or functions.php then add a child theme:

    https://docs.generatepress.com/article/using-child-theme/

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