I updated the mysql from 5.0 to mysql 8.0 today, everything seemed smooth before I restarted the server, I changed the “nginx 301 https”, then restarted the service, I got this error: Then I login the mysql, I got this error: I checked all the solutions on the internet, and I used the following solution, …
Author: David
Preload Featured Images to Improve Google CLS Score
If you use featured images on the first screen of your site, the large feauted may affect your Google pagespeed socre, inorder to repload the image, you can use the following code to preload the images, in order to get a higher score. Copy and paste it to your theme’s funcion.php file.
How to Remove the Yoast SEO Plugin Breadcrumb Post Titles
Copy and paste the following php code into your WordPress theme’s function.php file.
Add a Back Link for Your Previous Page
There are 2 methods for going back to previous page using Anchor Tag <a>, below are 2 working methods and out of them 1st one is faster and have one great advantage in going back to previous page. 1. 2. Above method (2) only works ok if you have clicked on a link and opened link in a Current Tab in current browser window. …
Can’t Run the Xampp – Apache Error
I just want to test my new WordPress theme on my computer today, so I installed the XAMPP Apache + MariaDB + PHP + Perl package, but I can’t run the apache via there are some errors, I checked the error log and fixed most of the warnings, notice, etc, still can’t get the things …
Add Content After Theia Post Slider
// slider function my_custom_function( $html) { $html .= ‘ ‘; $html .= get_post_field(‘post_content’, $post_id); $html .= ‘ ‘; return $html; } $priority = 10; add_filter( ‘tps_the_content_after’, ‘my_custom_function’, $priority, 2 ); wp_register_script(‘clickmag’, get_template_directory_uri() . ‘/js/slider-handlers.js’, array(‘jquery’), ”, true);