• I’m developing a theme.. In that on every page, header contains logo as well as one image that is uploaded by admin both.
    please help me..

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m not sure what you want..

    Different image in every header?

    I would use “firebug” addon in firefox and then try some changes in your header.php (make a copy first)

    rangi

    Thread Starter himali

    (@himali)

    actually in header, it contains
    logo of site and name of site
    below that menu bar
    below that one image that is uploaded by user

    in appearance->header I set logo of site
    now i dont understand how to add image and how user can upload it..
    my code is

    <div id="header">
         <div id="logo">
                <a href="<?php echo home_url('/'); ?>"><img src="<?php header_image(); ?>" width="<?php if(function_exists('get_custom_header')) { echo get_custom_header() -> width;} else { echo HEADER_IMAGE_WIDTH;} ?>" height="<?php if(function_exists('get_custom_header')) { echo get_custom_header() -> height;} else { echo HEADER_IMAGE_HEIGHT;} ?>" alt="<?php bloginfo('name'); ?>" /></a>
            </div><!-- end of #logo -->
          <div id="pgimage">
         //want image
          </div><!-- end of #pgimage -->
     </div><!-- end of #header -->

    Do you have a link to your site?

    Thread Starter himali

    (@himali)

    unfortunately.. no

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Which theme is this regarding?

    then I can’t help, sorry! Would like to, but I lost my crystal ball! 😉

    Thread Starter himali

    (@himali)

    theme is like ‘responsive theme’… but only change that i want one additional image in header below menu bar

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where did you get this theme from?

    Thread Starter himali

    (@himali)

    i’m trying to develop a theme.. like this.. as per my requirements

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘how to add logo and image both in page header’ is closed to new replies.