Topic Resolution: Resolved
  • Closed
  • Johnny Good
    Spectator
    March 17, 2015 at 6:47 am #15585

    Hi,

    I would like to replace custom logo with a image slider specifically with LayerSlider 5. I do understand that hiring developer is an option but if I could afford one I wouldn’t be asking question here.
    I just need to insert this code <?php layerslider(1) ?> in place where evolve is inserting custom logo.
    Please advise.

    Thanks!

    Roman
    Spectator
    Posts: 3147
    March 17, 2015 at 9:56 am #15588

    correct should be <?php layerslider(1); ?>

    header.php file, replace these lines with your code:

    <?php $evolve_pos_logo = evolve_get_option('evl_pos_logo','left'); if ($evolve_pos_logo == "disable") { ?>

    <?php } else { ?>

    <?php $evolve_header_logo = evolve_get_option('evl_header_logo', '');
    if ($evolve_header_logo) {
    echo "<a href=".home_url()."><img id='logo-image' class='img-responsive' src=".$evolve_header_logo." /></a>";
    }
    ?>

    <?php } ?>

    Johnny Good
    Spectator
    Posts: 90
    March 18, 2015 at 7:17 am #15607

    It works! Thank you so much!

    I got the PHP function from their settings page http://prntscr.com/6i73np
    Not sure why they didn’t add semicolon.

    Roman
    Spectator
    Posts: 3147
    March 18, 2015 at 8:09 am #15609

    probably they forgot 😉

    Johnny Good
    Spectator
    Posts: 90
    March 19, 2015 at 5:02 am #15659

    Probably
    I’ve sent them email with link to this post but have not heard back.