BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Plugin conflict – featured image

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

    #32322
    @milena

    Hi @tjchester,

    I have bought this new plugin to give me the functionality of user submitted project gallery.
    It uses custom posts, and uploads the images to a type of posts. Problem is I cannot see the images in the posts, and I am suspecting it has to do with the theme’s featured images settings. I think they need to be changed to “show featured image”. I searched the forum and wordpress and found something but I don’t understand what (and where in ftp) to change exactly.

    Answers

    #32355
    @milena

    @tjchester I found this answer by you in one of the previous threads

    we have not utilized featured images on pages in BuddyBoss. We also do not utilize them in posts themselves, just as the featured image. You can add these into the page templates easily using the standard WP format here: http://codex.wordpress.org/Function_Reference/the_post_thumbnail

    I guess this is what I need , but I don’t understand the WP instructions.

    #32433

    Alyssa
    Participant
    @alyssa-buddyboss

    @milena you need to enter this code into the content.php file where you want the thumbnail to show up, you will most likely need to do somekind of formatting to format the text around the image, and possibly adding padding to the image to the text isn’t right up against it

    See post here: https://www.buddyboss.com/support-forums/topic/featured-images-missing/

    #32531
    @milena

    Hi @tjchester, thank you. I did that – but the image appears small, a thumbnail size, even if the setting is ‘full’. Is there a way to make it appear in the post in it’s original size? Or do i have to change the thumbnail size everywhere in the site to achieve that?

    #32532
    @milena
    <?php if ( has_post_thumbnail() ) : ?>
    				<a class="entry-post-thumbnail" href="<?php the_permalink(); ?>">
    					<?php the_post_thumbnail('full'); ?>
    				</a>
    			<?php endif; ?>
    #32546

    Alyssa
    Participant
    @alyssa-buddyboss

    @milena do you have a link to the page so I can check if there is a CSS conflict?

    #32755
    @milena

    Hi TJ.

    first I pm-ed you a link.
    second I found this in wp-rtl-css

    .entry-post-thumbnail img {
    float: right;
    width: 150px;
    hight: 150px;

    }

    I removed the sizing. It’s a good size now (!)

    But the image moved the meta text to the left. So I inserted the code you gave after this part :

    `<!– Title –>
    <header class=”entry-header”>

    <!– Single blog post –>
    <?php if ( is_single() ) : ?>

    <h1 class=”entry-title”><?php the_title(); ?></h1>

    <div class=”entry-meta”>

    <?php buddyboss_entry_meta(); ?>
    <!– reply link –>
    <?php if ( comments_open() ) : ?>
    <span class=”comments-link”>
    <?php comments_popup_link( ‘<span class=”leave-reply”>’ . __( ‘Leave a reply’, ‘buddyboss’ ) . ‘</span>’, __( ‘1 Reply’, ‘buddyboss’ ), __( ‘% Replies’, ‘buddyboss’ ) ); ?>
    </span><!– .comments-link –>
    <?php endif; // comments_open() ?>

    </div><!– .entry-meta –>`

    All good now!

    Thank you :))
    `

    #32794

    Alyssa
    Participant
    @alyssa-buddyboss

    Ha, I just posted something similar on another thread 🙂 Glad you were able to resolve it.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Plugin conflict – featured image’ is closed to new replies.