• How can I be sure my child theme files (content.php and index.php, for example) are overriding the parent Hueman theme?

    As I update my content.php file, I see no change.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi mavieth, are you using the sample child theme as base for your child theme? (download link in Theme Options > Help dropdown top right)

    It should override content.php I think, if the child theme is added correctly and is activated as the active theme in Theme Options > Appearance.

    @mavieth You may also want to place this code in your child theme files for debugging

    if( current_user_can( 'edit_themes' ) ):
    echo '<!--Loaded file: ' . __FILE__ . '-->';
    endif;

    This will print a HTML comment (only for administrators) containing the file path of the currently loaded template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Proper use of child theme’ is closed to new replies.