Add OceanWP Settings Metabox to Multiple Post Types
If you have custom post types in OceanWP you may have noticed that the settings metabox is not showing up when you edit a post. Using the code below you…
If you have custom post types in OceanWP you may have noticed that the settings metabox is not showing up when you edit a post. Using the code below you…
If you are looking to add the built in lightbox that comes with OceanWP to your custom theme here is how to do it. On your image link add the…
This code will disable comments everywhere on your WordPress site EXCEPT for on your actual blog posts. This comes in handy if you don't want people or bots commenting on your websites pages but still want comments allow on your blog posts.
I am using gravity forms for a user registration process on a client's site and it occurred to me they may want to limit who is eligible to submit a…
This will return a list of specific pages in the same manner as posts are usually returned. <?php $args = array( 'post_type' => 'page', 'post__in' => array( pagdeid1,pageid2,pageid3),…
To remove old user roles in WordPress you simply need to execute the following code in functions.php once. You can delete the code after running it and reloading a page…
OceanWP comes with a nice built in page heading area but when adding custom post types it is hard to manage how the headings are displayed. In some cases you…