This solution uses CSS to display your Twenty Twenty theme sub menu items in a drop down mega menu like this : Display your sub menu
WordPress Tutorials
Tutorials in this archive generally relate to adding custom functionality and modifying default functionality in WordPress themes other than Genesis. Also includes code snippets to modify WordPress core default functionality and extend WordPress core functions.
List of Code Snippets for WooCommerce
This page contains a list of small custom plugins and custom functionality for WooCommerce. All code can be used in your child themes
Post Tags By Current Category
This code enables you to display post tags by the current category when viewed on each category archive page. It displays a tag cloud of
Custom Button Link Per Product in WooCommerce
This PHP code enables you to add a custom button on your single product page with a custom link. You can add the link using WordPress custom
Change The Text of The Add To Cart Button On Specific WooCommerce Product Page
Swap out the I.D for the product you want to target in the code and add to the end of your child themes functions.php file. You could
Remove Single Product Image Per Product
Add this PHP code to the end of your child themes functions file to remove a product image for 1 specific product only. Swap out the post
Open WC Mini Cart Links In New Window
This code modifies the default links in the WC mini cart so they open in a new window. Demo Video Shows the 'View Cart' link, once
Open WooCommerce View Cart Button Link In New Window
The code in this download folder, when clicked, opens the "View Cart" link on the WooCommerce single product page, in a new tab. Demo
How To Redesign The Single Product Page Template In WooCommerce
This is a beginners guide showing you 2 ways to modify the default design of your single product pages when using WooCommerce. One : You
Add Multiple Authors To WooCommerce Products
This code enables you to add more than 1 author to WooCommerce products using the Co Authors Plus plugin. Works in any WordPress theme.
Add Text Field To WooCommerce Product Category Pages
This PHP code enables you to add custom text before and after your products on all WooCommerce category archive pages. The input field is
Load Custom Script On Any Archive Page Type
This download folder contains 2 code snippets which enable you to load a script on any WordPress archive page type including category, tag,
How to add rel=”nofollow” attribute to all links with a specific class in WordPress
This code enables you to dynamically add nofollow to all a href links which contain a specific class. In this case, nofollow is added to all
Add Published Date Per Product – WooCommerce
This code enables you to add the date your product was published in any WordPress theme. The code includes : Schema markup ACF
Remove Single Products From Shop Page Loop – WooCommerce
Need to hide one or more products from your shop page loop? There's 2 steps involved. The input value for true or false Code to
Add Custom Product Meta To Archives – WooCommerce
This code adds product meta to your shop loop including : Stock Status Category Custom Taxonomy Term
Add Custom Field Content Before & After Products – WooCommerce
This PHP code enables you to add custom content before and/or after your WooCommerce products. You can use this code to add any type of
Submit Button Notice for Product Reviews – WooCommerce
Using a code editor, copy & paste the PHP code from the view raw link in the Gist to the end of your child themes functions file or
Remove Current Single Product From Shortcode Products – WooCommerce
Add to the end of your child themes functions.php file or custom functionality plugin. The gallery shows the green colored single product
Video Behind Header In Twenty Twenty One Theme
This code enables you to add a video behind the site header of the Twenty Twenty One WordPress theme like this : 2 video upload fields
You must be logged in to post a comment.