- This topic has 3 replies, 3 voices, and was last updated 2 months ago by David.
November 26, 2021 at 9:26 am #2024326vanh
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 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.November 26, 2021 at 5:23 pm #2025248LeoStaffCustomer Support
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:
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:
Thanks for your understanding 🙂November 27, 2021 at 2:27 am #2025813vanh
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.November 27, 2021 at 6:52 am #2026110DavidStaffCustomer Support
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:
- You must be logged in to reply to this topic.