WordPress custom css/js version not loading correct

It’s not clear if you’re trying to load these files on frontend or backend. For the backend I usually do this: define(‘MY_PLUGIN_DIR_URL’, plugin_dir_url(__FILE__)); //LOAD ADMIN/BACKEND CSS STYLES add_action(‘admin_enqueue_scripts’, ‘my_plugin_enqueue_style_and_scripts’, 99); function my_plugin_enqueue_style_and_scripts() { $timestamp = time(); wp_enqueue_style(‘my-plugin-backend’, MY_PLUGIN_DIR_URL.’/css/style.css’, false, $timestamp, ‘all’); wp_enqueue_script( ‘my-plugin-backend’, MY_PLUGIN_DIR_URL.’/js/script.js’, array( ‘signature’ ), $timestamp, true ); } You doesn’t need to … Read more

Is it possible to remove the “Shop” title from the WooCommerce catalogue? [closed]

CSS METHOD To hide with CSS this should do the trick for you. Add the following to the theme’s or child theme’s style.css, or to the Customizer’s CSS section: body.post-type-archive-product .bs-card-box.page-entry-title { display: none; } What we’re doing here is targeting the product archive template file that WooCommerce uses to dynamically create that page. By … Read more

Apply Style variation to specific pages

According to the documentation on Style Variations, it would not appear so. The intent of Style Variations is to be “skins” for your theme and site, rather than for individual pages. However, CSS can be used to apply different styles to specific pages: the <body> tag of each page has classes that can be used … Read more

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