Filter Custom Post Types by Taxonomy in WP Admin Dashboard
…foreach ( $terms as $term ) { printf( ‘%3$s (%4$s)’, $term->slug, ( ( isset( $_GET[$taxonomy_slug] ) && ( $_GET[$taxonomy_slug] == $term->slug ) ) ? ‘ selected=”selected”‘ : ” ), $term->name,…
Read MoreRestart Start Stop MySQL Server from Command Line, macOS, Linux
…restart On macOS Big Sur, Sierra & OSX to start/stop/restart MySQL post 5.7 from the command line: sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist sudo launchctl unload -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist On OS X…
Read MoreAdd a Favicon Icon to Genesis Child Theme in WordPress
…return ‘http://mydomain.com/images/favicon.ico’; } add_filter( ‘genesis_pre_load_favicon’, ‘genesischild_favicon’ ); The function is used with a variable and the variable is set to where the favicon is filed. To add another different Favicon…
Read MoreCreate An ACF Repeater Bootstrap Accordion in WordPress
…many accordion fields as needed, assign the field group to a post or page and populate the repeater rows. Add the ACF Repeater Loop Bootstrap Accordion Code https://gist.github.com/neilgee/253b8e4dadeb01539fc5c1a6ff91c8c4#file-accordion-repeater-php Name Fred…
Read MoreChange ‘You may also like’ and ‘You may be interested in’ WooCommerce text
…); /** * @snippet Trsnslate “You may also like…” Text – WooCommerce * @how-to Watch tutorial @ https://businessbloomer.com/?p=19055 * @sourcecode https://businessbloomer.com/?p=595 * @author Rodolfo Melogli * @testedwith WooCommerce 3.5.1 */…
Read MoreCreate 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 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
WordPress sends a few emails out from a website including password reset emails that have a from email address wordpress@yoursite.com they also have a from name of WordPress. Two WordPress…
Read MoreAdd a Manual Warm Up Cache / Cache Crawler to LiteSpeed Cache
…wget -q -O “https://mysite.com/?warm_cache=gAmqWcq4k” >/dev/null 2>&1 So the URL given from Warm Cache plugin is passed to wget with a couple of parameters, the sitemap is then referenced for the…
Read More