Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5497

    Is it possible to restrict the amount of characters so I can get just a snippet of news when I use this?

    Cheers

    #50565

    Hey,

    open up newscastframeworktheme_widgetssidebar_news.php and replace

    the_excerpt();

    with:

    $content = get_the_excerpt();
    echo substr(strip_tags($content), 0, 200);

    You can replace “200″ with any (positive) value – it controls the amount of characters.

    #50566

    Worked great

    :)

    #50567

    Glad that I could help you :)

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

The topic ‘Sorry me again – Newscast sidebar news’ is closed to new replies.