What is great about WordPress is that it can adapt to different tasks. With just a few lines of code, you can extend the functionality of your blog or website. In this post, smashingmagazine.com shoes the 10 shortcode snippets that will optimize and tweak your WordPress theme. You can add these code snippets in your functions.php file in your WordPress theme.

 

One great snippet is to limit the Excerpt’s Word count. This is so that your WordPress excerpt will be more reader-friendly.

Another useful snippet is the Show Featured Images in feed. This is to encourage subscribers to visit your website rather than just letting them consume your content in their feed reader.

 

Read the rest of the post here: http://www.smashingmagazine.com/2011/12/07/10-tips-optimize-wordpress-theme/

Shares 0