Disable Clicks on Empty Menu Items
When creating a dropdown menu in WordPress, often the parent menu item is used simply as a hover point to access the submenu, not as an actual link. When this is the case, we can use the following steps to indicate to the user that these menu items are not to be clicked.
Kind: CSS, jQuery Author: Alex Mansfieldf you want to display a custom set of posts and custom post types (CPTs) in a Posts or Search module, y
Create a filter to customize the display of post data
If you want to display a custom set of posts and custom post types (CPTs) in a Posts or Search module, you can create a filter to override query args in the FLBuilderLoop class.
Beaver Themer — Set Header Layout to be Sticky on Mobile
Beaver Themer — Set Header Layout to be Sticky on Mobile
Author: https://gist.github.com/carlosonwebto hide prices / add to cart until a user logs? Woocommerce
met hide cart
https://gist.github.com/jameshwartlopez/3fe1b860fa77d814fac908bace3da83c
Kind: PHP, woocommerce Author: jameshwartlopezGutenberg Blocks cover image
Simple Example of Cover Image Block
Very simply, the Cover Image block allows you to include an image with text sitting in front of it, like the image below (where the words “Simple Cover Image Block” are not part of the image but text typed directly into the block in the editor):-
Remove Website field from Post comments
Add qty inputs next to add to cart button with and without Ajax reload on WooCommerce archives
Kind: PHP, woocommerce Author: W-beachesChange ‘Return To Store’ text button in WooCommerce
WooCommerce version 2.6 has brought out a new text filter that lets you change the text of ‘Return To Store’ on the button that appears on the cart page when the cart is empty. The filter is called woocommerce_return_to_shop_text and this is how you can use it.
Add the snippet in your themes functions.php file.
Kind: PHP, woocommerce