WP_Query for a list of specific pages
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),…
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…
Recently a client decided they wanted to delete a massive amount of products in a specific WooCommerce category and then re-upload them. This meant that we had to remove over…
Before executing these commands make sure you are in the public_html folder of the application you want to make changes to. Delete a Folder or File Delete/Remove a Folder: rm…
As you are surely aware the entire world is in crisis mode as we respond to the threats of the COVID-19 virus. The future is uncertain, people are panicking, and…