• Hi there,

    im having a hard dang time with this… already 3 days trying to fiture this out.

    My site: https://bunnybody.tv/News/

    The featured image is cool- click on the square nutrtion image. But really pointless to have in the post. The theme does’t offer this, and there;s no image inserted in the post

    any ideas on how to REMOVE the image in the post but still keep the featured image?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter marketninjas

    (@marketninjas)

    Is it a single.php issue?

    <?php get_header(); ?>
    
    <?php get_template_part('loop', 'single'); ?>
    
    <?php get_template_part('includes/copyright', 'single'); ?>
    
    <?php get_footer(); ?>
    Thread Starter marketninjas

    (@marketninjas)

    ..anyone?

    Or loop single?

    <?php
    	$post_id = get_the_ID();
    	$single_postinfo = et_get_option( 'origin_postinfo2' );
    
    	$et_settings = array();
    	$et_settings = maybe_unserialize( get_post_meta( $post_id, '_et_origin_settings', true ) );
    
    	$big_thumbnail = isset( $et_settings['thumbnail'] ) ? $et_settings['thumbnail'] : '';
    
    	if ( '' != $big_thumbnail ) echo '<div style="background-image: url(' . esc_url( $big_thumbnail ) . ');" id="big_thumbnail"></div>';
    ?>
    
    <div id="main-content"<?php if ( '' == $big_thumbnail ) echo ' class="et-no-big-image"'; ?>>
    
    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    	<?php if (et_get_option('origin_integration_single_top') <> '' && et_get_option('origin_integrate_singletop_enable') == 'on') echo (et_get_option('origin_integration_single_top')); ?>
    
    	<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-content clearfix' ); ?>>
    		<div class="main-title">
    			<h1><?php the_title(); ?></h1>
    		<?php
    			if ( $single_postinfo ){
    				echo '<p class="meta-info">';
    				et_postinfo_meta( $single_postinfo, et_get_option('origin_date_format'), esc_html__('0 comments','Origin'), esc_html__('1 comment','Origin'), '% ' . esc_html__('comments','Origin') );
    				echo '</p>';
    			}
    		?>
    		</div> <!-- .main-title -->
    
    	<?php if ( ( has_post_thumbnail( $post_id ) || '' != get_post_meta( $post_id, 'Thumbnail', true ) ) && 'on' == et_get_option( 'origin_thumbnails' ) ) { ?>
    		<div class="post-thumbnail">
    		<?php
    			if ( has_post_thumbnail( $post_id ) ) the_post_thumbnail( 'full' );
    			else printf( '<img src="%1$s" alt="%2$s" />', esc_attr( get_post_meta( $post_id, 'Thumbnail', true ) ), the_title_attribute( array( 'echo' => 0 ) ) );
    		?>
    		</div> 	<!-- end .post-thumbnail -->
    	<?php } ?>
    
    		<?php the_content(); ?>
    		<?php wp_link_pages(array('before' => '<p><strong>'.esc_attr__('Pages','Origin').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    		<?php edit_post_link(esc_attr__('Edit this page','Origin')); ?>
    
    	</article> <!-- end .entry-content -->
    
    	<?php if (et_get_option('origin_integration_single_bottom') <> '' && et_get_option('origin_integrate_singlebottom_enable') == 'on') echo(et_get_option('origin_integration_single_bottom')); ?>
    
    	<?php
    		if ( et_get_option('origin_468_enable') == 'on' ){
    			if ( et_get_option('origin_468_adsense') <> '' ) echo( et_get_option('origin_468_adsense') );
    			else { ?>
    			   <a href="<?php echo esc_url(et_get_option('origin_468_url')); ?>"><img src="<?php echo esc_attr(et_get_option('origin_468_image')); ?>" alt="468 ad" class="foursixeight" /></a>
    	<?php 	}
    		}
    	?>
    
    	<?php
    		if ( 'on' == et_get_option('origin_show_postcomments') ) comments_template('', true);
    	?>
    <?php endwhile; // end of the loop. ?>
    
    </div> <!-- #main-content -->

    Have you asked Elegant Themes about this?

    Thread Starter marketninjas

    (@marketninjas)

    Hello,

    thanks for the message. I purchased this years ago and my email was spammed- did all i could to get it back so i don’t have access to forum support, and would rather not spend 39 to delete/add some code. So crossing my fingers someone here would have a solution. I did a search, and think this comes up often. a lot of users have same issues ( having the featured post show, but not in the actual post it self)

    let me know what you think
    h

    I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial products here.

    Thread Starter marketninjas

    (@marketninjas)

    dammit ??

    You could try hiding it with CSS –

    .post .post-thumbnail {
       display: none;
    }

    No idea if that will mess up anything else – since we don’t have any access to commercial themes…

    Thread Starter marketninjas

    (@marketninjas)

    hi,
    single.php?

    Not sure where to add that?

    That’s CSS – so it can only go in a CSS file – try at the end of style.css.

    Thread Starter marketninjas

    (@marketninjas)

    You sir are a scholar,! It worked,,, delted our FB plugin for commending though so i will need to figure that out

    You’re welcome – glad it worked. (and BTW, I’m female :)!)

    Thread Starter marketninjas

    (@marketninjas)

    oh, ha. You miss, are a scholar! Any ideas on the FB plugin?

    https://bunnybody.tv/News/2010/12/15/test/

    No, I don’t see how that line of CSS would do that – did you make other changes?

    I see you have caching on – try clearing and turning that off for the time being.

    Thread Starter marketninjas

    (@marketninjas)

    yea,, only ‘view comments’s is on there. not the actual place to comment

    Thread Starter marketninjas

    (@marketninjas)

    … any ideas? =)

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Wordress: Origin Theme Elegent themes’ is closed to new replies.