WordPress.org

Ready to get started?Download WordPress

Forums

Limit Title length on Index etc (1 post)

  1. anthonyqkiernan
    Member
    Posted 8 years ago #

    Is there any way I can limit the number of characters that appear of the_Title on my index page. Running to two lines is messing my aesthetic :-)

    Kinda like:
    if len(the_title) > x then
    write
    left(the_title, x) & "..."
    (I realise that's not really any language, nevermind php.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags