{"id":18898,"date":"2012-07-05T01:55:39","date_gmt":"2012-07-05T01:55:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/subpages-in-context\/"},"modified":"2012-07-12T02:43:28","modified_gmt":"2012-07-12T02:43:28","slug":"subpages-in-context","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/subpages-in-context\/","author":7673108,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2","stable_tag":"0.2","tested":"3.4.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Subpages in Context","header_author":"Brenda Egeland","header_description":"","assets_banners_color":"bed0e5","last_updated":"2012-07-12 02:43:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.redletterdesign.net\/wp\/subpages-in-context","header_author_uri":"http:\/\/www.redletterdesign.net\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4597,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"0.2":"<p>Adds option to omit top-most page from output list.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"567617","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538903","resolution":"1","location":"plugin"}},"screenshots":{"1":"The Subpages In Context Widget"}},"plugin_section":[],"plugin_tags":[1753,243,7315,241],"plugin_category":[43],"plugin_contributors":[83746],"plugin_business_model":[],"class_list":["post-18898","plugin","type-plugin","status-closed","hentry","plugin_tags-navigation","plugin_tags-pages","plugin_tags-subpages","plugin_tags-widgets","plugin_category-customization","plugin_contributors-brendaegeland","plugin_committers-brendaegeland"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/subpages-in-context_bed0e5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/subpages-in-context\/trunk\/screenshot-1.png?rev=1538903","caption":"The Subpages In Context Widget"}],"raw_content":"<!--section=description-->\n<p>A common web design pattern is to have a primary navigation with the top level pages, and then a separate\nnavigation element on each page that shows only those pages related to a common top-most page. This widget helps\nto build those secondary navigation elements.<\/p>\n\n<p>If your page structure was like this:<\/p>\n\n<ul>\n<li>Home<\/li>\n<li>About<\/li>\n<li>-- Our History<\/li>\n<li>-- Our Staff<\/li>\n<li>-- -- Employment Opportunities<\/li>\n<li>Services<\/li>\n<li>-- Widget Development<\/li>\n<li>-- Gadget Deployment<\/li>\n<li>Contact Us<\/li>\n<\/ul>\n\n<p>and you added the widget with its default settings to a sidebar, it would create a list like this:<\/p>\n\n<ul>\n<li>About<\/li>\n<li>Our History<\/li>\n<li>Our Staff<\/li>\n<li>-- Employment Opportunities<\/li>\n<\/ul>\n\n<p>on <strong>any<\/strong> of the pages in the About subtree. Notice that the top-most ancestor, About, is included as the first element of the list.<\/p>\n\n<h4>Options<\/h4>\n\n<ol>\n<li><strong>Title<\/strong>. The widget title. If left blank, it defaults to the title of the top ancestor page.<\/li>\n<li><strong>Show Title<\/strong>. Maybe you don't want a title. Just turn it off here.<\/li>\n<li><strong>Top Page<\/strong>. You can select one of your pages to be the top page, or you can choose Default, which determines the top-most ancestor of the page being displayed.<\/li>\n<li><strong>Menu Class<\/strong>. Gets applied to the outermost &lt;ul&gt; element.<\/li>\n<li><strong>Before Links<\/strong>. HTML to be inserted before links in the list.<\/li>\n<li><strong>After Links<\/strong>. HTML to be inserted after links in the list.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip the latest release zip file<\/li>\n<li>Upload the entire subpages-in-context directory to your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<ul>\n<li>Fixed bug in widget form settings<\/li>\n<li>Added option to omit top-most page from output list<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"Lists pages and subpages for a given page, or the top ancestor of the current page and all of the ancestor&#039;s descendants","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18898"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/brendaegeland"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18898"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18898"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18898"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18898"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18898"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}