WordPress.org

Ready to get started?Download WordPress

Forums

move "blog" link to sidebar (static home page) (3 posts)

  1. Robin Urton
    Member
    Posted 4 years ago #

    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!

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    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>

  3. Robin Urton
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic