Style categories block in query loop
As there is no option to style this block in the theme.json I remove the underline for every link with the follwing code: “styles”: { “link”: { “typography”: { “textDecoration”: “none” } } }
As there is no option to style this block in the theme.json I remove the underline for every link with the follwing code: “styles”: { “link”: { “typography”: { “textDecoration”: “none” } } }
You can use the shortcodes provided by WooCommerce. To get the whole button with your custom class and AJAX functionalities.. <?php echo do_shortcode(‘[add_to_cart id=”‘ . get_the_ID() . ‘” class=”add_to_cart_button btn btn-outline-primary btn-lg”]’);?> Or, just the URL to use with your custom button. <a href=”<?php echo do_shortcode(‘[add_to_cart_url id=”‘ . get_the_ID() . ‘”]’);?>” class=”add_to_cart_button btn btn-outline-primary btn-lg”>Přidat … Read more
Review the ‘WordPress Theme Hierarchy’ document here: https://developer.wordpress.org/themes/basics/template-hierarchy/ It explains how templates are selected according to function and availability. The chart is helpful.
How to create a template for a post in Query Loop block?
WordPress theme.json: Why doesn’t “contentSize” work
WP Update Messages get cut off during Theme update
try using the updraft backup plugin to take a backup of your modified theme and restore it to another website.
How to enable wc_add_to_cart_message?
How to add multiple custom blocks in custom WordPress theme using create-block?
Smooth Scrolling Animation of Image Between Two Containers (Elementor) Using JavaScript and GSAP