insert code for head image

Community Forums Forums General Discussion insert code for head image

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  webnetimages 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3433

    webnetimages
    Participant
    Post count: 14

    Hi;

    needs to insert code to modifi head image by front end, but donĀ“t know were..

     

    The code is:

    Replace code like this (the ones needs to find in genesis):

    <img src=”<?php header_image(); ?>” width=”<?php echo $header_image_width; ?>” height=”<?php echo $header_image_height; ?>” alt=”” />

    with:

    <?php editable_image(
    ‘header-1′,
    get_bloginfo(‘template_url’) . ‘/images/header_1.jpg’,
    array(
    ‘width’ => 940,
    ‘height’ => 198,
    ‘alt’ => get_bloginfo(‘name’)
    )
    ); ?>

     

    Any idea?

    #14700

    SoZo
    Moderator
    Post count: 1573

    You can use the Simple Hooks plugin. Unhook the header and put your code in the header box


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #16386

    webnetimages
    Participant
    Post count: 14

    It will be for a multisite propuose so use “simple Hooks plugin in all the site will be no succesfull.

    Needs to put it in the funcions.php of the child theme

    any help?

    thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.