A quick way to show images and iframe video in a Magnific Popup Gallery.
This nifty little snippet will allow you to easily change the number of upsell products as well as the number of upsell products per row.
Looking for a simple way to Change or Remove the Product Description Title in WooCommerce? I’ve got you covered! Simply add one of the two snippets below to your functions.php file and change the title to whatever you want and you’re good to go!
I worked on a project recently where I needed to get the url of the current page dynamically then add it to a body class. The first part of this process was to retrieve the url. Here is how that is done with a WordPress site and with a Non WordPress site.
I use Advanced Custom Fields Pro for every website that I build. The biggest feature that I love is the options page. This makes it easy for clients to go to one location to manage any text, images or content for their website. I’ve used the tabs approach before but have started created new field […]
I use this snippet pretty often building out sites from PSD. Many designers are going with the ol page title in the header look. So this is a simple snippet for how to move genesis entry header markup to the site header. The first section removes the entry header and markup completely. Then we add […]
So I had a summer festival website where the client requested that I output a title section for each new day of events. Basically, we were outputting little event snippets and the page was very long and we felt like the user was going to get lost in all the upcoming dates. Because we were […]
I had a client recently request to change some of the default WooCommerce checkout page field labels and placeholders. Fortunately, WooCommerce provides a handy filter that makes this easy. The woocommerce_checkout_fields filter. First, we add the filter to our functions.php file like so: In my example above, I’m changing the state placeholder text to “Select A […]
I do a lot of custom Gravity Forms work and on a recent site, I built I was trying to track down an issue a user was having and I only had their user ID to go off of. This info was not readily available from the User meta being listed in the WordPress users […]
Here is a working example of retrieving the values from an Advanced Custom Fields (ACF) repeater field and outputting the data on another page. In this case, I was outputting the data on all child pages of a parent by retrieving the page id of the parent. Here is a great resource from the ACF site […]