{"id":1204,"date":"2023-10-14T13:47:07","date_gmt":"2023-10-14T13:47:07","guid":{"rendered":"https:\/\/wpconsults.com\/?p=1204"},"modified":"2023-12-31T05:38:56","modified_gmt":"2023-12-31T05:38:56","slug":"how-create-wordpress-child-theme","status":"publish","type":"post","link":"https:\/\/www.wpconsults.com\/en_gb\/how-create-wordpress-child-theme\/","title":{"rendered":"How to Create a WordPress Child Theme"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When it comes to customizing your WordPress website, creating a child theme is a smart move. Learn how to create for WordPress child theme &#8211;  It allows you to make changes to your theme without losing any of the customizations when the theme updates. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, we will guide you through the process of creating a child theme manually and using a plugin for your WordPress website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-child-theme\">What is a Child Theme?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. It allows you to make modifications to your website&#8217;s design and functionality without affecting the original theme files. This is particularly useful when you want to customize your website while keeping the ability to update the parent theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-creating-a-child-theme-manually-method-1\">Creating a Child Theme Manually (Method 1)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now, let&#8217;s dive into the step-by-step process of creating a child theme:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a new folder in the &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">themes<\/mark>&#8216; directory of your WordPress installation. You can name it anything you like, but it&#8217;s best to use a name that reflects the parent theme.<\/li>\n\n\n\n<li>In the newly created folder, create a new file named &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">style.css<\/mark>&#8216;. This file will contain the CSS code for your child theme.<\/li>\n\n\n\n<li>In the &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">style.css<\/mark>&#8216; file, add the following code:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* \nTheme Name: <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">My Child Theme <\/mark>\nTemplate: <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">parent-theme <\/mark>\n*\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">My Child Theme<\/mark>&#8216; with the name of your child theme and &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">parent-theme<\/mark>&#8216; with the directory name of the parent theme.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Create a new file in the child theme folder named <strong>&#8216;<\/strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">functions.php<\/mark>&#8216;. This file will contain the PHP code for your child theme.<\/li>\n\n\n\n<li>In the &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">functions.php<\/mark>&#8216; file, add the following code:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\nadd_action( 'wp_enqueue_scripts', '<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">my_child_theme<\/mark>_enqueue_styles' );\n\nfunction <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">my_child_theme<\/mark>_enqueue_styles() {\n    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '\/style.css' );\n}\n\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This code enqueues the parent theme&#8217;s stylesheet. Replace <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">&#8220;my_child_theme&#8221;<\/mark> with the actual name you have given to your child theme. You can also add your own custom CSS and PHP code to modify the theme&#8217;s functionality.<\/p>\n\n\n\n<p class=\"has-theme-palette-6-color has-text-color has-small-font-size wp-block-paragraph\" style=\"letter-spacing:0px\"><em>Note: The only required file for your child theme is style.css. However, for most users, the primary purpose of creating a child theme is to modify or add functions. To achieve this, you need to create a functions.php file. This file can remain empty and does not serve as a template file, so there&#8217;s no need to copy it from the parent theme.<\/em> <em>If do do not need to add any functions you can simply skip it.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-activate-the-child-theme\">Activate the Child Theme<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have created the child theme, it&#8217;s time to activate it:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Login to your WordPress admin dashboard.<\/li>\n\n\n\n<li>Navigate to &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Appearance&#8217; &gt; &#8216;Themes<\/mark>&#8216;.<\/li>\n\n\n\n<li>You will see your newly created child theme listed. Click on the <strong>&#8216;<\/strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Activate<\/mark>&#8216; button to activate it.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it.<\/p>\n\n\n<style>.wp-block-kadence-advancedheading.kt-adv-heading1204_1ab052-0b, .wp-block-kadence-advancedheading.kt-adv-heading1204_1ab052-0b[data-kb-block=\"kb-adv-heading1204_1ab052-0b\"]{font-style:normal;}.wp-block-kadence-advancedheading.kt-adv-heading1204_1ab052-0b mark.kt-highlight, .wp-block-kadence-advancedheading.kt-adv-heading1204_1ab052-0b[data-kb-block=\"kb-adv-heading1204_1ab052-0b\"] mark.kt-highlight{font-style:normal;color:#f76a0c;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.wp-block-kadence-advancedheading.kt-adv-heading1204_1ab052-0b img.kb-inline-image, .wp-block-kadence-advancedheading.kt-adv-heading1204_1ab052-0b[data-kb-block=\"kb-adv-heading1204_1ab052-0b\"] img.kb-inline-image{width:150px;vertical-align:baseline;}<\/style>\n<h2 class=\"kt-adv-heading1204_1ab052-0b wp-block-kadence-advancedheading\" data-kb-block=\"kb-adv-heading1204_1ab052-0b\">Creating a Child Theme Using a Plugin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While creating a child theme manually requires some coding knowledge, there is an easier way to do it &#8211; by using a plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this part o the blog post, I will guide you through the process of creating a child theme using a plugin, step by step.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install and Activate the Child Theme Plugin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The first thing you need to do is install and activate a child theme plugin. There are several plugins available in the WordPress repository, but for this tutorial, we will be using the &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Child Theme Configurator<\/mark>&#8216; plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to your WordPress dashboard, navigate to &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Plugins&#8217; &gt; &#8216;Add New<\/mark>&#8216;, search for &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Child Theme Configurator<\/mark>&#8216;, and click on &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Install Now<\/mark>&#8216; and then &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Activate<\/mark>&#8216;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure the Child Theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once the plugin is activated, you will see a new menu item called <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">&#8216;Child Themes&#8217; in your WordPress dashboard. <\/mark>Click on it to configure your child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the &#8216;Child Themes&#8217; page, you will find a list of your installed themes. Select the parent theme for which you want to create a child theme and click on <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">&#8216;Analyze&#8217;<\/mark>. The plugin will analyze the parent theme and create a child theme for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After the analysis is complete, you will be redirected to the <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">&#8216;Edit Child Theme&#8217;<\/mark> page. Here, you can customize various aspects of your child theme, such as the name, description, author, and version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Customize the Child Theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now that your child theme is created, it&#8217;s time to start customizing it. You can make changes to the CSS, functions, and template files of your child theme without affecting the parent theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To make CSS changes, go to &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Appearance&#8217; &gt; &#8216;Customize<\/mark>&#8216; in your WordPress dashboard. You will see a new section called &#8216;Child Theme&#8217; where you can add your custom CSS code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to make changes to the functions.php file, go to &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Appearance&#8217; &gt; &#8216;Editor<\/mark>&#8216; and select your child theme from the dropdown menu. You can then add your custom PHP code to the functions.php file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Activate the Child Theme<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you are done customizing your child theme, it&#8217;s time to activate it. Go to <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">&#8216;Appearance&#8217; &gt; &#8216;Themes&#8217;<\/mark> in your WordPress dashboard and you will see your child theme listed there. Simply click on the &#8216;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-1-color\">Activate<\/mark>&#8216; button to activate your child theme.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it! You have successfully created a child theme using a plugin. Now you can make changes to your theme without worrying about losing your customizations.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\" id=\"h-need-a-professional-website\">Need a Professional Website? <\/h2>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">If you need professional assistance in creating websites or landing pages, we are here to help. Contact us today to discuss your requirements and get started on your project.<\/p>\n\n\n<style>.wp-block-kadence-advancedbtn.kb-btns1204_502f72-81{gap:var(--global-kb-gap-xs, 0.5rem );justify-content:center;align-items:center;}.kt-btns1204_502f72-81 .kt-button{font-weight:normal;font-style:normal;}.kt-btns1204_502f72-81 .kt-btn-wrap-0{margin-right:5px;}.wp-block-kadence-advancedbtn.kt-btns1204_502f72-81 .kt-btn-wrap-0 .kt-button{color:#555555;border-color:#555555;}.wp-block-kadence-advancedbtn.kt-btns1204_502f72-81 .kt-btn-wrap-0 .kt-button:hover, .wp-block-kadence-advancedbtn.kt-btns1204_502f72-81 .kt-btn-wrap-0 .kt-button:focus{color:#ffffff;border-color:#444444;}.wp-block-kadence-advancedbtn.kt-btns1204_502f72-81 .kt-btn-wrap-0 .kt-button::before{display:none;}.wp-block-kadence-advancedbtn.kt-btns1204_502f72-81 .kt-btn-wrap-0 .kt-button:hover, .wp-block-kadence-advancedbtn.kt-btns1204_502f72-81 .kt-btn-wrap-0 .kt-button:focus{background:#444444;}<\/style>\n<div class=\"wp-block-kadence-advancedbtn kb-buttons-wrap kb-btns1204_502f72-81\"><style>ul.menu .wp-block-kadence-advancedbtn .kb-btn1204_b4e96c-db.kb-button{width:initial;}<\/style><a class=\"kb-button kt-button button kb-btn1204_b4e96c-db kt-btn-size-standard kt-btn-width-type-auto kb-btn-global-fill kt-btn-has-text-true kt-btn-has-svg-false wp-block-kadence-singlebtn\" href=\"https:\/\/wpconsults.com\/contact\/\" rel=\"nofollow noopener\" target=\"_blank\"><span class=\"kt-btn-inner-text\">Start a Conversation<\/span><\/a>\n\n<style>ul.menu .wp-block-kadence-advancedbtn .kb-btn1204_97cf32-f7.kb-button{width:initial;}<\/style><a class=\"kb-button kt-button button kb-btn1204_97cf32-f7 kt-btn-size-standard kt-btn-width-type-auto kb-btn-global-fill kt-btn-has-text-true kt-btn-has-svg-false wp-block-kadence-singlebtn\" href=\"https:\/\/wpconsults.com\/schedule-a-meeting\/\" rel=\"nofollow noopener\" target=\"_blank\"><span class=\"kt-btn-inner-text\">Schedule a meeting<\/span><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to customizing your WordPress website, creating a child theme is a smart move. Learn how to create for WordPress child theme &#8211; It allows you to make changes to your theme without losing any of the customizations when the theme updates. In this blog post, we will guide you through the process&#8230;<\/p>","protected":false},"author":1,"featured_media":3246,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7],"tags":[64],"class_list":["post-1204","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tips-tutorials","tag-without-plugin-series"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1280%2C720&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pboFy3-jq","jetpack-related-posts":[{"id":2444,"url":"https:\/\/www.wpconsults.com\/en_gb\/change-wp-admin-url-without-plugin\/","url_meta":{"origin":1204,"position":0},"title":"Change &#8220;wp-admin&#8221; URL Without Plugin","author":"Abdullah Nouman","date":"December 31, 2023","format":false,"excerpt":"Changing the default WordPress login URL from \"wp-admin\" to a custom URL is a proactive security measure that helps safeguard your site against potential threats. \"There are tons of 3rd party plugin to do it but remember they may slow down your website also may cause security threat.\" 1. Backup\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"How To Change wp-admin URL Without Plugins","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/change-wp-admin-manually-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/change-wp-admin-manually-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/change-wp-admin-manually-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/change-wp-admin-manually-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/change-wp-admin-manually-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2271,"url":"https:\/\/www.wpconsults.com\/en_gb\/wordpress-vs-octobercms\/","url_meta":{"origin":1204,"position":1},"title":"WordPress vs OctoberCMS: Which One To Choose?","author":"Abdullah Nouman","date":"December 11, 2023","format":false,"excerpt":"Choosing the right Content Management System (CMS) is crucial for building a successful website. Two popular options are WordPress and OctoberCMS, each with its strengths and weaknesses. This guide will help you understand the key differences between these platforms and determine the best fit for your needs. WordPress vs OctoberCMS\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1936,"url":"https:\/\/www.wpconsults.com\/en_gb\/read-more-link-to-copied-text\/","url_meta":{"origin":1204,"position":2},"title":"Add &#8216;Read more link to copied text in WordPress","author":"Abdullah Nouman","date":"November 21, 2023","format":false,"excerpt":"One strategy that has gained traction in recent years is the incorporation of \"Read more\" links into copied text. These seemingly simple links offer a wealth of benefits, from boosting website traffic and enhancing user experience.","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3142,"url":"https:\/\/www.wpconsults.com\/en_gb\/fix-your-sitemap-appears-to-be-an-html-page-error\/","url_meta":{"origin":1204,"position":3},"title":"How to Fix &#8220;Your Sitemap Appears to Be An HTML Page&#8221; Error [Proven]","author":"Abdullah Nouman","date":"May 8, 2024","format":false,"excerpt":"Ever submitted your website's sitemap to Google Search Console only to be met with the confusing message: \"Your Sitemap Appears to Be An HTML Page\"? Fear not, website warriors! This isn't uncommon, and fixing it is a breeze. 1. What's the Big Deal with Sitemaps? Search engines like Google rely\u2026","rel":"","context":"In &quot;Search Console Tips &amp; Tutorials&quot;","block_context":{"text":"Search Console Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/search-console-tips-and-tutorials\/"},"img":{"alt_text":"Image showing Your Sitemap Appears to Be An HTML Page error on google search console","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/Html-sitemap-errorl.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/Html-sitemap-errorl.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/Html-sitemap-errorl.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/Html-sitemap-errorl.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/Html-sitemap-errorl.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2523,"url":"https:\/\/www.wpconsults.com\/en_gb\/duplicate-posts-pages-in-wordpress\/","url_meta":{"origin":1204,"position":4},"title":"How to Duplicate Posts and Pages Without Plugin in WordPress","author":"Abdullah Nouman","date":"January 3, 2024","format":false,"excerpt":"Duplicating existing content can save you time and effort, allowing you to quickly create new variations of page, post or landing page without starting from scratch. While WordPress doesn't have a built-in duplicate feature, you can easily add this functionality using a simple code snippet. Here's a step-by-step guide: 1.\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2990,"url":"https:\/\/www.wpconsults.com\/en_gb\/is-your-wordpress-theme-hurting-your-seo\/","url_meta":{"origin":1204,"position":5},"title":"Is Your WordPress Theme Hurting Your SEO? How to Choose Wisely","author":"Abdullah Nouman","date":"March 15, 2024","format":false,"excerpt":"WordPress is a fantastic platform for building websites \u2013 it's flexible, powerful, and boasts a massive user community. But with so many themes available, how do you know if the pretty design you've got your eye on is also built with search engine success in mind? A poorly constructed WordPress\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"SEO Steps for beginners","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/10\/63c2bb8b74f934a46ea5a35e_SEO-For-Beginners-01.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/10\/63c2bb8b74f934a46ea5a35e_SEO-For-Beginners-01.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/10\/63c2bb8b74f934a46ea5a35e_SEO-For-Beginners-01.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/10\/63c2bb8b74f934a46ea5a35e_SEO-For-Beginners-01.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/10\/63c2bb8b74f934a46ea5a35e_SEO-For-Beginners-01.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/posts\/1204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/comments?post=1204"}],"version-history":[{"count":0,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/posts\/1204\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/media\/3246"}],"wp:attachment":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/media?parent=1204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/categories?post=1204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/tags?post=1204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}