Word Limit for Post Excerpt in Home Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8481 Reply

    Joseph Nirmal

    Currently I activate full text for Post Excerpt in Home Page. But I want full text only for Sticky Post and 100 words for all Post Excerpt.

    #8486 Reply

    Ron
    Keymaster

    – Use a child-theme http://ronangelo.com/frontier/

    – Copy loop-blog.php from the parent-theme to your child-theme folder

    – Open your child-theme loop-blog.php and find this line:

    <?php if ( frontier_option('blog_display', 'excerpt') == 'excerpt' ) : ?>
    

    Replace it with this line then save:

    <?php if ( frontier_option('blog_display', 'excerpt') == 'excerpt' && !is_sticky() ) : ?>
    
    #8490 Reply

    Joseph Nirmal

    Thanks Ron for your valuable reply.

    How to make the sticky post background colour to white.

    #8513 Reply

    Joseph Nirmal

    How to limit 100 words in post excerpt??

    #8514 Reply

    Ron
    Keymaster
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Word Limit for Post Excerpt in Home Page
Your information: