Title: A small fixup
Last modified: February 4, 2024

---

# A small fixup

 *  [spyrulis](https://wordpress.org/support/users/spyrulis/)
 * (@spyrulis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/a-small-fixup/)
 * Thanks for the awesome plugin, it saved me some hours.
   I encountered a small 
   problem that you can reproduce with the theme called Hestia, this theme doesn’t
   appear to have the value “Template” at the beginning of its styles.css so moving
   the configs to a child theme didn’t work.I simply removed the lines around 300
   in :customizer-export-import/classes/class-cei-core.php
 *     ```wp-block-code
       //if ( $data['template'] != $template ) {
       //	$cei_error = __( 'Error importing settings! The settings you uploaded are not for the current theme.', 'customizer-export-import' );
       //	return;
       //}
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [Jamie](https://wordpress.org/support/users/codente/)
 * (@codente)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/a-small-fixup/#post-17397452)
 * Hi [@spyrulis](https://wordpress.org/support/users/spyrulis/), the template line
   isn’t required for a parent theme, only for a child theme so WordPress knows 
   what the parent theme is.
 * From the docs:
    There is one caveat to the Template field. It must be a 100% 
   match of the folder name of the parent theme, relative to the wp-content/themes
   folder. In this case, we know that the Twenty Twenty-Four theme folder is located
   at wp-content/themes/twentytwentyfour. Therefore, the Template value must be 
   twentytwentyfour.`
 * [https://developer.wordpress.org/themes/advanced-topics/child-themes/#:~:text=Create%20a%20style.css,-Now%20you’ll&text=It%20is%20the%20one%20absolutely,have%20not%20already%20done%20so](https://developer.wordpress.org/themes/advanced-topics/child-themes/#:~:text=Create%20a%20style.css,-Now%20you’ll&text=It%20is%20the%20one%20absolutely,have%20not%20already%20done%20so)).
    -  This reply was modified 2 years, 4 months ago by [Jamie](https://wordpress.org/support/users/codente/).
      Reason: More info/docs

Viewing 1 replies (of 1 total)

The topic ‘A small fixup’ is closed to new replies.

 * ![](https://ps.w.org/customizer-export-import/assets/icon-256x256.jpg?rev=1049984)
 * [Customizer Export/Import](https://wordpress.org/plugins/customizer-export-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/customizer-export-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/customizer-export-import/)
 * [Active Topics](https://wordpress.org/support/plugin/customizer-export-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customizer-export-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customizer-export-import/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jamie](https://wordpress.org/support/users/codente/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/a-small-fixup/#post-17397452)