Changeset 2720066
- Timestamp:
- 05/08/2022 06:13:00 AM (4 years ago)
- Location:
- inner-page-menu/trunk
- Files:
-
- 2 edited
-
Readme.txt (modified) (5 diffs)
-
index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inner-page-menu/trunk/Readme.txt
r1653232 r2720066 4 4 Tags: menu, add menu, inner page menu 5 5 Requires at least: 3.1 6 Tested up to: 4.7.46 Tested up to: 6.0 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 15 15 This plugin adds a clean, simple meta box to Page allowing you to select a menu to display. Perfect for inner page sidebars. 16 16 17 Simply activate the plugin, then add `<?php inner_page_menu(); ?>` in your theme page or sidebar template where you want the inner menus to appear.17 Simply activate the plugin, then add `<?php inner_page_menu(); ?>` in your theme page or sidebar template, or use shortcode `[inner-page-menu]` (eg in a sidebar widget), where you want the inner menus to appear. 18 18 19 19 == Installation == … … 21 21 1. Upload the `inner-page-menu` folder to the `/wp-content/plugins/` directory 22 22 1. Activate the Inner Page Menu plugin through the 'Plugins' menu in WordPress 23 1. Add `<?php inner_page_menu(); ?>` in your theme page or sidebar template where you want the inner menus to appear.23 1. Add `<?php inner_page_menu(); ?>` in your theme page or sidebar template or use shortcode `[inner-page-menu]` (eg in a sidebar widget) where you want the inner menus to appear. 24 24 25 25 == Frequently Asked Questions == 26 26 27 = WordPress has a built in custom menu widget which you can use in a sidebar - why not use that? = 28 The built in widget is perfect if you want the SAME menu to appear in the sidebar across a lot of pages. 29 But this plugin allows you to control the sidebar menu for each page individually. In other words, you can set a DIFFERENT menu for each page. 30 31 = What's this plugin used for? = 32 Perfect for displaying child pages in the sidebar, instead of using a drop-down menu. 27 None yet. 33 28 34 29 == Screenshots == … … 39 34 == Changelog == 40 35 36 = 1.1 = 37 * Added shortcode 38 * Tested with newer WordPress versions 39 41 40 = 1.0 = 42 41 * Initial release … … 44 43 == Upgrade Notice == 45 44 45 = 1.1 = 46 * Added shortcode 47 * Tested with newer WordPress versions 48 46 49 = 1.0 = 47 50 * Initial release -
inner-page-menu/trunk/index.php
r1653232 r2720066 4 4 Plugin URI: https://wordpress.org/plugins/inner-page-menu 5 5 Description: Add dynamic menus to your inner pages 6 Author: EnigmaWeb7 Version: 1. 08 Author URI: https:// profiles.wordpress.org/enigmaweb/6 Author: Maeve Lander 7 Version: 1.1 8 Author URI: https://maevelander.net 9 9 */ 10 10 … … 87 87 } 88 88 } 89 90 //=========> Create shortcode [inner-page-menu] 91 add_shortcode('inner-page-menu', 'inner_page_menu'); 92 89 93 ?>
Note: See TracChangeset
for help on using the changeset viewer.