Removing the Authors Name from the Post Info in Genesis Child Theme
By default in a Genesis child theme the post-info info on a blog single post contains the article date, authors name and comment link. To change these details such as…
Read MoreSet up Swift Performance Cache with Optimus Prime in Local Mode
…the path names and URLs in the command to suit. Run as a Cron command Use the same command in a cron job Here I have set the command to…
Read MoreCreate 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 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 MoreOutput WordPress Custom Query Posts Loop in Bootstrap Modals
…then a counter is set $i which increments at the end of the while loop by an increment of 1, then comes the Bootstrap Modal markup, which has the trigger…
Read MoreSet up WordPress cron to run via server cron in cPanel, Cloudways and RunCloud
…If you have a fully cached site and your event hooks are not running, try this cron command instead… wget -q -O – https://examplesite.com/wp-cron.php?doing_wp_cron I have experienced a site cached…
Read MoreShow related posts from one CPT to another with ACF Relationships
…taxonomy used in the Lights CPT is also selected, this will allow the user to filter posts by taxonomy. This field group is then assigned to appear on the Projects…
Read MoreSet up WordPress Code Standards phpcs on VS Code on macOS
…Composer Once Composer is installed globally, time to install PHPCodesniffer, run on the command line… composer global require “squizlabs/php_codesniffer=*” Output should be similar to… ./composer.json has been created Loading composer…
Read MoreStyling WooCommerce Default DropDown Sort Select Fields
…you have WooCommerce running, the script and styles come with the plugin but are only used in certain places such as the checkout page, however, you can use it in…
Read More