• I’d very much like to delete the featured image that shows up on top of the actual post page. It’s the feature pic I chose to be the preview pic for the homepage. I love the picture, but that picture is already within the post content, so there is no need for it appear above the post as well.

    Do you guys know any plug in that can help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • not usually done with a plugin.

    delete the featured image that shows up on top of the actual post page

    generally, look into single.php of your theme for any code related to the_post_thumbnail() or similar;

    details will be theme specific – please post the name and download link of your theme.

    Thread Starter lucho.ar

    (@luchoar)

    It’s a premium theme called Edition.
    Here’s the single php.php code

    <?php
    /**
     * The template for displaying single posts for all formats
     *
     * @package WordPress
     * @subpackage Edition
     * @since Edition 1.0
     */
    get_header(); 
    
    global $fields_installed; ?>
    
    <?php while ( have_posts() ) : the_post();  // Start the loop ?>
    	<?php $tw_entry = themewich_post_options();   // Get post options from functions.php  ?>
    
    	<!-- Post Wrapper -->
    	<?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) : ?>
    		<div itemscope itemtype="http://data-vocabulary.org/Review">
    	<?php endif ?>
    
    			<div <?php post_class($tw_entry->post_classes); ?>>
    				<?php get_template_part(TW_TEMPLATES_DIR . '/full-top-thumbnail'); ?>
    
    				<div class="container">
    					<div class="rightside">
    						<?php get_template_part(TW_TEMPLATES_DIR . '/no-full-thumbnail'); // Full thumbnail ?>
    
    						<div class="postcontentwrap">
    						<?php if ($tw_entry->sharing) {
    							get_template_part(TW_TEMPLATES_DIR . '/sharing'); // Sharing icons
    						} ?>
    
    							<div class="rightcontent">
    
    								<?php if ( ($tw_entry->thumbnail_class == 'no-thumbnail' || ! $tw_entry->featured_image) || $tw_entry->has_media ) : ?>
    									<h1 class="title entry-title" <?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) { echo 'itemprop="itemreviewed"'; } ?>>
    										<?php the_title(); ?>
    									</h1>
    									<div class="authorinfo not-full">
    										<span class="author vcard">
    											<?php _e( 'By', 'themewich' );?>
    											<span class="fn" <?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) { echo 'itemprop="reviewer"'; } ?>>
    												<?php tw_author_link('posts'); ?>
    											</span>
    										</span>
    										<span class="tw-bullet">&nbsp;&bull;&nbsp;</span>
    										<span <?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) { echo 'itemprop="dtreviewed" datetime="' . get_the_time('c') . '"'; } ?>></span>
    										<span class="updated">
    											<?php themewich_date('human'); ?>
    										</span>
    										<span class="tw-bullet">&nbsp;&bull;&nbsp;</span>
    										<?php echo ag_get_cats(3, true); ?>
    									</div>
    								<?php endif; ?>
    
    								<?php if ($tw_entry->review_placement == 'top-bottom') { ?>
    									<div class="reviewtop">
    										<?php echo themewich_review_circle( 'title' ); // Review circle ?>
    									</div>
    								<?php } ?>
    
    								<div class="postcontent content">
    									<?php if ( $fields_installed && $subheadline = get_field( 'post_subtitle' ) ) : ?>
    										<h2 class="post-subtitle" <?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) { echo 'itemprop="summary"'; } ?>>
    											<?php echo $subheadline; ?>
    										</h2>
    									<?php endif; ?>
    
    									<?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) : ?>
    										<span itemprop="description">
    									<?php endif; ?>
    
    										<?php the_content(); // Post content ?>
    
    									<?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) : ?>
    										</span>
    									<?php endif; ?>
    
    								</div>
    
    								<?php
    									// Link Pages
    									wp_link_pages();  
    
    									// Review Breakdown
    									get_template_part(TW_TEMPLATES_DIR . '/entry-breakdown'); // Breakdown
    
    									// Tags
    									the_tags('<div class="tagcloud badge"><h5>'.__("Tags", "framework"). '</h5>', ' ', '</div><div class="clear"></div>');
    
    									// Author Box
    									if ( $tw_entry->author_box && ( get_the_author_meta( 'description' ) || tw_social_links( get_the_author_meta('ID') ) ) ) { ?>
    										<div class="authorboxwrap">
    											<div class="section-title">
    												<p><span><?php _e('The Author', 'themewich'); ?></span></p>
    											</div>
    											<?php get_template_part(TW_TEMPLATES_DIR . '/author-box'); ?>
    										</div>
    									<?php }
    
    									// Related Posts
    									if ( $tw_entry->related ) {
    										get_template_part(TW_TEMPLATES_DIR . '/related'); // Related Posts
    									}
    
    									// If comments are open or we have at least one comment, load up the comment template.
    									if ( comments_open() || get_comments_number() ) {
    										comments_template();
    									}
    								?>
    
    							</div><!-- .rightcontent -->
    							<div class="clear"></div>
    						</div><!-- .postcontentwrap -->
    					</div><!-- .rightside --> 
    
    					<div class="sidebar">
    						<div class="sidebarcontent">
    							<?php dynamic_sidebar( 'Blog Sidebar' ); ?>
    						</div><!-- .sidebarcontent -->
    					</div><!-- .sidebar -->
    
    				</div><!-- .container -->
    			</div><!-- Post Wrapper --> 
    
    	<?php if ( tw_issetor($tw_entry->review_post) == 'yes' ) : ?>
    		</div>
    	<?php endif ?>
    
    <?php endwhile; ?>
    
    <?php get_footer();
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Image’ is closed to new replies.