• I’m trying to get some help for my site brewinreview.com

    Firstly, I’m using the PR Pin theme.

    If I set a featured image for the post, the featured image appears at the top of the post as well as within the post. This can be seen here and here.

    I’ve gone through these forums and Googled my brains out to try and figure out how to prevent the featured image from presenting at the top of the post and none of the fixes seem to work. Some sort of custom CSS would be preferable, but any other work arounds are welcome ??

    I don’t want to remove the featured image because some plugins I’d like to use rely on them to display thumbnails, so I’d like all posts to have a featured image eventually.

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter Brewinreview

    (@brewinreview)

    I think I figured it out!

    In the content.php file, there is this block of code:

    <div class="container">
    	<div id="content">
    		<div class="row">
    		<?php prpin_get_sidebar_single('left'); ?>
    			<div class="<?php echo prpin_get_contentspan(); ?>">
    					<?php while (have_posts()) : the_post(); ?>
    					<div id="post-<?php the_ID(); ?>" <?php post_class('post-wrapper'); ?>>
    					<?php the_title( '<div class="h1-wrapper"><h1>', '</h1></div>' ); ?>
                          <?php  if ( has_post_thumbnail() ) {
    					the_post_thumbnail('large', array('class' => 'img-responsive'));
    		      	              }  ?>
    						<div class="post-content">
    							<?php	the_content();	?>
    						<?php		wp_link_pages( array( 'before' => '<p><strong>' . __('Pages:', 'prpin') . '</strong>', 'after' => '</p>' ) );	?>

    I got rid of:

    <?php  if ( has_post_thumbnail() ) {
    					the_post_thumbnail('large', array('class' => 'img-responsive'));
    		      	              }  ?>

    So question – this has removed the featured image from the top of the post, but would there be any undesired side effects?

Viewing 1 replies (of 1 total)
  • The topic ‘PR Pin theme remove featured image from top of post’ is closed to new replies.