• I hope I am posting this in the correct area.
    Is there a way to change the link of Home in a sidebar to go someplace else?
    This is what is currently set in the sidebar.php:

    <ul>
    				<?php wp_page_menu('show_home=1'); ?>
    			</ul>

    The site I am referring to is here:

    https://ectech.info/blog/

    You’ll notice that when you hover over Home that it points back to the site. I want to change that so that it goes to:

    https://ectech.info

    Is this possible? If so, how do I do that?
    Thanks ahead of time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter edtheuniquegeek

    (@edtheuniquegeek)

    Can anyone help with this?
    To describe this better, I would rather the Home link to a different URL than what is generated in the sidebar.php file.

    you might need to hand-code the home link:
    example:

    <ul>
    <li class="page_item">
    <a href="https://ectech.info/">Home</a>
    </li>
    				<?php wp_page_menu('show_home=0'); ?>
    			</ul>

    Thread Starter edtheuniquegeek

    (@edtheuniquegeek)

    That worked. Thanks.
    I was trying something similar before that didn’t work. I inserted the href but didn’t include:

    <li class="page_item">
    
    </li>

    Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘show_home=1 alternate link’ is closed to new replies.