October 28, 2020
I needed to display reviews from the Reviews page on a few select Pages and Products in a Shopify theme.Read More
Annual events (festivals, haunts, etc.) generally occur within the same month each year. Use this function to force update all of your calendar views so scheduled events are seen first without having to navigate through month / week views.Read More
I used this on a custom page template showing only Past Events.Read More
February 20, 2019
When using Variable Products in WooCommerce, the default “Choose an option” text is pretty boring. You can use a function to customize it to match your specific offered Products.Read More
September 12, 2018
I work with Theme my Login and build member-based content areas within websites a lot. Often, the login forms that I use do not bring in the JetPack Protect prompt automatically, and users will have to submit the form two or three times in order to successfully login (once to see the humanity check, once to login, and possibly a third time depending on cache and browser settings).Read More
It’s unfortunate that the Time Field in Gravity Forms does not have more custom options available.
Contrarily, the Date Field, allows for a calendar icon, and drop downs, but the Time Field doesn’t have a default placeholder option to populate the current time, or an alternate view to allow for drop downs showing 12 or 24 hour time.
So I had to turn to jQuery…Read More
I use this fairly often. I find working with plugins I already have installed is better than installing additional plugins to resolve the issue I’m trying to accomplish more reliable.Read More
March 21, 2018
Use the below example to custom format the date displayed when querying Tribe events.Read More
If you’re offering free downloadable items on your website, and don’t require site visitors to register for access to the items, you can use the following snippet to add a download link to your single-product template.Read More
February 21, 2018
Use ‘eventDisplay’ => ‘list’ in conjunction with the WordPress backend Settings for Tribe Events Calendar to prevent recurring events from showing up in custom loops.Read More
February 14, 2018
If your website has several News / Blog contributors, you can display a list of Authors by role and link back to their individual landing pages (author.php).Read More
Typically, I use classes like .desktop, .tablet, and .mobile combined with media queries to switch between different-sized elements when building a website, in order to avoid loading the high resolution images on the handheld devices.
I find the class method a little tedious, and not as intuitive as I would like, so I’ve been looking for alternate ways to perform these transitions.Read More
November 08, 2017
September 29, 2017
Tribe Events Calendar is a very user friendly plugin, and I highly recommend it for WordPress beginners.
Within the WordPress backend, Tribe’s settings and posts do not have an option to customize the Website URL, Organizer URL, and Venue URL to make them open in new windows.Read More
Sometimes, when working with designers, the content of a multilingual website will end up on a single landing page. In this event, using suppress_filters to get_posts associated with the active language will provide posts in both languages, and not provide the side-by-side translation effect desired.Read More
I work with Gravity Forms, and Gravity Forms User Registration a lot, so being able to redirect users to a custom template instead of a front end user profile (such as Theme My Login) would be preferred.
With Gravity Forms, I’m able to enable custom notifications based on the fields that are updated.Read More
<?php $tax_slug = get_query_var( 'taxonomy_category' ); ?>
Comes in handy if you’re working with custom post types, or external plugin archive pages.Read More
Tribe Events Calendar is a great plugin, that has a lot of very simple queries you can use to create calendar feeds within your templates.
If you have an event on your website, and a calendar that’s launching before weeks (or even months) before the event is taking place, you can use a function to setup a start date for your calendar. The Calendar’s default page views (month, day, list) will load starting from the date entered in the function.Read More
Use this foreach loop (inside of a query) to grab Product galleries from WooCommerce.Read More
The All in One Event Calendar by Time.ly is extremely flexible if you need to place several widgets and event shortcodes on your website.
Using the Plugin to generate your own custom query and feeds of your Event information is not very intuitive, and finding valid information a long process.Read More
December 28, 2016
Gravity Forms is a powerful plugin!
Using this function, display values in the select dropdown field dynamically, based on parameters you set in the foreach loop.Read More
November 16, 2016
This snippet will allow the Single product layout to display in the same layout as your installed theme.Read More
November 09, 2016
This is a great way to get trigger content loading on the page automatically. Visitors can then use filters enabled in the Search Filter to customize their search.Read More
Can be used to apply a smoke / fog effect to a div as a background, or using canvas. Includes support for modern browsers (will slow down page loading).Read More
October 14, 2016
Useful snippet to gather additional information about site visitors for forms that do not capture a lot of data.
Will honour user settings if IP address is set to private or reserved.Read More
These handy two lines of code can prevent the Plugins submenu from being accessed within WordPress. All users (including Administrators) will no longer have permission to add, edit, or see the update notifications for installed Plugins.
Comes in handy for sites run by Clients that have a lot of plugin customization.Read More
February 11, 2015
September 24, 2014
Customize the output to match your theme.Read More
Often, the WordPress Plugin Multiple Post Thumbnails is used within the page.php and single.php templates, and few conflicts arise. If you’re calling your thumbnails within header.php, footer.php or functions.php, the following code will help sort out issues with images not displaying via the simpler methods.Read More
June 25, 2014
Add suppress_filters => 0 to your get_posts(); argument and everything will be just fine!!!Read More