Before you ask please READ THIS

Changing the "link" behind the shield

edited March 2015 in Chillout Posts: 14
When you add logo or text to the shield on top it is automatically linked to your website .com.
I'd like to change that. This is for a restaurant and we are trying to emphasis online ordering so I've used that space or promote online ordering and i'd like for when people click that "shield" that they be taken to our online ordering page instead of just back to the home page. Where in the files can I find that URL?

Comments

  • edited March 2015 Posts: 1,758
    Hi,
    this url is generated in menu_bar.php file, line 16:
    <a id="logo" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php
    Post edited by surgeon on
    Remember to rate our theme if you like it ;)
    All the Best.
  • so i would replace
    '/'

    with

    "bimbamburger.com/online-menu"
    or do I replace

    "<?php echo esc_url( home_url( '/' ) ); ?>"
  • Posts: 1,758
    the socond variant.
    In the end this line of code will be like this:
    <a id="logo"  href="bimbamburger.com/online-menu" title=""><?php
    and You probably want to change the title of this link, so put the text You want into 'title' attribute.
    Remember to rate our theme if you like it ;)
    All the Best.
  • Wonderful! Thank you!
  • Surgeon,

    Thank you! Took us a bit to get to a point of trying this out, but it worked great! Thanks so much!

    Laurie
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!