Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #739616

    Hi there,

    One of my client sites uses the Enfold Post Slider on the homepage, however they have page titles of different lengths. This does look very good, so we would like to add a character limit, and append “…” if the character limit is reached.

    I have followed the advice provided on this thread, however this simply cuts off the characters once the limit has been reached, even if this is in the middle of a word. Do you have a more suitable code snippet?

    Many thanks

    #739639

    Hey csmwebdesign!

    CHeck out here
    http://wordpress.stackexchange.com/questions/75691/limit-the-word-count-in-the-post-title
    and try to replace substr with word count.
    That method will work better for you.

    Do let us know if you still need any help.

    Best regards,
    Basilis

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.