How can I change the number of words in the news announcements?

  • Igor
    Igor
    Newbie
     
    56 points

    I want to increase the number of words in the announcements of the blog. How can I do this?

    Attachments:
    You must be logged in to view attached files.

    JamesD
    JamesD
    Elite Member
     
    554 points

    Hello Igor,

    The template to edit is “/RT/content-post.php”. Make a backup copy first, then add a copy into your child theme directory to edit. Look around line #45 and you’ll see:

    <?php echo do_shortcode('[EXCERPT size=200 text_after="..." striptags=true]'); ?>

    Change the ‘size’ attribute to the length you need.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.