Where did you download the theme from?
Can you revert to the original, unedited theme and see if the error continues?
BTW, when you create a child theme, you do not edit/ customize the parent theme at all. Whatever changes you make are only in the child theme.
For now it works as I’ve changed the call to stylesheet in parent functions.php back to the original get_template_uri as opposed to get_style_uri. Ofcourse it follows that my stylesheet is not applying anymore as that was the only solution i had found for overriding parent stylesheet with child stylesheet
Are you running the child theme or the parent theme? If you want to run the child theme, try to start with only the CSS, and if needed, add the other templates that you want to modify.
I’m running the child theme, but my style.css won’t override the parent theme’s style…would you happen to know a good way?
Do you have all these – see CSS file – or importing parent CSS + adding your own CSS?
I imported from the parents CSS and added my own (but these that I added are just sections of the parent css but changed to have different values)
I’ve recently seen an almost identical topic about this theme (which, unfortunately, I cannot locate now). But from what I recall, there may be an issue within this theme that means it’s currently not child theme friendly.
It might be worth trying to contact the theme’s developer by posting in http://wordpress.org/support/theme/ambrosia
i had changed
wp_enqueue_style('main', get_template_directory_uri() . '/style.css');
to
wp_enqueue_style('main', get_style_directory_uri() . '/style.css');
in parent functions.php
and
//Custom menu support
/*if ( function_exists( 'register_nav_menus' ) ) {
register_nav_menus(
array(
'main' => __('Sidebar main menu'),
'secondary' => __('Sidebar secondary menu'),
)
);
}
// Ambrosia Custom Menus Callback (HTML5 markup)
// Categories menu
function ambrosia_category_menu_cb() {
print '<nav class="main"><ul>';
wp_list_categories('orderby=name&title_li=');
print '</ul></nav>';
}
// Pages menu
function ambrosia_pages_menu_cb() {
print '<nav class="secondary">';
wp_page_menu('sort_column=menu_order&*/
menu_class=pages');
print '</nav>';
}
from parent functions.php to
//Custom menu support
if ( function_exists( 'register_nav_menus' ) ) {
register_nav_menus(
array(
'first' => __('Sidebar first menu'),
'second' => __('Sidebar second menu'),
'third' => __('Sidebar third menu'),
'fourth' => __('Sidebar fourth menu'),
'fifth' => __('Sidebar fifth menu'),
)
);
}
function ambrosia_category_menu_cb() {
print '<nav class="first"><ul>';
wp_list_categories('orderby=name&title_li=');
print '</ul></nav>';
print '<nav class="second"><ul>';
wp_list_categories('orderby=name&title_li=');
print '</ul></nav>';
print '<nav class="third"><ul>';
wp_list_categories('orderby=name&title_li=');
print '</ul></nav>';
print '<nav class="fourth"><ul>';
wp_list_categories('orderby=name&title_li=');
print '</ul></nav>';
print '<nav class="fifth"><ul>';
wp_list_categories('orderby=name&title_li=');
print '</ul></nav>';
}
in the new child functions.php and that’s when it gave the warning
As esmi suggested above, the theme may not be child theme friendly. So, if at all you want to try, try only with the style sheet in the child theme. Put back the original functions.php file.