WPIntell

Source evidence

A small fixup

Customizer Export/Import · review · 2024-02-04T08:34:00+00:00

praisesentiment
mediumseverity
0.63relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

review · 5 stars
spyrulis unresolved
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 //if ( $data['template'] != $template ) { // $cei_error = __( 'Error importing settings! The settings you uploaded are not for the current theme.', 'customizer-export-import' ); // return; //} Hi @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 ). This reply was modified 2 years, 3 months ago by Jamie . Reason: More info/docs

Comments

1 shown
Jamie 2024-02-04T18:59:00+00:00

Hi @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 ). This reply was modified 2 years, 3 months ago by Jamie . Reason: More info/docs