If all subscriptions have the same term (e.g. 1 year), this can help adjust the wording to something more specific.
Read MoreEasily change the Sign-up Fee wording associated with WooCommerce Subscriptions.
Read MoreFor shops with very few Products.
Read MoreHandy 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 MoreSearching for SKUs returns no results by default. This function fixes this issue.
Read MoreHelp 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 MoreTwo 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 MoreUse this in your theme’s stylesheet to customize the loading gif shown when Woocommerce Cart, Products, and Checkout are loading.
Read MoreI 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 MoreI needed to display reviews from the Reviews page on a few select Pages and Products in a Shopify theme.
Read MoreAnnual 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 MoreSimple function to check is WooCommerce Product is virtual. Can be used in the Cart or on Product page.
Read MoreI used this on a custom page template showing only Past Events.
Read MoreNeed 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 MoreThis comes in handy if the ecommerce store does not ship any physical materials (e.g., downloadable, e-tickets, online classes, membership, etc).
Read MoreI 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 MoreIf files within /woocommerce are being ignored, add support for Woocommerce as follows:
Read MoreBrute 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 MoreWorking 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 MoreMost 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 MoreUse the following snippet to return the Featured (starred) Products from the WooCommerce Product listing.
Read MoreSlick Slider has pause and play functions available, but they are not easily enabled.
Read MoreGreat to use on product pages to reveal varied standardized text from the template when Products use shared terms like colours, or sizes.
Read MoreWhen 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 MoreDisplaying 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 MoreSlick 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 MoreEnable auto-scrolling to error messages in Gravity Forms by adding the following snipped to functions.
Read MoreThe 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 MoreI 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 MoreSimilar to WPML, you can create if statements using WP Multilang
Read MoreEver thought about customizing Time.ly’s All-in-One Event Calendar layouts on your website?
Read MoreTwig 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 MoreIt’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 MoreI 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 MoreA 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 MoreTurn your Gravity Form into a booking calculator!
Read MoreUse the below example to custom format the date displayed when querying Tribe events.
Read MoreIf 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 MoreUse ‘eventDisplay’ => ‘list’ in conjunction with the WordPress backend Settings for Tribe Events Calendar to prevent recurring events from showing up in custom loops.
Read MoreIf 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 MoreTypically, 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 MoreI’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 MoreTribe 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 MoreUse the follow snippet to remove the text, or update it with your own heading:
Read MoreTheme 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 MoreSometimes, 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 MoreEnable background and text colour changes within your template using Advanced Custom fields.
Read MoreI 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 MoreTribe 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 MoreGravity 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 MoreUse this foreach loop (inside of a query) to grab Product galleries from WooCommerce.
Read MoreIf 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 MoreThe 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 MoreCoupon 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 MoreSimilar to my Subnavigation Function, this will display widgets and adjust column widths if widgets are active on the page.
Read MoreTemplate 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 MoreThe 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 MoreThe 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 MoreGravity 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 MoreThis snippet will allow the Single product layout to display in the same layout as your installed theme.
Read MoreThis 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 MoreBloodForge 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 MoreUseful 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 MoreAdd one of these snippets to functions.php if you’d like to customize your WooCommerce product content.
Read MoreThis 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 MoreMany 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 MoreYou can retrieve the WordPress default image sizes (as well as set custom image sizes) using Advanced Custom Fields using the following:
Read MoreHere is an embed of the Github code found here:
Read MoreA 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 MoreAdd this to functions.php to declare Woocommerce Support in a third party theme:
Read MoreWorking with an older Yahoo! server, I recently ran into the following error when updating WordPress and installed themes / plugins.
Read MoreDownload failed. error:0D0890A1:asn1 encoding routines:func(137):reason(161)
Recently came across this request at work, and it seemed impossible to implement without a series of workarounds.
Read MoreCustom Post Types help keep your WordPress backend organized, but figuring out how to get support for plugins can be tricky.
Read MoreCustomizing Woocommerce email templates can be tricky if you’re unable to preview the changes that you make, and Woocommerce addons can get pricy.
Read MoreAdd this to functions.php; update the placeholder “Your Text Here” with your new badge text
Read MoreIf 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 MoreTo over-ride WooCommerce templates with your theme default template, copy page.php and rename it to woocommerce.php
Read MoreThis plugin allows you to sort posts via drag and drop (even custom posts and categories!).
Simply use orderby => menu_order in your loop.
Read MoreCopy the template files into your theme folder from the plugin file.
These can be edited individually to match whatever layout you desire.
Read MoreThese 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 MoreDownload the plugin files from github. Follow directions provided by the plugin author.
Read MoreWhen 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!
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 MoreRead this article about enabling Mandrill on your site with
Read MoreIf you’ve ever encountered this error while using NextScripts SNAP, you know that’s it’s not very simple to resolve:
Read MoreWhen using Slick on Android, you may find that the vertical scrolling, or site progression, becomes inaccessible if you have a full-width slider.
Read MoreCustomize the output to match your theme.
Read MoreOften, 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 MoreAdd suppress_filters => 0 to your get_posts(); argument and everything will be just fine!!!
Read More