• I’m currently using “Thematic” theme, and I’ve also installed the NAVT plug-in.

    But I’m working way beyond my competence level here, and am floundering.

    How do I put a button in my nav bar (the one just beneath the header image) which says “Blog Front Page”?

    Currently, the thematic template automatically creates a link button in that nav bar for every new page I create. But if someone goes to one of the pages, then they have no way to get back to the home or front page (except to click the “back” button.)

    Thanks for any help from out there… My site is here.

Viewing 10 replies - 1 through 10 (of 10 total)
  • I wonder if there is an option with that plugin to create a link for home?

    Thread Starter quercus

    (@quercus)

    Yes, there is. And I did create it. But I don’t know the CSS to put it into the nav bar, and to make it look like the other page link buttons that are already there. If I go to the WordPress Widgets page, there are some location options, because it shows up as a widget. But the nav bar doesn’t seem to be one of those location options.

    Speaking of those page link buttons, I also don’t know the CSS to change their color. Any ideas?

    I would like to do the same. I see on your site that you figured out how to do it, but can someone help me? ??

    Plus I have a page that I added in which a button does not appear. (A button automatically appeared for the first 2 pages I created.

    I am unable to use the NAVT plug-in. I have WP 2.6, and it is only compatible up to 2.5. I even tried to install it anyway to see if it worked, but it took my whole plug in activation page down. I had to delete it manually in FTP. (Meaning, don’t try this at home, folks!)

    I am trying to learn, but I have no idea where to start… with a css file or a php file. Help!

    Oh, here is my site: https://divaonadiet.com

    nerdmeyr

    (@nerdmeyr)

    To anyone else looking for a solution to the problem atlantadiva was having:

    IF your navbar is constructed using Pages (for example, if you’re using the plugin PageMash) AND your homepage is set to show blog posts (see: https://codex.www.ads-software.com/Creating_a_Static_Front_Page) AND what you’d like to do is have a nav bar entry that points back to the homepage (which is all recent blog posts), here’s what you do:

    1. Create a dummy page with no content
    2. In the Title of this dummy page, create an XHTML link that points back to the homepage’s URL: Home

    Once you save and publish this page, a new button will appear in your nav bar labeled Home (using the above example), and when people click on the Home nav bar button, the browser will redirect to https://MyAwesomeSite.com/blog .

    Hope this helps!

    danielshevchuk

    (@danielshevchuk)

    Hello,

    What you want to do is easily solved by following the instructions in this link. I just did it for my site and it is so easy.

    https://themeshaper.com/blog/functions-php-wordpress-child-themes/

    Daniel

    A dummy page is a workaround, but it’s a bit inelegant. The themeshaper article looked like anything but easy to me. But after a lot of searching, I found a very simple plugin that works great. It’s called “Home page link” and you can find it here:
    https://gmurphey.com/2007/07/31/wordpress-plugin-home-page-link/

    If you’re using WP 2.7.x (which you should be), then another solution is to use wp_page_menu rather than wp_list_pages to generate your menu. This gives you the option of adding a Home link using show_home=1 (see the codex for details).

    – Tim

    The simple way to do this with the thematic theme is to add the following code

    <?php
    function childtheme_menu_args($args) {
    $args = array(
    ‘show_home’ => ‘Home’,
    ‘sort_column’ => ‘menu_order’,
    ‘menu_class’ => ‘menu’,
    ‘echo’ => true
    );
    return $args;
    }
    add_filter(‘wp_page_menu_args’,’childtheme_menu_args’);
    ?>

    to your themes functions.php page.
    hope this helps

    Hey peeps, I recently installed wordpress on my main domain https://www.lucianvision.com.
    I’m presently using the Azul them, and need abit of help.

    Basically, in my navbar, it shows my pages…. “home” and “about”

    I want to know how to add some more links into my navbar, that are not pages… example, I want to add say… “forum” in my navbar, linking it to ” https://forum.lucianvision.com

    Any help is appreciated. Thanks

    Home link:

    <li class="page_item<?php if ( is_front_page() ) { echo ' current_page_item'; } ?>">
    <a href="<?php echo get_option('home'); ?>">Home</a></li>

    Forum Link:
    <li class="page_item<a href="https://yourlink.com/">Forum</a></li>

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How do I add a link to home into Nav Bar?’ is closed to new replies.