Have you ever wished you could create ‘parents’ and ‘children’ for Woocommerce ‘attributes’, like categories? This function used to exist but has disappeared after version upgrades. To make it available in the current version, please add the following code to the ‘functions.php’ of your theme (or child theme if using a child theme). if( function_exists(…
Category Archives: Wordpress
Are the fonts on WordPress back-end post pages too small? In such cases, this is. If you write all this down, you can customise the font size and other aspects of the posting page (text) as you wish. Please add this to the ‘functions.php’ of the theme (or child theme when using a child theme)….
This post explains how to get a score of 100 on the google speed test. 1.Files You need to check the files loaded on your site by the theme and plugins.To do this, go to Google Speed Test and check your site. Click on the button ‘VIEW TREEMAP’.Click on the button to find the slowest…
If you want to enhance the security of WordPress, you need to change the database table prefixes. If you want to make simple and quick changes after installation, this plugin is the one to choose. Change Table Prefix Light, fast and intuitive. Be sure to change “$table_prefix = ‘○○○○○○○○’;” in the “wp-config.php” file after the…
Use the plugin ‘Import and export users and customers’. Recommended for users who simply want to download user information in CSV format. We have tried several, but so far this plugin is the simplest to use.
The items on the Woocommerce My Account page vary depending on the products handled and the site they are on. For example, if you want to hide the ‘Dashboard’ and ‘Downloads’ items, you can achieve this by doing the following. Write the following code in the ‘functions.php’ file. // shoptab add_filter ( ‘woocommerce_account_menu_items’, ‘misha_remove_my_account_links’ );…
It is very time-consuming to rewrite site names when producing multiple sites. As a way of preventing this from happening, it is recommended to set up a system to call the name of the site by a shortcode. Write the following code in the ‘functions.php’ file. add_shortcode( 'sitename', function() { return get_bloginfo(); } ); Enter…
If a web page does not load within the first two seconds, 55% of mobile users will leave that web page. Furthermore, around 70% of consumers in online stores report that page display speed is linked to their willingness to purchase a product. Page speed is also a direct ranking factor. Loading times affect the…
Prohibiting access to wp-config.php improves site security. You are encouraged to refer to this information to maintain your website. Put the following code in the “.htaccess” file. <files wp-config.php> order allow,deny deny from all </files>
Hiding php.ini information improves site security. You are encouraged to refer to this information to maintain your website. Description in the ‘php.ini’ file. display_errors = off In “.htaccess” files. <Files php.ini> deny from all </Files>
- 1
- 2