WordPress.org

Ready to get started?Download WordPress

Forums

How to Truncate titles in Recent Posts widget? (1 post)

  1. katberry
    Member
    Posted 2 years ago #

    I read the thread here about this...

    http://wordpress.org/support/topic/truncate-titles-in-recent-posts-widget?replies=8

    but the suggested solution didn't work, because I wasn't sure what to do with the code.

    Can anyone give me the full code using both of these:

    http://pastebin.com/YzzNSyRv

    http://wordpress.org/support/topic/post-title-char-count?replies=5

    Shortening the titles to 25 characters please? I'm really not good at PHP.

    It may be easier to make a plugin since the code is already there, so anyone can choose how many characters to limit the titles to?

    Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic