Forums

trunc words and caracteres (3 posts)

  1. julianelihu
    Member
    Posted 2 years ago #

    I wish I could truncate not only words but also the content
    thanks in advence

    <div style="margin:10px 5px 0px 0px;width:170px;">
    ' style="color:#333333;font-size:14px;font-weight:bold"><?=trunc_words(get_the_title(),10)?>

    <span style="color:#666;margin:5px 5px 10px 0px;font-size:10px;"><?=trunc_words(stripBBCode(get_the_content()),10)?></span>
    </div>

  2. julianelihu
    Member
    Posted 2 years ago #

    sorry same for the title, please !!!!

    <?=trunc_words(get_the_title(),10)?>

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic