[Solution] GeneratePress GP Premium Plugin Breaks Apple Pay Button on WooCommerce Single Product Page

[Solution] GeneratePress GP Premium Plugin Breaks Apple Pay Button on WooCommerce Single Product Page

Problem: The Apple Pay button is missing/broken/hidden on the WooCommerce Single Product Page (but it is displaying properly on WooCommerce Cart and Checkout pages). After deactivating all of the WordPress site’s plugins, I narrowed down the problem to GeneratePress’s GP Premium plugin (which is awesome, by the way!). Note: This post is specifically geared toward…

WooCommerce: Add Plus & Minus Buttons to Product Quantity Field

WooCommerce: Add Plus & Minus Buttons to Product Quantity Field

Problem #1: Quantity arrows but no plus / minus buttons Display Plus & Minus Quantity Buttons on WooCommerce Single Product Page and Cart Page Add the following PHP snippet to WordPress using Code Snippets plugin (and choose the “Only run on site front-end” option): Source: WooCommerce: Add to Cart Quantity Plus & Minus Buttons Problem…

FlexSlider “Navigation Arrows” WooCommerce Product Gallery Image Slider

Navigation Arrows Add Navigation Arrows in FlexSlider (v2.7.2) WooCommerce Product Gallery. Requires linking to “Font Awesome 5 Free” CSS file for the Navigation Arrows. Follow How to Use font awesome icons as CSS content code (mainly, Step 1: Load the font awesome CSS file; ignore the brand icons aspect). Place the below PHP code in…

Kadence Theme – Display 2 Different Menus On Different Pages Using Element Hook, PHP & Plugins

Show Widget Area Using Hooked Element In Kadence Create a PHP function that adds a Widget area to the Kadence “Above All Content” Hook. Step-by-step instructions to register a custom [widget_area] shortcode so it can be used anywhere shortcodes are accepted in WordPress including in Kadence Elements. Add the PHP to site via Code Snippets WordPress plugin Kadence Element…

Dropdown Select Menu Displaying Post Titles of Custom Post Type

Dropdown Select Menu displaying post titles from Custom Term “National Clients” from Custom Taxonomy “Client Status” from Custom Post Type “Clients” This is for a music recording studio, displaying National Clients and Local Clients via a dropdown select menu. The PHP and HTML code is placed on the WordPress site via Code Snippets WordPress plugin….

Kadence WP – Remove Column From Content Flow On Mobile

Goals: 1) On desktop, laptop, tablet: fill screen with 2 columns (that have unique content in each column). 2) On mobile phone: display only 1 column (and its content) and remove the other column (and its content) from the content flow. The final CSS that accomplishes the goal The desktop layout is made using the…

Add New Menu to WordPress Site Using Code

1. Register a new menu in WordPress admin Use WordPress’s register_nav_menus to register the menu so it appears in Appearance > Menus > Menu Locations. Place the below PHP code in Code Snippets plugin: Important: In the Code Snippet plugin, right below the PHP code, make sure and choose Run snippet everywhere. Otherwise the newly-registered…

WooCommerce Shop – Remove “This is where you can add new products to your store”

WooCommerce Shop – Remove “This is where you can add new products to your store”

Remove “This is where you can add new products to your store” Remove the description text from just below the “Shop” title on the WooCommerce Shop page. I have no idea why this description text even exists! Note: This will NOT remove the description text from other Product Category Pages. Source: https://wordpress.org/support/topic/remove-text-this-is-where-you-can-add-products-to-your-store/#post-11548982 I use the…