• Danny

    (@dannyfoo)


    I followed the steps in the Custom Headers page (http://codex.ww.wp.xz.cn/Custom_Headers)..

    <script src=”http://pastebin.com/embed_js.php?i=ZdhHfJEY”></script&gt;

    but I get the following error generated in the source:

    <img src=”” height=”
    <b>Fatal error</b>: Call to undefined function get_custom_header() in <b>C:\xampp\htdocs\wp\wp-content\themes\name\home.php</b> on line <b>8</b>

    Is there something wrong with this line 8 which I got from the WordPress page?

    <img src=”<?php header_image(); ?>” height=”<?php echo get_custom_header()->height; ?>” width=”<?php echo get_custom_header()->width; ?>” alt=”” />

The topic ‘Custom Header dilemma’ is closed to new replies.