Remove Emoji Code from WordPress 1

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 your source code when your WordPress site loads. If you do not use […]


Change 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: http://example.com/events/child-page/ You would do the following in htaccess:

And to add it into htaccess include it like this:

The […]


How 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 WordPress fields and in this example will have several custom fields for the longitude and […]


Display 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.

Got the original code for this from https://snippets.khromov.se/integrating-advanced-custom-field-galleries-into-existing-themes-easily/ and modified it slightly to work with Justified Image Grid.


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.


Adding 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 we will jsut be linking to some basic articles on how […]


Get 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 stuff related to your php including the set memory limit.


Adding 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:

Next, add the following to your functions.php file

You […]


PHP hide content before or after a certain date

The following snippet will prevent the content from showing before or after a certain date.