WordPress limit the length of the post title

0

This post is describing how to reduce/ limit the length of the post title.This is you want when you have long title of a post or page.Here is the way to limit the length of the title of wordpress.

First, we’ll see default wordpress method/function to get post title.

Above function is displaying full length of the title.

How to limit the length of the post title?

So the output like this.
Lorem ipsum dolor sit amet consectetuer ....

That’s only.Remember you know this is working in the while loop of the post details.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.