Create Tabbed Content in WordPress with ACF Repeater and Tabslet
This tutorial walks through how to create a Tabbed content section in WordPress using Advanced Custom Fields and Tabslet. ACF (Advanced Custom Fields) Pro comes with an addon called the…
Read MoreHTML 5 Set Up Audio Across All Browsers using m4a, oga, mp3
…formats that are used in HTML 5 Audio and are .mp3, .m4a AAC also known as H.264 format (which is the audio component of mp4) and .ogg or .oga –…
Read MoreHow to create a TwentySixteen Child Theme in WordPress
…parent theme : /* Theme Name: yourchildthemename-can-be-anything-you-like Theme URI: http://www.greatwebsite.com Description: Designed by <a href=”http://www.greatwebsite.com”>Neil Gee</a>. Author: Neil Gee Version: 1.0.0 Template: twentysixteen Tags: bold purple clean & elegant and…
Read MoreSet up Cache Warming on RunCloud with Optimus Prime
…to: cd /usr/local/bin Get Optimus Prime and extract the archive: wget -c https://cdn.pmylund.com/files/tools/ocp2/linux/ocp-2.7-amd64.tar.gz -O – | tar -xz Use Optimus Prime manually From the command line use: /usr/local/bin/ocp/ocp https://yourdomain.com/sitemap_index.xml Better…
Read MoreGit WordPress workflow for Local Development to Staging Site
…staging ssh://username@mydomain.com:/home/username/wpstaging.git Or non-standard port git remote add staging ssh://username@mydomain.com:2000/home/username/wpstaging.git I found that for cPanel/CentOS when creating the remote you need to prefix the address with the ssh:// protocol. Now…
Read MoreStyling WooCommerce Default DropDown Sort Select Fields
…find what to replace them with? ‘my_select_dropdown’ I am trying to replace the product variation selection dropdown on individual products specifically. As found on this page: for “Amount” https://stowetoys.com/product/in-store-gift-cards/ Chris…
Read MoreRemove the Additional Information and Order Notes fields in WooCommerce
…to display the customer order details. I have seen an alternate method in the tutorial https://www.wpblog.com/display-woocommerce-customer-order-details/ to get customer details from orders but still having issues while displaying the order…
Read MoreFix FOUC ‘flash of unstyled content’ on WordPress
…is ready is a good way to combat FOUC. add_action(‘wp_head’, ‘fouc_protect_against’); /** * Combat FOUC in WordPress * @link https://stackoverflow.com/questions/3221561/eliminate-flash-of-unstyled-content */ function fouc_protect_against () { ?> <style type=”text/css”> .hidden {display:none;}…
Read MoreCustomize WooCommerce Product Search Field
…own custom search field including using an icon. The Original Markup https://gist.github.com/neilgee/e59780dea680caddaa13672ebfaedcde#file-search-original.php This will just reproduce the form in it’s original format. The New Markup https://gist.github.com/neilgee/e59780dea680caddaa13672ebfaedcde#file-search-new.php Here a fontawesome magnifying…
Read MoreAdding Classes and Attributes to HTML elements in Genesis
…archive-pagination genesis_attr_archive-pagination entry-pagination genesis_attr_entry-pagination adjacent-entry-pagination genesis_attr_adjacent-entry-pagination comments-pagination genesis_attr_comments-pagination entry-comments genesis_attr_entry-comments comment genesis_attr_comment comment-author genesis_attr_comment-author comment-author-link genesis_attr_comment-author-link comment-time genesis_attr_comment-time comment-time-link genesis_attr_comment-time-link comment-content genesis_attr_comment-content author-box genesis_attr_author-box sidebar-primary genesis_attr_sidebar-primary sidebar-secondary genesis_attr_sidebar-secondary site-footer genesis_attr_site-footer…
Read More