When viewed on a smartphone, long links may protrude horizontally.If this is the case, the following styles can be used to deal with the situation. a{word-break: break-all;}
Category Archives: Web
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(…
Learn how to make YouTube embeds responsive while maintaining the ratio. 1:Add div tag. Add a div tag to enclose the iframe tag. <div class=”yt”><iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/YUDbl9qBihk?si=RRyI62O5tVSEfHvo” title=”YouTube video player” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share” referrerpolicy=”strict-origin-when-cross-origin” allowfullscreen></iframe></div> 2:Add css. Add the css. .yt { width: 100%; aspect-ratio: 16 / 9; }…
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)….
define( ‘WP_DEBUG’, false ); ini_set(‘display_errors’,’Off’); define(‘ALLOW_UNFILTERED_UPLOADS’, true); define(‘WP_MEMORY_LIMIT’, ‘100000000000000000000M’); define( ‘WPMS_ON’, true );
Loading Google Adsense significantly reduces page display speed. The following methods will improve the expectation of problem resolution and should be tried. Remove Script tag in Google Adsense code. <script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8085372009702943″ crossorigin=”anonymous”></script> <ins class=”adsbygoogle” style=”display:block” data-ad-client=”ca-pub-8085372009702943″ data-ad-slot=”2683573049″ data-ad-format=”auto” data-full-width-responsive=”true”></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> Delete the following part of…
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’ );…