WordPress.org

Forums

Point
[resolved] Missing text in "featured box" (8 posts)

  1. tmbv93
    Member
    Posted 1 year ago #

    Hi,
    The excerpt in the featured box on my page seems to be limited to only a few characters, though it isn't in your demo. Is there any way to make the featured box display larger excerpts?

    http://pixeledcourier.com/

  2. MyThemeShop
    Member
    Theme Author

    Posted 1 year ago #

    Hi, you can increase excerpt length by eiditing below code present in index.php file
    <?php echo mts_excerpt(29);?>

    Please increase the value as you want.

  3. tmbv93
    Member
    Posted 1 year ago #

    Thank you for your quick response.
    However, the change doesn't seem to take effect after I changed 29 to 65.

    I've tried clearing the WP cache, if that has anything to do with it.

  4. MyThemeShop
    Member
    Theme Author

    Posted 1 year ago #

    Please try replacing above function with this one
    <?php the_excerpt(); ?>
    More info here http://codex.wordpress.org/Function_Reference/the_excerpt

  5. tmbv93
    Member
    Posted 1 year ago #

    Thanks again,
    Though, It seems this only targets the excerpts in the Theme's "latest" section. Is there another way to target the featured box (the big picture on the front page)?

    Cheers

  6. MyThemeShop
    Member
    Theme Author

    Posted 1 year ago #

    Please open header.php file
    search for
    <?php echo mts_excerpt(10);?>

    and increase the value.

  7. tmbv93
    Member
    Posted 1 year ago #

    There we go.
    Thank you so much for sticking with me. Both the theme itself and the service have been top-notch from you guys :)

    Cheers

  8. MyThemeShop
    Member
    Theme Author

    Posted 1 year ago #

    :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic