Before you ask please READ THIS

Changing logo link to point to a different page

in FatMoon Posts: 7
Hi,

I'm creating a portfolio site that will live on a hidden URL so the page will only be found by clients I send the link to. So the main domain (www.domain.co.uk) will have a holding page as a homepage. The folio site itself will live at www.domain.co.uk/folio.

However the folio site needs to function as a complete website, so when a user clicks the logo in the header I need them to return to the folio homepage (www.domain.co.uk/folio), not the real domain homepage (www.domain.co.uk).

So my question is, is there a way that I can override the default logo link and set it to point to a page of my choice?

Cheers

Comments

  • AirAir
    Posts: 10,970
    Hello :-)

    In such scenario best would be to put your wordpress installation in directory folio, and as your landing page put some static HTML.

    However you can keep your current setup and edit logo URL in fatmoon\advance\utilities\header.php line ~61, find there such code
    href="' . esc_url( home_url( '/' ) )
    and change to:
    href="' . esc_url( home_url( '/folio' ) )

    With kind regards.
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!

In this Discussion