wordpress snippets last updated   : April 22, 2014
we now have 631 snippets

Facebook open graph snippet to set default image

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will allow you to specify Facebook Open Graph information on your WordPress posts. Allowing you to specify which image should be displayed when sharing your article on Facebook among other things.

read more

Shortcode with micro formatted loop, meta, category, pagination

wordpress snippet

Here’s a neat little wordpress shortcode that allows posting of individual blog posts based on ID, latest number of blogposts from a certain category or all categories, optional pagination, optional excerpt or full content showing and optional meta.

read more

Automatically create meta description from the_content

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will automatically create a meta description from your wordpress post striping out all shortcodes and tags. Make sure you have in the header.php of your wordpress theme or this snippet will not work.

read more

Replace the generator meta

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will replace the meta tag with your own custom meta details.

read more

Get all post meta data

wordpress snippet

Adding this PHP code to your wordpress functions.php will return all meta data for a single post.

read more

Remove windows live writer

wordpress snippet

Adding this PHP code to your wordpress functions.php will remove windows live writer from the wordpress header.

read more
jqsnipp.com | we just launched jquery snippets website