custom logo links to parent, not sub site

  • Author
    Posts
  • #7955
    Ben Ransom

    We’re using a custom logo in our Mantra 2.03 site. However, clicking on that logo links to the WPMU parent site, not the subsite. Have others encountered this, or how to fix?

    Thanks!

    #7956
    Ben Ransom

    I fixed this by changing mantra/includes/theme-functions.php from
    if (isset($mantra_logoupload) && ($mantra_logoupload != ”)) : echo ‘<div></div>’; endif;

    to
    if (isset($mantra_logoupload) && ($mantra_logoupload != ”)) : echo ‘<div></div>’; endif;

    #7980
    Ben

    whoops, i think that fix html got filtered. The point is to change href= “/”
    to href = esc_url( home_url( ‘/’)

    #8009
    Zed
    Cryout Creations mastermind

    Thank you for pointing that out. The fix will be included in the next update.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #8176
    Mario

    Thanks much Ben Ransom – could not for the life of me find the correct php to change the code. Without (mantra/includes/theme-functions.php) it was getting frustrating. I changed href=“/” to href=“http://mywebsite.net/subdomain/” and when I click on it now it goes straight to the home page.

    again thanks all…

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘custom logo links to parent, not sub site’ is closed to new replies.