Archived topic
Contained design as in blog page not possible with WP Show Posts
3 replies · Started by gika on April 24, 2021
I like the contained design on blog pages and archive pages, because it looks like white "tiles" on another background colour.
But as I want to build a magazine page, I cannot just use the normal blog page as front page, because I want the posts shown by categories and not just sorted by date, and also I want to add things on the front page that I cannot add with "elements".
If I sort my posts by using the WP Show Posts plugin on a page, there is just one container. When you click on a tag or category you see the different containers again. Of course I want the design to be consistent.
Is there any other option for a magazine page besides WP Show Post?
I bought Generate Press a few months ago because I liked the blog page options not knowing that you could't use them more flexible for magazine pages.
I always end up with the same problem. All the other features are great.
A Magazine Front Page would be sth like:
Featured Posts
About/Intro
Posts from category a (with title of category)
Posts from category b (with title of category)
Posts from category c (with title of category)
Embeds from Insta/Twitter/whatever
I know that there is a Pro Version for WP Show Posts but it doesn't look as if it could help and I am still a bit disappointed that I have use that at all (I don't like that tool to be honest) as I already paid for Generate Press Pro.
Thanks a lot for your support!
Hi Gika,
We introduce the dynamic content feature to the Element of GP Premium 2.0, you can use Generateblocks to build content templates for your blog/archives/single posts, etc.
https://wordpress.org/plugins/generateblocks/
Here're some tutorial videos on how to build content template:
https://www.youtube.com/watch?v=-ZTQP_KA2xE&t=26s&ab_channel=GeneratePress
And how to use multiple content templates if you want different templates for different archives.
https://www.youtube.com/watch?v=8byA37OTBRg&ab_channel=GeneratePress
Hope that helps :)
Hi Ying,
thanks a lot for your quick answer! Unfortunately it doesn't help. I fear you didn't understand my question.
I don't want to change the blog design. I like it the way it is, but I cannot use it on my front page, as I want it to be a magazine page and not just a chronologically blog page. And that does't work.
The normal default blog page is not only missing the title "blog". You also can only show ALL posts chronologically. I want it to be a magazine page like this:
Page title
3 Featured Posts
Title of category A
3 newest posts of category A
Title of category B
3 newest posts of category B
Title of category C
3 newest posts of category C
And so on. This is just an example. It should look the same as the archive pages.
But when I use the WP Posts plugin there is only ONE container for title and all posts together. And I wanted to use the contained design that I chose in the customizer. (Layout -> Container -> Inhaltslayout -> Container voneinander absetzen)
I tried to build it with Generate Blocks, but that costs hours of sth. that you actually already adjusted in the customizer. This is how far I got there:
For every single category I have to use the WP shortcode within a container within another container (and some spacing).
I added
.wp-show-posts-inner {
background-color: #ffffff;
border-color: *color of body background*;
padding: 30px;
margin: 0 0 20px 20px !important;
}
So there are three problems:
I am actually not a coder.
It only works with !important (isn't that a no-go?)
It is very confusing and not easy to change things. It is the opposite of the very sexy customizer that made me buy Generate Press.
It really would be a great new feature for further versions of GP. What do all the others do with that problem? If you have a news page you don't just mix e.g. sports, politics and news for children, you want it sorted, and with WP Show Posts you have to do ALL the design that you already adjusted in the customizer again with CSS and a lot of different encapsulated boxes manually.
Another question: GP 2.0 mentioned in the tutorials is beta. Do you already have a release date for the not beta version?
Thanks again for your help!
I understand your question now :)
You could link us to your site in question, and give us the example layout you are looking for, we can help you with CSS solutions. Afterall WP show posts is an independent product, it's not only be used by GP users, and it's not a part of GP, they are two completely different products.
GPP 2.0 official release will be within 2 weeks hopefully.