WooCommerce – how to display product category title above product category images?

1). Copy the Template File Navigate to wp-content/plugins/woocommerce/templates/loop/ Find category.php Copy it to your theme at wp-content/themes/your-theme/woocommerce/loop/category.php 2).Modify the category.php File Open category.php in a code editor and update it to separate the title from the image: <?php /** * The template for displaying product category thumbnails within loops. */ if (!defined(‘ABSPATH’)) { exit; } … Read more

How do i get custom fontSizes and theme fontSizes?

Use useSettings() since useSetting() is deprecated. Then, you can specify a further path with custom or theme to state what data you’d like to get: // User-created presets. useSettings(‘typography.fontSizes.custom’); // Theme-defined presets. useSettings(‘typography.fontSizes.theme’); See this WordPress Playground for a working example.

Error 503 Service Unavailable and wp-json/tdw/save_css

It appears to be an attempt to use a known vulnerability in the tagDiv Composer plugin (used in a couple of tagDiv themes. Read the linked article for more details. Note: If you think your WordPress site has been hacked, start here: https://wordpress.org/documentation/article/faq-my-site-was-hacked/ If you’re using the tagDiv plugin or theme, make sure it’s all … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)