This example removes the Orbit Custom Post Type from the Cornerstone responsive starter theme. You would include it in the functions.php of your child theme. The example canĀ be adaptedĀ for any Custom Post Type used in any theme.

This example removes the Orbit Custom Post Type from the Cornerstone responsive starter theme. You would include it in the functions.php of your child theme. The example canĀ be adaptedĀ for any Custom Post Type used in any theme.
The example adds support for the Custom Post Type named ‘portfolio’. You would add this function to the functions.php in your theme or a plugin:
Disable the WordPress Admin Bar on mobiles but enable on desktops for logged in users:
How to display the title and thumbnail of child Custom Post Types on the parent custom post type in WordPress:
There are plenty of solutions for making your WordPress website mobile friendly. Most of them redirect to a separate mobile friendly theme. However this may be overkill for certain sites which just require a few minor changes to look right on a mobile device. This solution could be used for example to load a separate […]