• I created a child theme of twenty twelve theme so I could do some customizing and not lose them with updates. I used one click child theme plugin to avoid having to use FTP, however it doesn’t appear to have setup the theme functions properly?

    For example, I want to move the header image in twenty twelve theme above the main top menu, to do this I need to edit header.php file – which isn’t shown.

    In fact, all I have is a functions.php file which shows this code in it’s entirety:

    ‘<?php
    //
    // Recommended way to include parent theme styles.
    // (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
    //
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array(‘parent-style’)
    );
    }
    //
    // Your code goes below
    //’

    How do I edit header.php file if it’s not there? Anyone can help?

    https://wordpress.org/plugins/one-click-child-theme/

Viewing 1 replies (of 1 total)
  • Did you try to add them already or did you go directly to the editor ? If so, you have to add the files using the “child theme” item in the appearance menu. They are not added automatically, you only add the ones you need.

Viewing 1 replies (of 1 total)
  • The topic ‘Where is the templates and functions files like header.php ???’ is closed to new replies.