Category Archives: WordPress

Ensure you maintain short titles for SEO

Using short titles to stay focused on SEO, this snippet of code will limit the number of words allowed in the title of your post or page. You can set the number of words to whatever you wish – in this example, the maximum number of words is set to 8. function maxWord($title){ global $post; […]