Site logo

Archived topic

Second Blog Post Page For Category Specific Posts

9 replies · Started by Ian on January 8, 2021

Viewing posts 1–10 of 10

Hello
Please can you tell me how I can have a second blog post page to display category specific posts.
I am not after anything fancy, all I would like is to display the whole posts, one after another with the sidebars etc set as per the customizer settings...
Thank you for all your time and help.
Ian

Hi there,

you just need to create a menu item link to one of your category archives - you will find them under Categories in Dashboard > Appearance > Menus.

Hi
Thank you for your response.
I have done that for parts of the website and it's a great function.
However, I really need it to be on a 'page' not a category (sorry!), e.g. through a snippet or something similar.
This is because I use the main the blog page and subsequent categories through menu links, but need something more akin to a separate blog page for a specific category that would allow a some bespoke design around it, as it needs to visually look different.
A example (albeit more advanced than what I need to achieve) would be this (under the "Live Reporting" title... https://www.bbc.co.uk/news/live/world-55584456)
Thank you again
Ian

To create a Category Static Page you would need a plugin like WP Show Posts:

https://en-gb.wordpress.org/plugins/wp-show-posts/

You can create a new WPSP list for your specific category, it will provide a shortcode that you can then add to your static page :)

Hi
That is awesome thank you!
Just one question... sorry
Is there any way that I can get a solid line between posts?
I am using this code, but it only puts a line at the bottom of the last post, not between each one.
.wp-show-posts {
border-bottom: 1px solid black;
}
Thank you again for all your time and help,
Ian

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

HI Leo
Thank you for getting back to me...
I have put a link in the private information field.
Thank you again.
Ian

Try this CSS:

.wp-show-posts-single {
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

That worked beautifully.
Thank you!
Ian

You're welcome

This archived topic is closed to new replies.