Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

[Resolved] Featured Image Size in Blog / Comments off

Home Forums Support [Resolved] Featured Image Size in Blog / Comments off

Home Forums Support Featured Image Size in Blog / Comments off

  • This topic has 12 replies, 2 voices, and was last updated 5 years ago by Tom.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #239735
    PRParcours

    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.

    Blogpost

    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.

    Blogpost Full Size Image

    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?

    #239737
    PRParcours

    Here are some screenshots to illustrate the problem.

    Blog Teaser

    Featured image way too big

    Many thanks in advance, PRParcours

    #239792
    Tom
    Lead Developer
    Lead Developer

    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/

    #239798
    PRParcours

    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 400×300 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

    #239883
    Tom
    Lead Developer
    Lead Developer

    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?

    #239919
    PRParcours

    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.

    #239963
    Tom
    Lead Developer
    Lead Developer

    Can you show me a page where it’s displaying?

    #240005
    PRParcours

    Sure, please check out our site:

    HdM Praktisch

    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!

    #240080
    Tom
    Lead Developer
    Lead Developer

    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.

    #240082
    PRParcours

    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!

    #240093
    Tom
    Lead Developer
    Lead Developer

    Awesome! WP Show Posts doesn’t even display the comments link, yet.. When it does there will be an option to remove it πŸ™‚

    Thanks!

    #240113
    PRParcours

    Problem solved, you were completely right. The other plugin led to the conflict. Your Plugin WP Show posts works excellent. Many thanks!

    Problem solved πŸ™‚

    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 !!

    #240118
    Tom
    Lead Developer
    Lead Developer

    You’d have to use CSS to make those changes, but WPSP Pro will have those options soon as well πŸ™‚

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.