XML parsing error in Yoast sitemap.xml

Few days back I just faced an issue to generate SITEMAP.XML through “Yoast SEO plugin” on my website. So I searched on it and found that this issue was generating because of an outdated plugin which I wasn’t using on my website. So I just deactivated that plugin immediately and checked SITEMAP.XML. And now it’s working fine.

XML parsing error in Yoast

Here are some useful steps that we can follow for troubleshooting the issue:

  1. Uninstall the unnecessary or doubtful plugins one by one.
  2. If there is an empty line at the beginning (before the wp-config.php or functions.php file. Please remove it.

Enabling “Classic” Editor instead of “Gutenberg” in WordPress

Hello Guys,
As you know that WordPress has changed their default “Classic” content editor and replaced with “Gutenburg”. It comes with the newely “Twenty Nineteen” theme and WordPress 5.0.

“Gutenburg” has many new features which helps to style the content. But most of the people are still comfortable with “Classic” editor. Maybe it is a simple and user friendly as compare to new “Gutenburg”.

We can still continue with “Classic” editor. I’ll tell you how.

Steps to follow :–

1) It is very simple. Just download “Classic Editor” plugin in your site and activate it.
2) After installing the plugin go to “Writing” under “Settings” and select the option “Classic Editor”

Now you can continue with the “Classic” editor 🙂

Watch the video for more details

How to exclude specific blog categories from blog archive page

Hey Friends,
If you want to remove or hide any specific blog categories from the blog archive page in WordPress. So you just need to add the below function or hook in function.php file in your theme folder.


   function exclude_category( $query ) {
   if ( $query->is_home() && $query->is_main_query() ) {
   $query->set( 'cat', '-1, -2' ); //The IDs of the categories to exclude.
   }
   }
   add_action( 'pre_get_posts', 'exclude_category' );