WordPress.org

Support

Support » Themes and Templates » move “blog” link to sidebar (static home page)

move “blog” link to sidebar (static home page)

  • Robin Urton
    Member

    @robin-urton

    I’m trying to configure a site where the home page is a static page (either “home” or “about”), and the blog link is represented by a link in the sidebar, instead of on the top navigation (if possible).

    I’ve found some info on how to create the static page for the home page, but my problem with that part is that if I set “home” as the landing page, it actually shows the link for “home” twice (because the theme I’m using forces “home” to be the name of this page by default)… trying to figure out where to change this, as I cannot find it in header.php.

    I am using the aesthete theme, and the site is melissacoeceremonies.com

    Many thanks for any help provided!

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi
    Forum Moderator

    @esmi

    Try looking in sidebar.php or check any files that are included within header.php. You’ll need to look for a hard-coded link that may look something like:

    <li><a href="<?php bloginfo('url');?>">Home</a></li>

    Robin Urton
    Member

    @robin-urton

    I couldn’t find an instance of this in either the header.php or sidebar. php. The closest thing I found were some instances of:

    <a href=”<?php echo get_option(‘home’);

    but I don’t know what to do with this. To prevent the navigation from doubling the “home” link do I replace ‘home’ with another page name… or?

    Sorry, I’m an html gal and can’t make much sense of what are probably simple answers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘move “blog” link to sidebar (static home page)’ is closed to new replies.