Installing Let’s Encrypt SSL on Cloudways
I recently just decided to make the switch over to Cloudways for my hosting platform and have been struggling through some of the changes. Cloudways offers a free SSL through Let’s Encrypt and setting...
View ArticleSearch Engine Bot IP Addresses
Below is a list of the major search engine bot IP address ranges. It is a good idea to whitelist these to make sure they can access your website. If you use iThemes Security Pro you can do this in...
View ArticleShow Content Only on Home Page or Front Page
The following code will allow you to display content on the home page, or front page, only. [crayon-5be9046f2c1e7788535116/] If you want to use this as a conditional statement you could do the...
View ArticleAdvanced Custom Fields If have field echo value
The following snippet is for Advanced Custom Fields and will echo the field if it exists. [crayon-5c90911f22200411358472/] The post Advanced Custom Fields If have field echo value appeared first on...
View ArticleRemove Content Editor box from Custom Post Type
The following snippet of code will remove the content editor box from a specific custom post type. [crayon-5c90911f21d45879368983/] The post Remove Content Editor box from Custom Post Type appeared...
View ArticleTapTap Plugin and html5 Blank Theme Conflict
If you use the Taptap mobile plugin for WordPress and you also use the html5 Blank Theme you may not be able to get the styles for the TapTap menu to load properly. If that is the case it is due to a...
View ArticleHow to Expire an Advanced Custom Fields Field
Expiring an advanced custom field can come in handy when you have an announcement field or some other set of data that you only want to show for a certain amount of time. In the case we are going to...
View ArticleAdd Google Analytics to Functions.php in WordPress
The following code will add Google analytics tracking code to your WordPress site’s header. Simply replace “UA-000000000-1” with your analytis UA tracking code and insert the snippet into...
View ArticleCloudways SSH Commands
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 -r FolderName...
View ArticleWP_Query for a list of specific pages
This will return a list of specific pages in the same manner as posts are usually returned. The post WP_Query for a list of specific pages appeared first on SIMPLESNIPS.COM.
View Article