WordPress.org

Support

Support » Plugins and Hacks » [Plugin: TheThe Image Slider] Where EXACTLY put code to replace header pic?

[Plugin: TheThe Image Slider] Where EXACTLY put code to replace header pic?

  • Hi all,

    page: playcentreforums.co.nz (not much to see yet).

    This is a steep learning curve for me, but I’m working on it. Please bear with me for a moment:

    I have my Twenty Eleven child theme, including a child header.php, which so far is an unaltered copy of the default twenty ten header.php.

    I understand that I have to copy the following into my child theme’s header.php, with “Landingpage” being the slider that I want to replace the static header picture with:

    if (function_exists('get_thethe_image_slider')) { print get_thethe_image_slider('Landingpage'); }

    I have some experience with HTML, CSS, and WordPress, but no experience with php, but I’m thinking that the two questions I have are probably not too hard:

    Q1: Where in the code of the child theme’s header.php exactly do I have to put the above code in order to replace the header picture of Twenty Eleven with the slider?

    Q2: Which parts of the existing code in the so far unaltered header.php do I need to change, delete, or replace with above code?

    I hope that I am right assuming that this can be answered in one or two lines. If not, I’d be very happy, too, if you write a few more lines – any help much appreciated!

    THANKS!

    Matt

  • The topic ‘[Plugin: TheThe Image Slider] Where EXACTLY put code to replace header pic?’ is closed to new replies.
Skip to toolbar