Dear Sirs,
Please, i′m trying to change the featured image for pages, in specific the home page.
I have used a filter of generatepress that is working at categories, author, search, etc, but at page i can′t make work..
This filter:
function change_featured_image_default_size() {
if (is_category() || is_author() || is_tag() || is_search()) {
if (!wp_is_mobile()){
return '750x400px';
}
if (wp_is_mobile()){
return '370x200px';
}
}
}
add_filter('generate_page_header_default_size', 'change_featured_image_default_size');
When i try to do it for home page:
if (is_page( '83717' )) {
if (!wp_is_mobile()){
return '750x400px';
}
if(wp_is_mobile()){
return '370x200px';
}
}
It doesn′t work… it presents the biggest image (full)
For the home page i′m using WP Show Posts…
Regards,
Tony
]]>I just noticed that my Apache/PHP error log is loaded with these messages: PHP Warning: Constant WPSP_VERSION already defined in .../wp-content/plugins/wp-show-posts/wp-show-posts.php on line 20'
I’d fix it myself, but the next update would likely revert my change, so I though I’d give you folks a crack at it first.
]]>Good afternoon, I currently use this plugin to create a sidebar, I have also done it with the WordPress widgets and they are displayed perfectly as I request them, the problem is that they cannot be ordered randomly.
Therefore I have used your plugin to put the sidebar on my website, but the images appear small, even changing the configuration size they always remain the same.
I’m using free version and added the shortcode to shpw blog post fee on the homepage but the Blog post titles only show when hovering over them. I don’t see an option in the cofigs sand adding CSS did not work either. Is this a bug? I’m using Generate Press Theme by the same author. Please advise.
Thanks
I want to stop WPSP from changing the file name of images that are displayed through the site. Basically, the images are changed from example.jpg to example-385×256.jpg when displayed on the homepage and other places, but not on the post itself. I want to stop this feature. The reason for doing this is that all addblockers don’t display images with added dimensions to the filename seeing them as ads.
]]>Hi,
in “taxonomie” are only shown categorys with one public post at least.
Also a “WP Show Post” later lose the selected category with no public post. So a new post is published in this category doesn’t displayed.
Any idea?
Jens
I’m unable to work out how to do it, If I click the drop down for taxonomy it’s blank……I have about 20 categories on my website ie Tauranga, Auckland, Taupo (cities in New Zealand) and on each of those pages I’d like to only show the posts that are related to those cities.
I have over 400 tags so I’m unsure if the plugin is failing because theirs so many, and I don’t see any place just to create a new wp show post and type in a category.
As their are over 20 different categories and pages, I’d prefer not to have to add code to the functions.php
Am I missing something obvious?
[wp_show_posts id=”54838″]
[wp_show_posts id=”54838″ taxonomy=”tauranga”] (that didn’t work, just showed all the posts
Hi,
Please guide me that how can show feature image in post. I checked/unchecked image option in plugin setting. But nothing happened.
]]>I have the normal view in WPSP Columns = 3 and in mobile view it sawn in 1 column.
Exists any configuration for mobile view to set 2 or 3 columns?
]]>Hi guys. I use plugin wp-show-posts. But today it dont show images. please support me. tks all
link image: https://prnt.sc/DIEVxXtIzrV0
]]>If I display the posts of a category on one page with the shortcode, only one error results: The topmost, most recent post throws, so to speak, the pagination of the headings and the body text out of order, so the text has no more line breaks and paragraphs. I can’t use this for my website.
]]>Hello,
I’m using GeneratePress and GP Premium on a new site. Is there a feature built into the theme or plugin that is similar to WP Show Posts?
Your help is appreciated!
]]>How can I add ‘Read more’ in the text after the last sentence?
So no button and not shown on a new line, but following after the last word.
Thanks for your help,
Yolanda
I have installed this plugin on a couple of websites, and this error is endlessly appearing:
PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/wp-show-posts/inc/image-resizer.php on line 121
PHP Warning: Trying to access array offset on value of type bool in /wp-content/plugins/wp-show-posts/inc/image-resizer.php on line 122
These sites are using WP 6.1.1 and still use widgets, and I cannot use GenerateBlocks at all to see if the problem is resolved there.
]]>I have some posts I wish to display using this plugin but I need to show the contents of the custom fields too.
How is that possible?
]]>I have several doubts because it does not work for me, I have about 14 entries created. Those posts are created with their category which is the same for all. I put the short code in a text block in the HTML part, I have it in WP Bakery, when I paste it and update I don’t get any entry. I get a reflected message that says: no publications have been found, what will it be? Thank you
]]>Hi, in addition to showing the categories, is it possible to also show some sub-categories connected to a main category?
]]>What appears to be CSS code is appearing at the top of the content generated by the plugin shortcode. Besides that it is perfect. I tried to use CSS to “display: none” but that wipes out my text. Any ideas?
The CSS appears:
.wp-show-posts-columns#wpsp-3287 {margin-left: -2em; }.wp-show-posts-columns#wpsp-3287 .wp-show-posts-inner {margin: 0 0 2em 2em; }
Hi
First of all – Your plugin is really great. I tried on my own but I failed, I also asked ChatGPT, but he also failed, he acctualy sent me here…
So I need to add number before every post title 1,2,3. How can I change the code to achive that ?
Thanks
Zecke
]]>WPSP’s pagination feature is showing the correct number of pages, and direction to /page-2, but each page of results is showing the first set of posts.
I tried re-saving the permalink structure, and removing all plugins and the theme, no change. I tried a vanilla install with just WPSP, and it’s happening there as well.
Using WPSP Version 1.1.4, and WP Version 6.1.1
Hi!
I’m using a custom post type for a client’s “Team” page and WP Show Posts to display all team members. It’s almost perfect! I need to display their position in the grid, too, though. Is there a way to do that? I’m using ACF for the custom post type fields — “team-position” is the ACF field name. It’s a standard text field. I’d like to display their position below their name.
I tried to search for a solution but wasn’t able to find what I was looking for. We’re also using the GeneratePress theme (plus premium plugin, if that helps!
]]>The diacritics are showing ? instead, for characters like ?a?.
Used to work before, I think it’s a conflict with a newer version of WP or GP.
]]>hi there,
i am a bit confused about what would be best practice.
let’s say i’m creating a “football” website
and i’m sectioning off the homepage with
some text
a wp show posts list
then a hr
then repeating that
what i want to know is do the article titles have to be h2’s or can they be anything?
i’ve made the section title a h2 and the post title a p
i’ve included a image to illustrate what i’m trying to do
]]>Hi,
I updated the theme and all of a sudden “wp show post” is showing the “featured image” on the home page instead of the first image of the post. Is there a way to show the first image of the post?
Please advise!
]]>Hey.
I just updated an entire website to the latest versions (wp-core & plugins) and some strange things started happening, when I want to edit a page, product or other posttypes. The url seems ok with the post-ID and all, but the editor shows some others id content.
So I deactivate all plugins step-by-step and it just happens when wp-show-post was active. After some research I found this related topic in a gutenberg issue. The topic is close to my problem and I was wondering, if this plugin needs an update, because it seems “…to be related to posts with shortcodes that query other post content”.
Hope this helps with debugging.
Regardless, I′ll be rebuilding the content with the GenerateBlocks Query Loop soon anyway. Love your work and also work with it nearly every day. So keep it up and thanks for all. ??
]]>Hi,
I’d like to prevent creation and delete the existing posts-by-author-page (/author/user_name). I’m assuming that it’s created by WP Show Posts.
I’m currently using GeneratePress, GenerateBlocks, and WP Show Posts.
I’m not all that skilled, so very basic instructions would be a big help. I’d like to keep the posts on the main page (with the shortcode link),but remove the posts-by-author page.
Thanks for your time.
Paul
]]>Hi,
I just found the post here about setting up the plugin to query multiple post types and did it successfully — just to find that this plugin is being merged with Generate Blocks. I have Generate Blocks installed (I cannot yet post in the community forum for that plugin however as I need to have manual approval) but want to know if there’s a way to use the query loop there to pull from multiple post types similar to what I’ve done with this plugin.
Thanks
Cheryl
Hello,
Can you please provide me code to remove creativework schema ?
]]>I try to use Taxonomy but it’s not working. How to solve this?
Check this: https://www.awesomescreenshot.com/video/10948858?key=53c68e637b6d33192e041088255ba9a0
]]>Good day,
I would like to use the “more posts” display plugin under the articles. The problem is that I have 2 languages ??on the site. How to insert 2 shortcodes to show “more posts” for that language in each language?
Is it possible to insert 2 shortcodes into one single.php file so that the correct languages ??are displayed?
]]>