Archived topic
Setting Page Categories
1 reply · Started by Ella on June 14, 2021
Hi there! I'm new to GeneratePress and just setting up my website. I'm using the Dispatch blog theme to migrate my site over. I'm trying to edit the homepage, to change the blog posts that are displayed, but I'm coming up stuck.
The homepage code for posts is currently:
[wp_show_posts name="Standard"]
A Category
[wp_show_posts name="Align"]
More Articles
[wp_show_posts name="Simple"]
MY QUESTIONS:
1. How do you set a post name? Where do I find these? And how do you select which posts go under that post name to be displayed?
2. How do I set a category of posts to show up here instead?
3. How do I change how many posts are displayed on the homepage (and do you have a recommended limit for how many should be shown or does more not necessarily slow it down?)
4. If I set a category to be displayed and promoted on the homepage, how do I add in a "Read more" button so that they can click to see all articles in that category please?
Thanks so much for your help!
All the best,
Ella
Hi Ella,
For question 1, Dispatch is using WP SHOW POSTS to list the posts, you can find the settings in the plugin itself. The order of the posts on the homepage is automatically generated by date.
For question 2, you can create a list in WP SHOW POSTS, and replace the existing shortcode.
For question 3, it's a setting in WP SHOW POSTS, and yes, too many posts are shown will slow the site down.
For question 4, you can create a button on the homepage before the list's shortcode, and manually link it to the category archive URL.
You can find the documentation of WP SHOW POSTS here:
https://docs.wpshowposts.com/
Let me know if you need further assistance :)