Archived topic
Show wp posts
9 replies · Started by Sergei on December 13, 2018
Hey! Start using show wp post in home static page. When i add shortcode in the main home page then not showing homepage background image which is enabled through featured image. So, i just wanna make standart home page with news from my blog page. And better can be if i can make it with sections. And any chance to remove Next/Previous names from pagination? Thanks!
Hi there,
Sorry what is the issue? That the featured image isn't showing?
Let me know :)
Hmm it should have nothing to do with WP Show Posts.
I see that you are using Sections, it automatically removes the featured image by default.
You can add it manually to the first section though.
Try this CSS to remove next and previous:
.wpsp-load-more a.prev.page-numbers,
.wpsp-load-more a.next.page-numbers {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
How to add that featured image in first section, i before add it, but on mobile device looks weird.
wp-show-posts a.prev.page-numbers, wp-show-posts a.next.page-numbers {
display: none;
}
Doesn't work for me.
Hi there,
have you tried creating a header element, and set the Display Rules to Front Page:
https://docs.generatepress.com/article/header-element-overview/
David, i try this method but unfortunately without resaults.
You can just add the featured image using <img> in the first section.
Also edited the CSS above:
https://generatepress.com/forums/topic/show-wp-posts/#post-755989
Done with featured image. And with next/previous css is possible to leave only arrows? Now i got only 1|2 pages. And one more small question about pages. When i use wp show post second page, then shows like that. How can i disable this option?
Not possible to keep the error I don't think.
Can you use WP Show Posts forum for its questions as it's a separate plugin?
https://wordpress.org/support/plugin/wp-show-posts
Thanks!