This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Logo in Menu take you to different pages

Resolved 3 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

Is there anyway that the logo in menu could take the user to different pages depending on the page the user is???
This is the URL where the logo always takes you now:
qpuntto.com
My page is supposed to work as a service so what I want the logo to do is to take the user to the city page he selected on the home page (qpuntto.com) so it would work like this:
if the user is at:
qpuntto.com/xalapa/restaurantes/
and then he press the menu´s logo, take the user to:
qpuntto.com/xalapa
if the user is at:
qpuntto.com/tolucaymetepec/restaurantes/cliente1-3
and then he press the menu´s logo, take the user to:
qpuntto.com/tolucaymetepec
Is there a way to do what I want to????

URL: http://qpuntto.com/xalapa/restaurantes

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 10 years, 8 months ago

    Hi artvaz

    This unfortunately isn’t possible without custom coding. It might be easiest to get a developer to assist with this. We recommend https://codeable.io.

    You’ll need to use a child theme.
    Create a folder called “parts” in the child theme.
    Copy over masthead.php to the parts folder.
    Edit line 9 and use PHP conditional statements to set the URL depending on the location.

    It’s unfortunately a bit more than we can help with.

  2. artvaz 10 years, 8 months ago

    alright Andrew I managed how to solve that, but thanks for your advice

  3. Andrew Misplon Staff 10 years, 8 months ago

    Awesome, glad to hear you made progress on this. Nicely done :)

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread