• Resolved Melodyk

    (@melody62)


    Hi there

    Is there someone wo can tell me how to change the image wich appears on sticky post?

    I would like to replace both triangles with the same ‘pin and banner’ as does appear is this theme on wordpress.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • I couldn’t find a way to do it through the settings themselves so I edited the page code:

    Under Appearance > Editor, click on “header-banner.php”

    Find this:
    <img src=”<?php echo of_get_option(‘default_banner_image’); ?>” alt=”<?php bloginfo( ‘name’ ); ?>-Banner”>
    <?php else: ?>
    <img src=”<?php echo get_template_directory_uri() . ‘/includes/images/banner.jpg’?>” alt=”<?php bloginfo( ‘name’ ); ?>-Banner”>

    And replace the bits in quotes with the URL to your image (you can upload it to your media library)

    So it would look like:

    <img src=” your image url “>
    <?php else: ?>
    <img src=” your image url “>

    Tested and it works!

    Thread Starter Melodyk

    (@melody62)

    Thank you Emmyymme !

    I will give it a try ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change image in header Sticky’ is closed to new replies.