Latest Snippets

Snippet: Add parent page slug to body_class

Add following snippet to “functions.php” Snippet

content-tree

Snippet: Check for hierarchy descendant

Add following snippet to “functions.php” Snippet Result A conditional function to check if the current page is a descendant of the ID given to it. Useful for determining if a page is a grandchild, great-grandchild or father down the hierarchy tree.

Snippet: Remove XML-RPC when not in use for performance boost

Add following snippet to “functions.php” Snippet

Snippet: Change the “Howdy” message to “Welcome”

Add following snippet to “functions.php” Snippet

Shortcode: Get a custom field value through shortcode

Add following snippet to “functions.php” Usage Snippet

Shortcode: Get the TinyURL of a link through shortcodes

Add following snippet to “functions.php” Usage Snippet

Shortcode: Custom loop using shortcodes

Add following snippet to “functions.php” Usage Snippet