WordPress.org

Ready to get started?Download WordPress

Forums

Missing Buttons for Pages & Adding New Buttons for External Links in thematic (4 posts)

  1. atlantadiva
    Member
    Posted 5 years ago #

    I am using the Thematic theme. I have made some modifications (without creating a child theme). This is all very new to me. And it took me FOREVER to make the changes I've made so far, and I have no idea how I did most of them.

    That being said, I have probably messed something up here. I added a fourth Page to my blog, and it did not automatically show up in the top nav menu bar (access area) as the others did (and still do). I double checked, and the page I created still exists, here: http://divaonadiet.com/diet-plans/. How do I get it to show up in the menu bar?

    I also want to create a button on the same bar for the home page as well as a button for an external link (an amazon store). I am not sure how to go about doing this, and I am afraid I might make things worse! Help!

    Here's my site: http://divaonadiet.com

  2. atlantadiva
    Member
    Posted 5 years ago #

    I deleted the page and recreated it, and it showed up. Not sure what happened there, but that part is now resolved!

    However, I am still trying to figure out how to add buttons to the menu for external links and a "home" link. I am going to try to figure it out with How I used a WordPress Child Theme To Redesign My Blog The Smart Way. But if anyone can give me the answer before I can figure it out, that would be great!

  3. atlantadiva
    Member
    Posted 5 years ago #

    I am still trying to figure out how to add menu buttons at the top for a "home" link, as well as external links. I know a little CSS, but not enough to know how to do this. Any help would be greatly appreciated!

  4. Ian Stewart
    Theme Wrangler
    Posted 5 years ago #

    Drop this into your Child Theme functions.php for the home link:

    // Adds a home link to your menu
    // http://codex.wordpress.org/Template_Tags/wp_page_menu
    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');

    As for adding other links, the "Page Links To" plugin will do the trick.

Topic Closed

This topic has been closed to new replies.

About this Topic