Create An ACF Repeater Accordion in WordPress
…rows. Add the Javascript https://gist.github.com/neilgee/7a94649e844f3aa0e5370092d3e9bf20#file-accordion-script-js Add the ACF Loop Accordion Code https://gist.github.com/neilgee/7a94649e844f3aa0e5370092d3e9bf20#file-accordion-acf-repeater-loop-php Name Fred Perry Description The brand founded by triple Wimbledon champion Fred Perry in 1952 and adopted by…
Read MoreAdd an Alpha RGBa Color Picker to a WordPress Plugin Input Field
…wp-color-picker. https://gist.github.com/neilgee/8917f0f4d120038051c158d9b667e848#file-rgba-php You also need a jQuery init script to act on the color-picker CSS class, create a file wp-color-picker-init.js and add the selector : https://gist.github.com/neilgee/8917f0f4d120038051c158d9b667e848#file-wp-color-picker-init-js Adding the Alpha Attribute…
Read MoreAdd Link Tag to Whole Column in Beaver Builder Layout
…heading module with a link and a column background image, the user wants the whole background of the column to be a link – which is the same as the…
Read MoreCompletely hide WooCommerce products from shop, product search and WordPress search
…WordPress search! Product with Catalog Visibility set to Hidden WordPress Search Results So if you were to search your site with a dynamic URL parameter https://mydomain.com/?s=Hidden+Woo+Product the product you had…
Read MoreSticking An Element To The Top Of The Browser After Scroll
…also needed for Chrome/Safari. Can I Use Can I Use css-sticky? Data on support for the css-sticky feature across the major browsers from caniuse.com. The sticky element will stick to…
Read MoreWooCommerce cart total count minus certain product category
…to purchase many products within that, I have used this plugin for creating the composite product https://docs.yithemes.com/yith-composite-products-for-woocommerce/premium-version-settings/yith-woocommerce-product-add-ons/ So, the main issue is whenever I add a product to cart the…
Read MoreCreate Multiple Marker Map from ACF Google Map Location Field from a CPT
…is the default setting which I have uncommented to stop the World Map being repeated } } Shortcodes for Map Output Single shortcode [themeprefix_single_marker] https://gist.github.com/neilgee/a8cf60790c275508c03dd06bc5b48683#file-single-short-code-php Multiple shortcode [themeprefix_multiple_marker] https://gist.github.com/neilgee/a8cf60790c275508c03dd06bc5b48683#file-multiple-short-code-php…
Read MoreCreate a Widgetized Custom Home Page in Genesis Child Theme WordPress
…tag and then removing the Genesis loop markup for that page. Add in some CSS… /***************Main Background*********/ .site-container { background: #fff; } .site-inner { padding-top:0px; } /***************Generic Widget Styling********/ .homecontent…
Read MoreFilter Custom Post Types by Taxonomy in WP Admin Dashboard
…of a linked custom taxonomy terms which are filterable via the filter button next to it. The code goes in functions.php https://gist.github.com/neilgee/d911b51c0a35816959c1dc5a26464266 So change to your CPT – example uses…
Read MoreAligning Last Item to the Bottom of a Container in Flexbox
Kerry do you have a codepen for this? Neil Gowran I have a working example here – http://saltuary.com.au/prices/ Kerry Webster Thanks you sir. DC Dude you are awesome! Eo Awesome!…
Read More