• I’d like to activate in other themes the exact default automatic menu feature found in twenty fourteen.

    I mean exactly the same behaviour, activated by default, fully automatic incorporation of new pages, subpages, and order of them.

    Where is the magic in twenty fourteen? Is it possible to activate it in other themes?

    In about 20 installations (WP as CMS, not for blogs) I’m not using any more modern themes just because of this.

    Thanks in advance,

    Alberto

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you talking about just the functionality of it rather than the look and feel? If so, the Twenty Fourteen theme uses the standard navigation function with no custom magic.
    https://themes.svn.www.ads-software.com/twentyfourteen/1.9/header.php

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I think what you want to do is enable the “automatically add” feature on your sites’ primary menus. This is a feature of all menus.

    Thread Starter albertodg

    (@albertodg)

    Thanks Andrew and Steve.

    In twenty fourteen, by default, there is no menu declared (in the menu page) but the top menu is visible an have this feature active.

    I would like to reproduce all this funcionality, that is, having a menu active by default with this feature on.

    On the other hand, I tried time ago to use a custom menu in twenty sixteen, but the order of pages was not upated (if I changed it) and subpages where not added nor updated, if I remember well.

    I tried to add the navigation code form 2014 header.php to the 2017 header.php, right now, and nothing happens. no menu visible. If I activate 2014, the menu is there, reflecting the pages.

    Thanks again.

    Alberto

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    What actually creates that menu of pages is the function wp_page_menu()

    Yes, it sounds a little odd but it is true. Behind the scenes, WordPress falls back to that function if the theme’s menu location is not chosen.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘clone twenty fourteen default auto menu to other themes’ is closed to new replies.