Conditional tag – category has children We build our own conditional tag with this function to see if our current category...
Prevent dublicate content with conditional noindex If you handle SEO factors by yourself and not using any seo plugins we found...
Conditionally use SSL connections This function can easily be modified to use conditional tags and force SSL on these...
Create conditional tag for parent and child pages If you want to use custom code via conditional tags for parent pages and its...
Remove wpautop only for custom post types I struggled for a while to remove wpautop filter for content on specific custom post...
modify custom post type query on archive page Set a custom order for posts in a custom post type on archive pages. ...
Central function to manage site titles Here is my prefered way to keep control of the site's title\headline. WordPress pulls the...
Restrict template parts to specific user class Use this in a custom template page to restrict page content to specified user role.