Programming-4

Remove or Hide Admin Menu Links for Certain or Specific Users or Roles

The following snippet will let you remove as well as hide admin menu links for certain users or role.

Source: Snipplr

Get all media attached to a post

The following snippet will allow you to get all media attached to a post

Source: Pippinsplugins.com

Filter Category from Blog Page

The following snippet will filter category from the blog page

Source: brettwidmann.com

Custom Admin Login Logo & Alt Text

The snippet will allow you to have custom admin login logo and alt text

Source: Snipplr

Prev/Next wordpress loop links

Add the following snippet to previous/next loop links

Source: WordPress Codex

Admin Footer Modification

Source: Snipplr

Query a custom taxonomy

The following snippet will allow you to query a custom taxonomy, using the taxquery parameter

Source: Snipplr

Remove Personal Options from Profile Menu

The following snippet will allow you to remove personal options from personal menu

Source: Snipplr

Exclude Category from Feed

The following snippet will allow you to exclude category from feed

Load jQuery from CDN, fallback to local

Add the following snippet to your theme’s functions.php file

Source: Snipplr

Photo Credit: Flickr/hackNY.org