• I understand that ‘Featured Posts’ can do some cool things…but how do I remove that ‘feature’ so my page displays properly?

    Here is what my page is doing now:
    header
    post #2
    post #1
    ………..sidebar widget
    ………..sidebar widget
    footer

    What I’d like it to do is (which it is doing on every other page except Home):
    header
    post #2…..sidebar widget
    post #1…..sidebar widget
    footer

    I’ve reached out to the theme developer @kovshenin but have had no response…and I need to get this site going!?

    Here is my ‘featured-content.php’ which seems to be controlling it:

    <?php $featured_posts = expound_get_featured_posts(); ?>
    <?php if ( $featured_posts->have_posts() ) : $featured_posts->the_post(); ?>
    <div class="featured-content">
    
    	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    		<?php if ( has_post_thumbnail() ) : ?>
    		<div class="entry-thumbnail">
    			<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'expound-featured' ); ?></a>
    		</div>
    		<?php endif; ?>
    
    		<header class="entry-header">
    			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'expound' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    		</header><!-- .entry-header -->
    
    		<div class="entry-summary">
    			<?php the_excerpt(); ?>
    			<p><a class="button-primary" href="<?php the_permalink(); ?>"><?php _e( 'Continue reading →', 'expound' ); ?></a></p>
    		</div><!-- .entry-summary -->
    
    	</article>
    
    </div><!-- .featured-content -->
    
    <?php if ( $featured_posts->have_posts() ) : // more than one? ?>
    <div class="featured-content-secondary">
    	<?php while ( $featured_posts->have_posts() ) : $featured_posts->the_post(); ?>
    
    		<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    			<?php if ( has_post_thumbnail() ) : ?>
    			<div class="entry-thumbnail">
    				<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
    
    				<?php if ( get_the_category() ) : ?>
    				<span class="entry-thumbnail-category"><?php the_category( ' / ' ); ?></span>
    				<?php endif; // get_the_category() ?>
    			</div>
    			<?php endif; ?>
    
    			<header class="entry-header">
    				<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'expound' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    			</header><!-- .entry-header -->
    
    			<div class="entry-summary">
    				<?php the_excerpt(); ?>
    			</div><!-- .entry-summary -->
    		</article>
    
    	<?php endwhile; ?>
    </div><!-- .featured-content-secondary -->
    <?php endif; // have_posts() inner ?>
    <?php endif; // have_posts() ?>

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help 'Removing' the Featured Topic feature from Homepage’ is closed to new replies.