• I’d like the hyperlink on my site identity to go to a different page. i.e. click on my name at the top of the page, and have it go to another site instead of home on this one.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • You’ll need to modify your template code for that by shutting off the original code and replacing that with a hardcoded text and link code.

    Not something done by the WordPress itself or a plugin that I know of but fairly easy for a theme dev to figure out.

    My recommendation is to put the link into the menu where it’s much easier to do, there’s a mechanism to do that and it will probably serve your purposes and your visitors better.

    You can optionally point your home menu button to point back to a site you consider ‘the home site’ if you want. I’ve done both menu options and they both add clarity to the navigation options that way.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If your theme uses the_custom_logo() in its header to get the logo and link, then you could add a filter in functions.php or in a plugin that would change the link.

    You can see where apply_filters is called at the end of the function: https://developer.ww.wp.xz.cn/reference/functions/get_custom_logo/, so you should able to write a callback function for add_filter.

    I assume you’d have to look at $html and replace the link.

    Thread Starter jgwalter930

    (@jgwalter930)

    Thanks for the responses.

    I agree, the ‘Home’ item in the menu is doing exactly what I want. I had just hoped that there might be a simple solution such as adding some ‘additional CSS’as I did to center the header.

    There might be a CSS solution, too. I don’t know and I stink at CSS!! I detest design and coding work… it’s just a necessary evil to me.

    So stay tuned just in case someone else has a suggestion.

    In the meantime read up on that link Steven suggested.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Site Identity Link’ is closed to new replies.