Archived topic
Featured Image Size in Blog / Comments off
12 replies · Started by PRParcours on October 28, 2016
Dear Tom,
great theme, thank you! We are using the premium plugin.
1) Size of featured image in Blog
We are using featured images in the blog section.
However, they always appear in full size on the blog site (full size, no sidebar) The Blog Plugin was set to auto and I also have tried to change the size of the image. No effects unfortunately.
2) Comments are always displayed with 0, although we turned off the discussion function. Any idea how to turn off the comments section as default?
Here are some screenshots to illustrate the problem.
Many thanks in advance, PRParcours
Hi there,
The post image sizing in the Customizer only applies to the featured images on the actual blog page.
The single post featured image shows fully.
Are you wanting it to be the same small square floating to the left?
As for the comments, this should help: https://generatepress.com/knowledgebase/removing-comments/
Hi Tom,
thanks for the fast reply:
1) Images
Are you wanting it to be the same small square floating to the left?
Not that small but no full-size image either. Something medium sized like 400x300 pix.
2) Comments: tried both before, in the general setttings area and also with the disable comments plugin but with no success. Maybe there is an override code somewhere.
Many thanks! Best, PRParcours
You could try something like this:
add_filter( 'generate_page_header_default_size','tu_single_featured_image_size' );
function tu_single_featured_image_size()
{
if ( is_single() )
return 'medium';
return 'full';
}
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Have you checked the settings for the individual pages under "Quick Edit" to see if comments are turned on?
Tom, excellent: the code snippet did the trick with the featured image. Thank you so much!
As for comments: still stuck here. Pages are fine, the comment counter only refers to the blog entries.
In the plugin / theme options "Comments" are disabled.
Comments are closed via the wordpress settings and only possible for registered users (basically I have disabled everything in the comments section but the counter "0 comments" still appears...
Again, thanks for the gerat work and the fabulous theme.
Can you show me a page where it's displaying?
Sure, please check out our site:
We are using generate press plus premium plugin. I tried the plugin "disable comments" put the counter still counts down on each blog entry. Thank you!
It looks like you're using a plugin of some sort to display those posts.
You'd have to ask the plugin author if there's an easy way to remove the link to the comments.
Many thanks, Tom.
We are using the Ultimate Shortcodes plugin to display the posts based upon categories. But we will switch to your plugin WP Show Posts which looks like a better option for solving this problem. So we will keep it in the family ;-).
Again, thanks and kudos for you work!
Awesome! WP Show Posts doesn't even display the comments link, yet.. When it does there will be an option to remove it :)
Thanks!
Problem solved, you were completely right. The other plugin led to the conflict. Your Plugin WP Show posts works excellent. Many thanks!
Small follow-up question: is ist possible to change the color of the "more text" (mehr lesen) box, e.g. get rid of the black border, fill it green and make the text white? And make the headline a bit smaller, e.g. H2 oder H3?
Otherwise just brilliant work and outstanding customer support !!
You'd have to use CSS to make those changes, but WPSP Pro will have those options soon as well :)