WordPress.org

Ready to get started?Download WordPress

Forums

Limit the Title Character (2 posts)

  1. bhatiacane
    Member
    Posted 2 years ago #

    i want to limit the Title Character (For example in add post allowed only 40-50 Characters)

    any plugin or code for this requirement...

  2. Ervald
    Member
    Posted 2 years ago #

    Why don't you just echo the Title with a char limit?

    ex.
    $title = substr($post->post_title, 0, 40);

Topic Closed

This topic has been closed to new replies.

About this Topic