Forums

How to limit the number of characters typed in the post titles? (4 posts)

  1. webipsum
    Member
    Posted 7 months ago #

    Please:
    How to limit the number of characters typed in the post titles (in ADMIN)?
    I tested two plugins but do not work with WP 3.2.1.
    Thank you.

  2. geeksfolder
    Member
    Posted 7 months ago #

    It's not a plugin but you may want to check this out.
    http://wplondon.com/tutorials/limit-characters-post-title.html

    If you want to change the max number of charactors,
    you can go to Appearance > Editor and update it.

  3. webipsum
    Member
    Posted 7 months ago #

    geeksfolder. Thank you for your attention.
    I use this option to limit the amount of characters in the loop.
    But I would like to see the character count, and its limitation when editing the post in the Admin.

  4. geeksfolder
    Member
    Posted 7 months ago #

    You will have to write functions and add actions.
    Refer to this page to see how to add the settings page menu.
    http://codex.wordpress.org/Adding_Administration_Menus

    And create a form to add the value of charactors.

    When you submit the form, update the option value.
    Refer to this.
    http://codex.wordpress.org/Writing_a_Plugin

    Once you update the value, you can call it using

    get_option($option);

    and use this value to limit the number of the title charactors.

Reply

You must log in to post.

About this Topic