- Read the stylesheet. A child stylesheet must have
Template:
to function as a child theme.
somethemename - Look in Appearance -> Themes. A child theme should have a notice
about requiring a parent theme. -
Use code similar to this (note: debugging only):
add_action( 'wp_head', function () { if (get_template_directory() === get_stylesheet_directory()) { echo 'not a child'; } else { echo 'child'; } } );