Plugins

add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
Read More

If all subscriptions have the same term (e.g. 1 year), this can help adjust the wording to something more specific.

Read More

Easily change the Sign-up Fee wording associated with WooCommerce Subscriptions.

Read More

For shops with very few Products.

Read More

Handy if you’re using the default category as “All Products” and want to prevent unrelated items from appearing related when no other categories are selected.

Read More

Searching for SKUs returns no results by default. This function fixes this issue.

Read More

Help visitors sort content on your website by adding filtering options to your Posts.

WP Popular Posts Plugin plugin used in the below example in order to add support for filtering Most Popular items (determined by number of views).

Read More

Two examples provided comparing the regular select and multi-select field functions for Gravity Forms.

Place in functions.php. Update filter number with the form ID.

Read More

Use this in your theme’s stylesheet to customize the loading gif shown when Woocommerce Cart, Products, and Checkout are loading.

Read More

I recently built a website with a large featured banner on their home page, and events page. Banners information was held in a Custom Post Type, and Events were created by The Events Calendar plugin.

The client wanted to combine these two items to show all of the banners on the Home page, to more readily promote their events.

Read More

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

Simple function to check is WooCommerce Product is virtual. Can be used in the Cart or on Product page.

Read More

I used this on a custom page template showing only Past Events.

Read More

Need to add varied styles to rows, but don’t want to program it in the backend? Or add ID numbers to rows in order to setup toggles?

Read More

This comes in handy if the ecommerce store does not ship any physical materials (e.g., downloadable, e-tickets, online classes, membership, etc).

Read More

I stumbled across this while creating a query of Custom Post data, where the content needed to be laid out in columns, and rows of equal height.

Read More

If files within /woocommerce are being ignored, add support for Woocommerce as follows:

Read More

Brute Protect settings within JetPack add security against malicious login attempts. Occasionally, these settings can lock the login page completely, even with your IP address added to the whitelist.

Read More

Working on client websites with installed plugins, use the below information to update labels in the backend sidebar so the updating information is easier to find.

Read More

Most of the examples for this that I have seen were for adding images to the column area, and did not explain how to fix column content brought in by custom post types.

Read More

Use the following snippet to return the Featured (starred) Products from the WooCommerce Product listing.

Read More

Slick Slider has pause and play functions available, but they are not easily enabled. 

Read More

Great to use on product pages to reveal varied standardized text from the template when Products use shared terms like colours, or sizes.

Read More

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

Displaying an image from an ACF custom field is slightly different on an Archive / Single page, versus on a page, or in a regular loop.

Read More

Slick Slider is a great plugin for creating custom carousels on websites. It has a built in navigation option for the carousel as well: asNavFor.

Read More

Enable auto-scrolling to error messages in Gravity Forms by adding the following snipped to functions.

Read More

The Post Object field in ACF grabs all Post Statuses in the WordPress backend, but does not provide filtering within the plugin’s interface to select only Published Post items.

Read More

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

Similar to WPML, you can create if statements using WP Multilang

Read More

Ever thought about customizing Time.ly’s All-in-One Event Calendar layouts on your website?

Read More

Twig reminds me of liquid, but it’s more difficult to understand. It took me a while to find an example of how to do this, so I’m not losing it!

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

A type of layout you might use to compare service types offered by your client may require you to toggle back and forth via a button.

Read More

Turn your Gravity Form into a booking calculator!

Read More

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

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

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

Putting this here so that I don’t have to keep Googling and bookmarking them.

Enjoy! 🙂

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

I’ve run into a couple of issues where a website will break due to the site being SSL secured but the stylesheet refusing to load as SSL.

Read More

Download a plugin to repair the visual editor loading text as white, and not displaying any buttons in Internet Explorer 11 here.

Sourced here.

Read More

Sourced here, this handy snippet can help you update your theme templates to show multiple organizers.

You can take this further, and modify the code to display it this information in a loop, or within a themed version of the template.

Read More

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

Use the follow snippet to remove the text, or update it with your own heading:

Read More

Theme My Login and WPML

Plugins

September 06, 2017

Theme my login can enhance members’ functionality for multi-lingual websites if you use the following snippet to redirect the login form to the appropriate language.

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

Enable background and text colour changes within your template using Advanced Custom fields.

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

Gravity forms is great an excellent plugin, and has tons of addons that you can use to further enhance it’s functionality on your website.

Read More

Use this foreach loop (inside of a query) to grab Product galleries from WooCommerce.

Read More

If you’re working with WooCommerce add-ons (e.g., Bundles), use this function to cycle between different WooCommerce Product Types, in order to display queries and functions in specific templates (operates similar to an if statement).

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

Coupon Creator Pro is a great plugin to highlight offers and deals available to your customers on your website. The coupons come with different themes available, allow for both image and text injection, and are responsive, as well as printable.

Read More

Similar to my Subnavigation Function, this will display widgets and adjust column widths if widgets are active on the page.

Read More

Template layouts (and client requests) will often require a list of categories to be laid out in a specific order to draw attention to different content.

Read More

The default placeholder image in WooCommerce does not adjust according to image changes made within the Settings (e.g., changing the number of columns from 4 to 3 will result in a smaller placeholder image).

Read More

The Advanced Custom Field plugin’s Taxonomy field type has been giving me a hard time for several hours now … This plugin is so versatile, that there is simply not enough documentation on the website, despite all of the amazing work done by Elliot Condon.

Read More

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

This snippet will allow the Single product layout to display in the same layout as your installed theme.

Read More

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

BloodForge Smoke Effect Plugin is easy to setup and integrate in html and WordPress websites. Based on a particle smoke effect posted by Jonny Cornwell.

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

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

Discovered this handy cheat-function over here and it was just what I have been looking for to help me add further customization to all the Custom Post Types that are created by Plugins upon installation.

Read More

Add one of these snippets to functions.php if you’d like to customize your WooCommerce product content.

Read More

This really comes in handy when you’re using specific language on your website for Usernames or need to add in additional fields at signup.

Read More

Many thanks to Rilwis and Charlie Rosenbury for the better-include.php shown below, and sourced here.  I will no doubt, use this several times in the future!

Read More

You can retrieve the WordPress default image sizes (as well as set custom image sizes) using Advanced Custom Fields using the following:

Read More

Here is an embed of the Github code found here:

Read More

A recent WooCommerce update broke the shop layout, but wasn’t throwing any errors. Product thumbnails, Prices and Add to Cart buttons all vanished, but were still available on the individual product pages.

Read More

Add this to functions.php to declare Woocommerce Support in a third party theme:

Read More

Working with an older Yahoo! server, I recently ran into the following error when updating WordPress and installed themes / plugins.

Download failed. error:0D0890A1:asn1 encoding routines:func(137):reason(161)

Read More

Recently came across this request at work, and it seemed impossible to implement without a series of workarounds.

Read More

Custom Post Types help keep your WordPress backend organized, but figuring out how to get support for plugins can be tricky.

Read More

Customizing Woocommerce email templates can be tricky if you’re unable to preview the changes that you make, and Woocommerce addons can get pricy.

Read More

Add this to functions.php; update the placeholder “Your Text Here” with your new badge text

Read More

If the BuddyPress plugin Activity Stream is not showing all updates / content that is being published, check if the site is set to Discourage Search Engines under Settings > Reading in the WordPress backend.

Read More

To over-ride WooCommerce templates with your theme default template, copy page.php and rename it to woocommerce.php

Read More

This plugin allows you to sort posts via drag and drop (even custom posts and categories!).

Simply use orderby => menu_order in your loop.

Read More

Copy the template files into your theme folder from the plugin file.

These can be edited individually to match whatever layout you desire.

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

Download the plugin files from github. Follow directions provided by the plugin author.

Read More

Woocommerce Tax Setup

Plugins

February 26, 2015

When enabling multiple tax amounts in Woocommerce, ensure that you change the priority of each Tax Amount entered, in order to make sure the taxes will render separately at checkout!Screen shot 2015-02-26 at 12.09.49 PM

Read More

Sometimes you don’t want your clients to know that updates are needed. When Woocommerce is paired with powerhouse plugins like WPML, older versions can be difficult to update, and you should tread lightly: with backups.

Read More

SMTP & WP Mandrill

WordPress

October 24, 2014

Read this article about enabling Mandrill on  your site with

Read More

If you’ve ever encountered this error while using NextScripts SNAP, you know that’s it’s not very simple to resolve:

Read More

When using Slick on Android, you may find that the vertical scrolling, or site progression, becomes inaccessible if you have a full-width slider.

Read More

Customize the output to match your theme.

Read More

Multiple Post Thumbnails

Plugins

September 04, 2014

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
katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.