Create an ACF Repeater Loop of Bootstrap Modals in WordPress
…uses 3 basic fields, assign the field group to a post or page and populate the repeater rows. Add the ACF Loop Code https://gist.github.com/neilgee/1a86f48b57d7717f57a5624bfeb0c0da#file-while-acf-modal-loop-php Open modal 1 Modal 1…
Read MoreDisplaying Featured Products in WooCommerce
…WooCommerce Featured Products via a custom loop like so: https://gist.github.com/40ac51e005dc53e5752e4dcb7d27e26b#file-custom-loop-php Above I am creating a loop with an infinite amount of featured products by setting the value ‘-1’ to the…
Read MoreCreate and Add Custom Taxonomy to WordPress Posts
…in /wp-content/plugins either as a standalone .php file or structured inside a directory. <?php /* Plugin Name: WP Beaches Taxonomies Plugin URI: http://wpbeaces.com/ Description: WP Beaches Custom Taxonomies Author: Neil…
Read MoreCreate a Loop of Bootstrap 4 Tabs in WordPress with ACF Repeater
…page and populate the repeater rows. Add the ACF Loop Code https://gist.github.com/neilgee/d6e8e8bb8d40032724a4b5a8ad7893f3#file-bootstrap-tab-loops-php Blue Hats Red Green Black Pink White Blue – Pellentesque habitant morbi tristique senectus et netus et malesuada…
Read MoreChange @WordPress from email address and from name sent out from website
…email address function prefix_email_from( $new_email ) { return ‘admin@newadress.com‘; // Change email address } add_filter(‘wp_mail_from_name’, ‘prefix_name_from’); // Change default WordPress from name function prefix_name_from( $new_name ) { return ‘Company Name’;…
Read MoreSyncing RunCloud and Cloudflare firewalls for fail2ban IPs
…better source, last updated Jan 2021. The Cloudflare conf below is from version 0.11.2 https://github.com/fail2ban/fail2ban/blob/master/config/action.d/cloudflare.conf https://gist.github.com/neilgee/9e89fced25ee515876dee125758330a4 You just rename/backup the old cloudflare.conf.original and add in the new one above best…
Read MoreHow to Add Web Fonts to Beaver Builder Plugin and Theme
…in your theme folder. Then add in via enqueuing… https://gist.github.com/neilgee/b70262f6ff2f9b0c1774dbebb6c8c91c#file-enqueue-php Once enqueued add for the Beaver Builder modules in via fl_builder_font_families_system filter… https://gist.github.com/neilgee/b70262f6ff2f9b0c1774dbebb6c8c91c#file-fonts-php Just repeat the formatting as above…
Read MoreFilter WooCommerce Order Received Thank You Text
…which you can do using the filter woocommerce_thankyou_order_received_text https://gist.github.com/neilgee/a570907ec8bb4d54741f#file-order-received-append-replace-php Above the original text is being replaced. Or below the original text is being retained with some new text added. https://gist.github.com/neilgee/a570907ec8bb4d54741f#file-order-received-append-php…
Read MoreFilter CPT Archive by Custom Taxonomy with Isotope
…this instance it uses ‘cpt‘. The Isoptope library is loaded to the archive page as well as an isotope-init file and also imagesloaded is called which comes bundled with WordPress….
Read MoreRemotely connect to Amazon S3 Bucket from the macOS command line
…Key: XXX Secret Key: XXX Default Region: Asia Pacific S3 Endpoint: s3.amazonaws.com DNS-style bucket+hostname:port template for accessing a bucket: %(bucket)s.s3.amazonaws.com Encryption password: XXX Path to GPG program: /usr/local/bin/gpg Use HTTPS…
Read More