BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Post Featured Images

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #33902

    Anonymous
    @

    I’ve seen some old posts regarding the lack of featured images on posts. I’ve added the following to the content.php file in my child theme:

    <?php if ( has_post_thumbnail() ) : ?>
    				<a class="entry-post-thumbnail" href="<?php the_permalink(); ?>">
    			       <?php the_post_thumbnail('large'); ?>
    				</a>
    			       <?php endif; ?>

    No luck. Is still an issue with default posts or might something else be afoot?

    Thanks

    Answers

    #33907

    Alyssa
    Participant
    @alyssa-buddyboss

    @scotm19 that text needs to go anywhere between lines 18-23 of content.php though you will probably need to add some CSS to get it to align right for your site.

    #33922

    Anonymous
    @

    TJ

    Ok, working now, though the thumbnail sizes are a bit messed up. For single posts I’ve changed that code to show ‘full’ size but they’re showing up as small thumbnails. Thoughts?

    #33927

    Alyssa
    Participant
    @alyssa-buddyboss

    @scotm19 ‘full’ will show the original file resolution my only suggestion is that the image used was small when uploaded. Here is to WP codex for reference: http://codex.wordpress.org/Function_Reference/the_post_thumbnail

    #33928

    Anonymous
    @

    No that’s not the case. I have 720px wide images I was using in a different theme that should fit nicely with BB. May be a cache issue for now.

    #33930

    Alyssa
    Participant
    @alyssa-buddyboss

    @scotm19 it is possible the other theme changed the full size image and it would require reuploading the photo with BuddyBoss enabled. Let me know what you find out.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Post Featured Images’ is closed to new replies.