wordpress snippets last updated   : April 14, 2014
we now have 630 snippets

Remove inline style from gallery shortcode

wordpress snippet

The WordPress gallery shortcode will add some inline CSS to your document however if I’m like many of you, I would rather use my own. Adding the above snippet to the functions.php of your wordpress theme will disable the default gallery styles from being inserted into the page.

read more

Display theme information with get_theme_data

wordpress snippet

Adding this snippet to your wordpress theme will let you display data from your theme file. name, title, uri, description, authorURI, template, version, status, tags, author. Change THEME_NAME to the name of your theme.

read more

Allow more HTML tags in the editor

wordpress snippet

By default the wordpress editor does not allow some tags and will strip them out. Adding this snippet to the functions.php of your wordpress theme will enable you to use HTML tags like iframe, name, class etc…

read more

Style the tag cloud

wordpress snippet

Adding this PHP code snippet to the functions.php of your wordpress theme will allow you to define style details like font-size small to large, and format of the tag cloud.

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