thematic theme - add HOME link


/ Published in: PHP
Save to your folder(s)

add home link


Copy this code and paste it in your HTML
  1. function childtheme_menu_args($args) {
  2. $args = array(
  3. 'show_home' => 'Home',
  4. 'sort_column' => 'menu_order',
  5. 'menu_class' => 'menu',
  6. 'echo' => true
  7. );
  8. return $args;
  9. }
  10. add_filter('wp_page_menu_args','childtheme_menu_args');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.