ThemeShaper Forums » Travailler

[closed]

home button

(2 posts)
  • Started 5 years ago by foxtrot
  • Latest reply from Chris
  • This topic is not resolved
  1. Hello Chris can you give some pointers:

    - how to create a home button in the travailler theme.
    Now the first page is a paginated post. Fine with me if only I could get a home button in the top navigation.

    - seconds. How to get a neat tab interface for the top navigation. Is it copy/paste and adjusting the Travailler styles.css?

    It's becoming more and more fun with WP and Themes!
    Thanks in advance for a reply & regards Fred

    Current private project: www.animation.nl/oefentof

    Posted 5 years ago #
  2. Hey Fred,

    add the following code (Home link) to the Travailler's functions.php:

    function childtheme_menu_args($args) {
        $args = array(
            'show_home' => 'Start',
            'sort_column' => 'menu_order',
            'menu_class' => 'menu',
            'echo' => true
        );
    	return $args;
    }
    add_filter('wp_page_menu_args','childtheme_menu_args');

    For the tab navigation you need to style #menu / .menu and all kind of sub-selectors in your style.css. But don't expect it to be a plain copy & paste job .. Might or might not work ;-)

    Cheers,

    Chris

    Posted 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.