WordPress.org

Forums

Highwind
Exceprt vs Full Content (5 posts)

  1. ScottWynn
    Member
    Posted 1 year ago #

    I would like to show just excerpts rather than full content.

    Another option would be a plugin that allows for full content in the feed and I can use the more tag to limit the post content on the home page. I looked at "full feed" plugin but that did not seem to work on this version of wordpress.

    Any ideas?

  2. Wasca
    Member
    Posted 1 year ago #

    I needed to do this also.

    I created a child theme and edited the content.php file.

    I changed the section of the file to look like this.

    <section class="article-content">
    
    	<?php
    
    		highwind_content_entry_top();
    
        //Load excerpt if a post has one else show content.
    		if (empty($post->post_excerpt)) {
    
    			the_content( __( 'Continue Reading...', 'highwind' ) );
    
    		} else {
    
    			if ( is_single() ) {  //Displaying Single Post page
    
    				the_content( __( 'Continue Reading...', 'highwind' ) );
    
    			} else {
    
    				the_excerpt();
    
    			}
    
    		}
    
    		wp_link_pages();
    
    		highwind_content_entry_bottom();
    
    	?>
    
    </section><!-- /.article-content -->
  3. X-Raym
    Member
    Posted 1 year ago #

    That sounds clever but i can't get it work =/

    do you confirm it still works for you ?

    EDIT :
    I just put

    <?php
    
    		highwind_content_entry_top();
    
        //Load excerpt if a post has one else show content.
    
    			if ( is_single() ) {  //Displaying Single Post page
    
    				the_content( __( 'Continue Reading...', 'highwind' ) );
    
    			} else {
    
    				the_excerpt();
    
    			}
    
    		wp_link_pages();
    
    		highwind_content_entry_bottom();

    and it seems ok :)

  4. ScottWynn
    Member
    Posted 1 year ago #

    I ended up using a plugin that worked great for what I was trying to accomplish...

    http://git.ladasoukup.cz/sb-rss-feed-plus

  5. X-Raym
    Member
    Posted 1 year ago #

    thanks for the plug !

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic