{"id":4413,"date":"2009-02-06T16:33:24","date_gmt":"2009-02-06T16:33:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-menu\/"},"modified":"2009-11-04T18:29:26","modified_gmt":"2009-11-04T18:29:26","slug":"wp-menu","status":"closed","type":"plugin","link":"https:\/\/en-au.wordpress.org\/plugins\/wp-menu\/","author":4215081,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.6","stable_tag":"0.2.6","tested":"2.8.2","requires":"2.6","requires_php":"","requires_plugins":"","header_name":"WP-Menu","header_author":"Vizion Interactive, Inc","header_description":"","assets_banners_color":"","last_updated":"2009-11-04 18:29:26","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.vizioninteractive.com\/","header_author_uri":"http:\/\/www.vizioninteractive.com\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":14668,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1","0.1.2","0.1.2.1","0.2","0.2.1","0.2.2","0.2.5","0.2.6"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[527,1865,1141,292],"plugin_category":[43],"plugin_contributors":[84714],"plugin_business_model":[],"class_list":["post-4413","plugin","type-plugin","status-closed","hentry","plugin_tags-custom","plugin_tags-menu","plugin_tags-theme","plugin_tags-wp","plugin_category-customization","plugin_contributors-vizioninteractive","plugin_committers-vizioninteractive"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-menu.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Customizable hook to pull Page Navigation into a theme. Page Exclusion, Inclusion, Site Map, Top Level, Secondary menus and more<\/p>\n\n<p><strong>Options:<\/strong><\/p>\n\n<ul>\n<li><strong>return<\/strong> = options (int): 0 = print \/ 1 = return {default = 0}<\/li>\n<li><strong>nav_type<\/strong> = options: single \/ secondary \/ sitemap \/ single_secondary {default = single}<\/li>\n<li><strong>nav_levels<\/strong> = options (int): 0 = all \/ 1+ = stop after level X {default = 0}<\/li>\n<li><strong>nav_tag<\/strong> = options: ul \/ ol \/ dl {default = ul}<\/li>\n<li><strong>nav_wrap<\/strong> = options (int): 0 = do not wrap the first level of navigation \/ 1 = wrap the first level of navigation in the normal tags (Ex: <code>&lt;ul&gt;...&lt;\/ul&gt;<\/code>) {default = 1}<\/li>\n<li><strong>nav_class<\/strong> = assign a class=\"....\" to navigation {default = none}<\/li>\n<li><strong>nav_id<\/strong> = assign an id=\"....\" to navigation {default = none}<\/li>\n<li><strong>div<\/strong> = div wrapper on menu (int) {default = 0}<\/li>\n<li><strong>div_class<\/strong> = <code>&lt;div class=\"....\"&gt;<\/code> {default = none}<\/li>\n<li><strong>div_id<\/strong> = <code>&lt;div id=\"....\"&gt;<\/code> {default = none}<\/li>\n<li><strong>heading<\/strong> = options: h2 \/ dt \/ 0 (off) {default = 0}<\/li>\n<li><strong>this_id<\/strong> = change the active ID (int) referenced {default = current post\/page ID}<\/li>\n<li><strong>parent_id<\/strong> = base the menus off of this ID {default = 0}<\/li>\n<li><strong>parent_href<\/strong> = base the menus off of this href {default = root of wordpress site}<\/li>\n<li><strong>active<\/strong> = options: item \/ link (this is what the selected class gets applied to) {default = item}<\/li>\n<li><strong>active_class<\/strong> = gets added to an item that is \"active\"; for example: class=\"selected\" {default = selected}<\/li>\n<li><strong>target<\/strong> = <code>&lt;a href=\"\/contact-us\/\" target=\"....\"&gt;Link&lt;\/a&gt;<\/code> {default = none}<\/li>\n<li><strong>accesskeys<\/strong> = Assign accesskeys; for example: accesskey=\"1\" {default = 1}<\/li>\n<li><strong>exclude<\/strong> = Do not show these IDs {default = none}<\/li>\n<li><strong>include<\/strong> = Show only these IDs {default = none}<\/li>\n<li><strong>exclude_uri<\/strong> = options: false = off \/ (string) (Do not show any pages that have this in their URL, Ex: thank-you) {default = false}<\/li>\n<li><strong>show_home<\/strong> = To show or not show the Home link, must provide home_path {default = 1}<\/li>\n<li><strong>home_path<\/strong> = The real home link! (ex: \/home\/) {default = \/home\/}<\/li>\n<li><strong>home_link<\/strong> = What we want home to link to! (ex: \/) {default = \/}<\/li>\n<li><strong>start_link<\/strong> = Adds a new menu item to the beginning of the menu (ex: \/) {default = false}<\/li>\n<li><strong>start_title<\/strong> = The new menu item's title (ex: Home) {default = Home}<\/li>\n<li><strong>nofollow<\/strong> = <code>&lt;a rel=\"nofollow\" ...<\/code> A comma-separated list of Page IDs to nofollow, you can also enter \"all\" to apply to all menu links (Ex: 1,4,5) {default = false}<\/li>\n<li><strong>unique_class<\/strong> = Current item's ID added to the class of the item (Ex: <code>class=\"prefix-PAGE_ID_HERE\"<\/code>) {default = 0}<\/li>\n<li><strong>unique_prefix<\/strong> = Gets added to the unique class (if on) (Ex: <code>class=\"wpmenu-PAGE_ID_HERE\"<\/code>) {default = wpmenu}<\/li>\n<li><strong>c2p_cid<\/strong> = Catgory ID for Category=Page (category called press releases) {default = none}<\/li>\n<li><strong>c2p_pid<\/strong> = Page ID for Category=Page (page called press releases) {default = none}<\/li>\n<li><strong>b2p_pid<\/strong> = Page ID for Blog (all posts) {default = none}<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>This function will automatically <code>print<\/code>.<\/p>\n\n<pre><code>&lt;?php wp_menu('nav_type=single_secondary&amp;nav_levels=2&amp;nav_tag=ul&amp;nav_id=nav&amp;exclude=17,21,19,3&amp;accesskeys=1&amp;active=item&amp;active_class=current&amp;b2p_pid=5'); ?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Unpack the entire contents of this plugin zip file into your <code>wp-content\/plugins\/<\/code> folder locally<\/li>\n<li>Upload to your site<\/li>\n<li>Navigate to <code>wp-admin\/plugins.php<\/code> on your site (your WP plugin page)<\/li>\n<li>Activate this plugin<\/li>\n<\/ol>\n\n<p>OR you can just install it with WordPress by going to Plugins &gt;&gt; Add New &gt;&gt; and type WP-Menu<\/p>","raw_excerpt":"Customizable hook to pull Page Navigation into a theme. Page Exclusion, Inclusion, Site Map, Top Level, Secondary menus and more","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4413"}],"author":[{"embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/vizioninteractive"}],"wp:attachment":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4413"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4413"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4413"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4413"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4413"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}