How to Trigger the OceanWP Lightbox
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…
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…
If your Let's Encrypt SSL certificate is not renewing automatically on Cloudways it could be easily fixed with a small snippet of code inserted into your .htaccess file. When this…