From the category archives:

Web Develop

This bit of code will allow us to set a maximum word count to the post title. Very useful if you need to limit the length of titles for design purposes. To apply this hack, simply paste the following in your functions.php file:

function maxWord($title)
 {
 global $post;
 $title = $post->post_title;
 if (str_word_count($title) >= 10 ) //set this to the maximum number of words
 wp_die( __('Error: your post title is over the maximum word count.') );
 }
 add_action('publish_post', 'maxWord');

{ 0 comments }

Continue Reading

Free Under Construction HTML

HTML

With new domain name and a huge plant for building a website, we will need to setup a under construction page for better index from Google search engine and make some new visitor know when we will open the website. Or just make our style more professional.

Read the full article →

Add Slick Social Media Sharing Icons to Thesis Theme

Web Develop

You can see in my website, i have a very flexible social media sharing icon and it work fine with thesis theme. I was using the share code from Art of Blog, he’s one of the most well know blogger i ever know. If you want to have a social media sharing icon like me, [...]

Read the full article →