Woocommerce – add tracking code to another email template
Woocommerce – add tracking code to another email template
Woocommerce – add tracking code to another email template
Weird Javascript:void(0) code in my website
Product Search in search.php
If you mean you don’t want the <div class=”phone-num”> to appear at all, here’s how: <?php $phone_number = get_post_meta(get_the_ID(), ‘_custom_product_number_field’, true ); if ( ! empty( $phone_number ) ) : ?> <div class=”phone-num”> Phone: <?php echo $phone_number; ?> </div> <?php endif; ?>
How Create LastMod and Update Date Only on Taxonomy Category and Tags
Error when loading Dashboard
When developing a WordPress Plugin that uses custom do_action and apply_filters it’s always better to use a callback function. They don’t explicitly say that you aren’t allowed to use anonymous functions but whenever you can, and when it’s appropriate, use a callback. From the plugin development docs about actions Create a callback function First, create … Read more
Internal server error when enabling Multisite in WordPress
You may need to flush the REST API cache in order to see the added field. You can do this by adding the following code to your plugin: This code will flush the REST API cache whenever a post (including a page) is saved or updated, so that the changes to the registered field will … Read more
How do I a custom search form by taxonomies?