WordPress.org

Ready to get started?Download WordPress

Forums

Help 'Removing' the Featured Topic feature from Homepage (6 posts)

  1. ds679
    Member
    Posted 11 months ago #

    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() ?>
  2. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    What theme is this?

  3. ds679
    Member
    Posted 11 months ago #

    Expound

  4. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    Please post on the theme's own forum - the developer will see your post there and other people may be able to help you too.

    http://wordpress.org/support/theme/expound

  5. ds679
    Member
    Posted 11 months ago #

    Cool..thanks

  6. captainneal
    Member
    Posted 9 months ago #

    Hey ds679,

    Did you ever figure out how to solve this? I have the exact same problem. I found this answer on the expound support page:

    http://wordpress.org/support/topic/get-rid-of-continue-reading-and-the-side-bar-on-the-right

    But that doesn't really address the problem as it's my topmost post that I want to entirely view, not archive pages (as he mentions here.)

    Thanks.

Reply

You must log in to post.

About this Topic