Advanced Custom Fields File Field with Repeater and Showing Title
Here is some code that will use the Advanced Custom Fields file field and output the filename with a link to the file as well. [crayon-57fb0833c1ba4879395160/] The post Advanced Custom Fields File...
View ArticleDisplay Advanced Custom FieldsGallery into Justified Image Grid
Here is how to get the Advanced Custom Fields Gallery type to display in the Justified Image Grid plugin. [crayon-582401a4e2aec196496158/] Got the original code for this from...
View ArticleHow to use WordPress Custom Fields GPS with Google Maps API
In this post I am going to show you how to implement the Google Maps API with WordPress’ custom fields containing GPS coordinates. I like to use the Advanced Custom Fields plugin to manage the...
View ArticleChange the Parent URL of Children
Here is how to change the parent slug permalink and also apply it to the children. For example if you have: http://example.com/monthly-event-list/child-page/ And you want to change it to:...
View ArticleRemove Emoji Code from WordPress
With the release of WordPress version 4.2 the development team added support for emoticons (emojis) built into the core. This support adds a good deal of code to the core that can be seen if you check...
View ArticleShow the Current Version of PHP
The following snippet will output the current version of php that your server is running. [crayon-58ca710462399248605307/] The post Show the Current Version of PHP appeared first on SIMPLESNIPS.COM.
View ArticlePHP hide content before or after a certain date
The following snippet will prevent the content from showing before or after a certain date. [crayon-58ca710461dfa988779923/] The post PHP hide content before or after a certain date appeared first on...
View ArticleAdding Jquery Code to WordPress
For this example we are going to use a script from a sticky menu First, add your script to a .js file located in your theme and make sure you wrap the code with the first and last lines:...
View ArticleGet PHP Information
This snippet will output the PHP info for your hosting environment. You would want to add this to a php file like php-info.php and put it in your root folder of the site. This will show all sorts of...
View ArticleAdding a Basic Slider to your Theme or Site
Flex Slider is an awesome and super basic image slider that you can add to your theme to make it easy for clients to add a slider to their webpages. This slider is well documented and because of that...
View ArticleAdvanced Custom Fields File Field with Repeater and Showing Title
Here is some code that will use the Advanced Custom Fields file field and output the filename with a link to the file as well. [crayon-58ca710460c27074756042/] The post Advanced Custom Fields File...
View ArticleDisplay Advanced Custom FieldsGallery into Justified Image Grid
Here is how to get the Advanced Custom Fields Gallery type to display in the Justified Image Grid plugin. [crayon-58ca710460666041834043/] Got the original code for this from...
View ArticleHow to use WordPress Custom Fields GPS with Google Maps API
In this post I am going to show you how to implement the Google Maps API with WordPress’ custom fields containing GPS coordinates. I like to use the Advanced Custom Fields plugin to manage the...
View ArticleChange the Parent URL of Children
Here is how to change the parent slug permalink and also apply it to the children. For example if you have: http://example.com/monthly-event-list/child-page/ And you want to change it to:...
View ArticleRemove Emoji Code from WordPress
With the release of WordPress version 4.2 the development team added support for emoticons (emojis) built into the core. This support adds a good deal of code to the core that can be seen if you check...
View ArticleWordPress Front End Login Form Code
If you want to add a front end form to login to your website you can do this using the following snippet of code on your template file. You can control if you want the user to be redirected to the back...
View ArticlePHP Schedule Content Between Two Dates
The following bit of code will allow you to schedule content between two dates set in php. So if you want to have say an announcement show up on your website and a certain date and then disappear after...
View ArticleHide All WordPress Updates from a Specific User
Here is how to hide ALL update notifications in the WordPress admin area for a specific username. So if you wanted to hide updates when your client logins to WordPress you could use this. It is...
View ArticleRemove Revolution Slider Meta Box from Pages
The following snippet will remove the annoying Metabox on your pages that Slider Revolution adds. Just add this to your functions.php and watch the metabox dissappear. [crayon-5ac287675b051929113692/]...
View ArticleChange Number of Posts Displayed on Taxonomy Template Page
Here is how to change the number of posts that are display on a Taxonomy Template page within WordPress. So let’s say you want to show 20 posts of two different taxonomies but want the blog to show the...
View Article