before - How to add text before price in WooCommerce

How to add text before price in WooCommerce

To put a string before the price of WooCommerce product and cart pages, use the WooCommerce filters woocommerce_cart_item_price and woocommerce_get_price_html Add the following code to your active theme functions.php file. Make sure to change <span class=”price-prefix”>TEXT BEFORE THE PRICE</span> with your text or HTML code. NEXT: How to Add text after the price in WooCommerce

create wpcli aliases - Create WP-CLI Aliases

Create WP-CLI Aliases

IF you use the same commands often you can save them as aliases so that you have them always available. For example, the following commands will check if WP core, installed plugins and themes have updates available: You can combine the commands into a one-liner: and you can create an alias for this command: so … Read full article →

WordPress FS METHOD explained - WordPress FS_METHOD explained

WordPress FS_METHOD explained

The constant FS_METHOD determines the filesystem method that WordPress should use for reading, writing, modifying, or deleting files. To set a different method for file editing, simply edit your wp-config.php file and add the line: The FS_METHOD forces the filesystem method and accepts the following values: Method Description direct Use Direct File I/O requests from within … Read full article →

How to Clean cofounderspecials.com Malware - How to Clean 🔴 cofounderspecials.com Malware

How to Clean 🔴 cofounderspecials.com Malware

According to publicwww about 5000 websites are known to be infected with this type of WordPress malware. It is similar to legendarytable.com malware and adds js code into every post and page so that visitors are redirected to third-party websites. Check if infected To check if your website is infected, open PHPMyAdmin, select your database, … Read full article →

DO NOT UPGRADE GLOBAL TABLES WPXSS - DO_NOT_UPGRADE_GLOBAL_TABLES

DO_NOT_UPGRADE_GLOBAL_TABLES

DO_NOT_UPGRADE_GLOBAL_TABLES is a WordPress constant that can be added to the wp-config.php file in order to avoid the upgrade functions from doing expensive queries against global tables. To enable it, simply add the following to your wp-config.php file: WordPress websites that use bbPress have large users and usermeta tables. When upgrades are running, ALTER, DELETE … Read full article →

Increase WordPress Security using the wp config php file - Increase WordPress Security using wp-config.php

Increase WordPress Security using wp-config.php

Here are some examples of security configurations that can be added to your WordPress website’s wp-config.php file: Disable file editing define( ‘DISALLOW_FILE_EDIT’, true ); This configuration will disable the built-in WordPress file editor, which can prevent users from accidentally or intentionally making changes to the core WordPress files. Change the default database table prefix $table_prefix … Read full article →

The anatomy of great WordPress theme - The anatomy of great WordPress theme

The anatomy of great WordPress theme

There is no one WordPress theme in existence that can suit all websites. That is why there is a great variety of websites in existence in which, business owners, organizations, and bloggers can use. So, how do you go about choosing a WordPress theme that you will be certain that it will serve your business? … Read full article →