wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Attach PDF files to post with custom metabox file selection

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will create a new metabox within your post editing screen with a select menu listing all PDF files. Adding the second snippet in your wordpress template in the location you wish to display the files URL.

read more

Disable dragging of metaboxes within admin

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will disable all dragging of metaboxes within the admin. Please note that this includes dashboard widgets as well.

read more

Add HTML to feature image metabox

wordpress snippet

Adding this snippet to the functions.php will let you add HTML to the featured image metabox. This could be use to add extra information for your clients on how to use this feature.

read more

Move author metabox / options to publish post metabox

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will move the author metabox from the bottom of the page into the publish post metabox.

read more

Remove post revisions metabox

wordpress snippet

Adding this PHP snippet to the functions.php of your wordpress theme will remove the post revisions metabox from the post editor screen.

read more

Remove author post metabox

wordpress snippet

Adding this PHP code to the functions.php will remove the author metabox from the admin post page.

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