Deduplicates "should menu show here" logic by removing that logic from partials/internal-subnav-dropdown.php, and setting that partial up to draw from variables passed via largo_render_template()
Adds new constant INN_PARENT_PAGE_IDS in functions.php, for containing an array of post IDs that should have this menu, and uses that for The Best of Nonprofit News 2019
Adds a note about an eventual rewrite of this section
Why
To make the Best of Nonprofit News 2019 have a menu to display its child pages.
Changes
partials/internal-subnav-dropdown.php
, and setting that partial up to draw from variables passed vialargo_render_template()
INN_PARENT_PAGE_IDS
infunctions.php
, for containing an array of post IDs that should have this menu, and uses that for The Best of Nonprofit News 2019Why
To make the Best of Nonprofit News 2019 have a menu to display its child pages.
Resolves https://github.com/INN/inn/issues/114
Questions