{"id":411112,"date":"2026-12-03T18:11:52","date_gmt":"2026-12-03T18:11:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/presswell-site-structure\/"},"modified":"2026-12-03T18:11:41","modified_gmt":"2026-12-03T18:11:41","slug":"presswell-site-structure","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/presswell-site-structure\/","author":15825846,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.9","requires_php":"8.2","requires_plugins":null,"header_name":"Presswell Site Structure","header_author":"Presswell","header_description":"Manage the page tree, the main navigation menu, and post type root pages from one place.","last_updated":"2026-12-03 18:11:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/presswell-site-structure","header_author_uri":"https:\/\/presswell.co","rating":0,"author_block_rating":0,"active_installs":0,"downloads":53,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"presswell","date":"2026-12-03 18:11:41","revision":3843098}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3843097,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3843097,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3843097,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3843097,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3843097,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"presswell\/root-page":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"presswell\/root-page","title":"Root Page","category":"theme","description":"The root page of the post type being shown: put Post Title, Post Content, or Featured Image inside to head an archive with its page.","keywords":["archive","intro","landing","root"],"textdomain":"presswell-site-structure","attributes":{"postType":{"type":"string","default":""},"tagName":{"type":"string","default":"div"}},"usesContext":["templateSlug"],"supports":{"html":false,"align":["wide","full"],"layout":true,"spacing":{"margin":true,"padding":true,"blockGap":true},"color":{"text":true,"background":true,"link":true}},"editorScript":"file:.\/editor.js"},"presswell\/page-tree":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"presswell\/page-tree","title":"Page Tree","category":"theme","description":"A section menu, a page's children, or a site map, following the page tree, with the current page marked.","keywords":["section","subpages","sidebar","site map","navigation"],"textdomain":"presswell-site-structure","attributes":{"source":{"type":"string","default":"section"},"postType":{"type":"string","default":"page"},"pageId":{"type":"number","default":0},"depth":{"type":"number","default":0},"expand":{"type":"string","default":"all"},"showParent":{"type":"boolean","default":true},"useNavLabels":{"type":"boolean","default":true},"excludeNavHidden":{"type":"boolean","default":true},"label":{"type":"string","default":""}},"supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true},"color":{"text":true,"background":true,"link":true}},"editorScript":"file:.\/editor.js","style":"file:.\/style.css"},"presswell\/page-navigation":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"presswell\/page-navigation","title":"Previous \/ Next Page","category":"theme","description":"Links to the pages before and after this one in the page tree, for guides and multi-page sections.","keywords":["previous","next","pagination","sibling","guide"],"textdomain":"presswell-site-structure","attributes":{"scope":{"type":"string","default":"siblings"},"showTitles":{"type":"boolean","default":true},"previousLabel":{"type":"string","default":""},"nextLabel":{"type":"string","default":""},"useNavLabels":{"type":"boolean","default":true},"excludeNavHidden":{"type":"boolean","default":true}},"usesContext":["postId","postType"],"supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true},"color":{"text":true,"background":true,"link":true}},"editorScript":"file:.\/editor.js","style":"file:.\/style.css"},"presswell\/breadcrumbs":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"presswell\/breadcrumbs","title":"Breadcrumbs","category":"theme","description":"A breadcrumb trail for the current page, following the site structure.","keywords":["breadcrumb","trail","navigation"],"textdomain":"presswell-site-structure","attributes":{"separator":{"type":"string"},"showHome":{"type":"boolean"},"homeLabel":{"type":"string","default":""},"showCurrent":{"type":"boolean","default":true},"linkCurrent":{"type":"boolean"}},"supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true},"color":{"text":true,"background":true,"link":true}},"editorScript":"file:.\/editor.js","style":"file:.\/style.css"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2752,1087,1865,3955,2286],"plugin_category":[43],"plugin_contributors":[150450,155512],"plugin_business_model":[],"class_list":["post-411112","plugin","type-plugin","status-publish","hentry","plugin_tags-breadcrumbs","plugin_tags-featured-posts","plugin_tags-menu","plugin_tags-page-tree","plugin_tags-reorder","plugin_category-customization","plugin_contributors-benplum","plugin_contributors-presswell","plugin_committers-presswell"],"banners":{"banner":"https:\/\/ps.w.org\/presswell-site-structure\/assets\/banner-772x250.jpg?rev=3843097","banner_2x":"https:\/\/ps.w.org\/presswell-site-structure\/assets\/banner-1544x500.jpg?rev=3843097","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/presswell-site-structure\/assets\/icon.svg?rev=3843097","icon":"https:\/\/ps.w.org\/presswell-site-structure\/assets\/icon.svg?rev=3843097","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Presswell Site Structure keeps a site's structure in one place. It replaces the Pages list with a tree you can reorder by dragging, keeps one navigation menu in sync with it, lets a page act as the home of a custom post type, and adds the ordering, breadcrumbs, and featured posts that sites usually need several plugins for.<\/p>\n\n<p><strong>Page tree<\/strong><\/p>\n\n<ul>\n<li>Pages, and any post type you turn on, show as a tree in place of the list screen; the core list stays one click away.<\/li>\n<li>Drag rows to reorder or nest them, use Alt + arrow keys, or \"Move to\u2026\" to pick a new parent by searching. Search and status filters keep the tree's shape.<\/li>\n<li>Quick edit core fields, taxonomies, and custom fields; add several pages at once; clone; trash with descendants, with Undo; bulk edit selected rows.<\/li>\n<li>Flat post types (posts, people, events) can be ordered the same way, and that order can apply on the site.<\/li>\n<li>Built for large sites: one lean query loads the tree, and only expanded branches render.<\/li>\n<\/ul>\n\n<p><strong>Navigation menu<\/strong><\/p>\n\n<ul>\n<li>One menu follows the tree: order, nesting, labels, and hidden items. Links (custom URLs, terms, archives) live in the tree as real menu items.<\/li>\n<li>Menu labels, classes, targets, and hiding are set from quick edit or the block editor's Navigation panel.<\/li>\n<li>The menu can be locked so it's only edited from the tree. Block themes get a Navigation block menu that stays in sync too.<\/li>\n<\/ul>\n\n<p><strong>Post type root pages<\/strong><\/p>\n\n<p>Assign \"About \u203a Team\" as the root of a <code>person<\/code> post type: people's URLs follow the page (<code>\/about\/team\/jane-doe\/<\/code>), the archive is served at the page's URL with its content, and the page is highlighted in menus. Posts can start their URLs with the posts page's path.<\/p>\n\n<p><strong>Ordering terms and posts within terms<\/strong><\/p>\n\n<p>Drag categories, tags, and custom taxonomies into order, with nesting. Each term can also have its own order of posts, for its archive and for single-term queries.<\/p>\n\n<p><strong>Breadcrumbs<\/strong><\/p>\n\n<p>A Breadcrumbs block, a template function, and a shortcode, with trails that follow the tree and use menu labels. Root pages also appear in Yoast SEO, The SEO Framework, Rank Math, and All in One SEO breadcrumbs.<\/p>\n\n<p><strong>Structure blocks<\/strong><\/p>\n\n<p>For block themes: a Root Page block heads an archive with its root page's title and content; a Page Tree block shows the current section, a page's children, or a site map, with the current page marked; and a Previous \/ Next Page block links through pages in tree order.<\/p>\n\n<p><strong>Featured posts<\/strong><\/p>\n\n<p>Star posts in lists and trees (one at a time or in bulk) or in the editor, arrange them on a Featured screen, and set a limit per post type. Show them with the Featured Posts block or <code>'pwss_featured' =&gt; true<\/code> in a query.<\/p>\n\n<p><strong>Query Loops<\/strong><\/p>\n\n<p>A Site Structure panel on every Query Loop: use the tree order, a term's post order, or only (or no) featured posts, with matching editor previews.<\/p>\n\n<p><strong>Moving from other plugins<\/strong><\/p>\n\n<p>Importers for Nested Pages, Reorder by Term, Breadcrumb NavXT, NS Featured Posts, and the common post and term ordering plugins. Each starts with a dry run and leaves the other plugin's data in place. Only the optional Nested Pages cleanup, a separate step, deletes it (see the FAQ).<\/p>\n\n<p><strong>Settings and debugging<\/strong><\/p>\n\n<p>Settings \u203a Site Structure has a tab per area. Breadcrumbs and Featured Posts can be turned off entirely. A Debug tab shows status, runs integrity checks with safe fixes, and keeps a private log that turns itself off after 7 days.<\/p>\n\n<p><strong>Developers<\/strong><\/p>\n\n<p>Themes get template functions (<code>pwss_get_tree()<\/code>, <code>pwss_breadcrumbs()<\/code>, <code>pwss_get_featured_posts()<\/code>, and root page helpers), query arguments (<code>'pwss_featured' =&gt; true<\/code>, <code>'orderby' =&gt; 'pwss_term_order'<\/code>, <code>'orderby' =&gt; 'pwss_order'<\/code> for terms), REST fields, and WP-CLI commands for every importer. Markup, permissions, and where each order applies can be changed with filters, and actions fire on moves, menu syncs, and featured changes.<\/p>\n\n<p>The full developer reference is part of the plugin's documentation on presswell.co.<\/p>\n\n<h3>Privacy<\/h3>\n\n<p>Presswell Site Structure makes no external requests and collects no data. The optional debug log stays on your server, in a private folder in uploads, and turns itself off after 7 days.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Open Settings \u203a Site Structure and choose the post types that get a tree (Post Types tab) and the menu to keep in sync (Menu tab).<\/li>\n<li>Moving from another plugin? Use its importer on the Tools tab, starting with a dry run.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20move%20from%20nested%20pages%3F\"><h3>How do I move from Nested Pages?<\/h3><\/dt>\n<dd><p>Deactivate Nested Pages, then use Settings \u203a Site Structure \u203a Tools (or <code>wp pwss import<\/code>). A dry run shows the menu before and after, side by side, and any post type URLs that change. The import brings over tree and menu settings, root page assignments, page menu settings (labels, hidden items, classes, targets, custom URLs), links, and the synced menu, keeping its items. Undo restores the menu and settings until you run the cleanup step, which deletes what Nested Pages left behind.<\/p><\/dd>\n<dt id=\"how%20do%20i%20move%20from%20reorder%20by%20term%2C%20breadcrumb%20navxt%2C%20or%20ns%20featured%20posts%3F\"><h3>How do I move from Reorder by Term, Breadcrumb NavXT, or NS Featured Posts?<\/h3><\/dt>\n<dd><p>Each has an importer on Settings \u203a Site Structure \u203a Tools (and a WP-CLI command), starting with a dry run. None of them change the other plugin's data.<\/p>\n\n<ul>\n<li>Reorder by Term (<code>wp pwss import-reorder-by-term<\/code>) copies each term's post order. Its data is left in place until your theme's queries are switched over.<\/li>\n<li>Breadcrumb NavXT (<code>wp pwss import-navxt<\/code>) copies its settings and custom post type root pages, and lists the theme files, content, and widgets that still use NavXT.<\/li>\n<li>NS Featured Posts (<code>wp pwss import-featured<\/code>) copies its post types, limits (radio mode becomes a limit of 1), and featured posts, and lists theme queries and widgets that still use it.<\/li>\n<\/ul><\/dd>\n<dt id=\"what%20about%20other%20ordering%20plugins%3F\"><h3>What about other ordering plugins?<\/h3><\/dt>\n<dd><ul>\n<li>Intuitive Custom Post Order, Simple Custom Post Order, Post Types Order, Category Order and Taxonomy Terms Order, and Reorder Posts (Metronet): Settings \u203a Site Structure \u203a Tools (or <code>wp pwss import-ordering<\/code>) turns on trees for the post types they ordered and copies their term order. Post order is already stored where the tree reads it. Deactivate them afterwards, because they re-sort queries too.<\/li>\n<li>Simple Page Ordering and CMS Tree Page View store nothing of their own: deactivate them, and turn on \"Use order on site\" for any flat post type whose order you want on the front end.<\/li>\n<\/ul><\/dd>\n<dt id=\"how%20do%20post%20type%20root%20pages%20work%3F\"><h3>How do post type root pages work?<\/h3><\/dt>\n<dd><p>Assign a page as the root of a post type under Settings \u203a Site Structure \u203a Post Types. For example, assign \"About \u203a Team\" to a <code>person<\/code> post type:<\/p>\n\n<ul>\n<li>Person URLs follow the page's path: <code>\/about\/team\/jane-doe\/<\/code>.<\/li>\n<li>The post type archive is served at the page's URL, so templates can render the page's content above the listing.<\/li>\n<li>The page is highlighted in menus while viewing the archive or a single person.<\/li>\n<li>Child pages of the root page keep working; pages win over post type URLs.<\/li>\n<li>Moving or renaming the page updates the URLs, and rewrite rules are flushed once.<\/li>\n<\/ul>\n\n<p>For posts, the posts page (Settings \u203a Reading) is the root. Turn on \"Use page path\" on its row to start post URLs with the posts page's path: <code>\/blog\/hello-world\/<\/code>. Only posts change; category, tag, and date archives and other post types keep their URLs, and old post URLs redirect to the new ones.<\/p><\/dd>\n<dt id=\"how%20does%20term%20ordering%20apply%20on%20the%20site%3F\"><h3>How does term ordering apply on the site?<\/h3><\/dt>\n<dd><ul>\n<li>Turn on \"Reorder\" for categories, tags, or custom taxonomies under Settings \u203a Site Structure \u203a Taxonomies.<\/li>\n<li>With \"Replace list table\" on (the default), the term screen shows the tree beside core's Add form: drag to reorder or nest, quick edit name, slug, and description, delete one or many, and see each term's item count. Terms added with the form appear in the tree right away. \"List view\" shows core's table; turn the setting off to keep the table and use a separate \"Reorder\" screen instead.<\/li>\n<li>Drag, keyboard, and \"Move to\u2026\" moves work as in the page tree; hierarchical taxonomies can be nested. Links other plugins add to the term list's rows appear in the tree's actions menu.<\/li>\n<li>Turn on \"Use order on site\" to apply the order to <code>get_terms()<\/code> calls that use the default name order. Any call can ask for it with <code>'orderby' =&gt; 'pwss_order'<\/code>. A call that explicitly asks for <code>'orderby' =&gt; 'name'<\/code> can't be told apart from the default, so use <code>'slug'<\/code> or the <code>pwss_apply_term_order<\/code> filter to opt out.<\/li>\n<li>New terms are added at the end of their siblings.<\/li>\n<\/ul><\/dd>\n<dt id=\"how%20do%20i%20order%20posts%20within%20a%20term%3F\"><h3>How do I order posts within a term?<\/h3><\/dt>\n<dd><ul>\n<li>Turn on \"Order posts in terms\" for a taxonomy, and each term gets an \"Order posts\" action: drag that term's posts into the order you want. Each term keeps its own order, separate from the posts' order anywhere else.<\/li>\n<li>Posts you haven't placed follow the placed ones, newest first, so new posts never disappear from a list and no \"build\" step is needed.<\/li>\n<li>Turn on \"Use post order on site\" to apply it to the term's archive and any query for that single term that doesn't choose its own order. Any single-term query can ask for it with <code>'orderby' =&gt; 'pwss_term_order'<\/code>; <code>get_posts()<\/code> always passes an order, so use that argument there.<\/li>\n<\/ul><\/dd>\n<dt id=\"what%20does%20the%20menu%20sync%20do%3F\"><h3>What does the menu sync do?<\/h3><\/dt>\n<dd><ul>\n<li>Choose one menu (or create one) under Settings \u203a Site Structure \u203a Menu, and it follows the tree: order, nesting, labels, and hidden items.<\/li>\n<li>Add links to the tree: custom URLs, posts of other types, terms, and archives. Links are real menu items, so themes and menu plugins work with them as usual.<\/li>\n<li>Hide pages or links in the menu, set a menu label, title attribute, CSS classes, a new-tab target, or a custom URL from quick edit, or from the \"Navigation\" panel in the block editor's sidebar.<\/li>\n<li>The menu can be locked so it's only edited from the tree; Appearance \u203a Menus, the Customizer, and the REST API refuse changes to it. Other menus stay editable, and theme locations can still be assigned.<\/li>\n<li>Sync is one-way and only writes what changed. Menu items keep their IDs, so data other plugins store on them survives.<\/li>\n<li>Block themes: turn on \"Also keep a Navigation block menu in sync\" and select that menu in your theme's Navigation block. It follows the same tree and is locked the same way.<\/li>\n<li>Taking over an existing menu keeps its items: pages stay where they are, other items become links, and pages that weren't in the menu are marked hidden.<\/li>\n<\/ul><\/dd>\n<dt id=\"how%20do%20i%20add%20breadcrumbs%3F\"><h3>How do I add breadcrumbs?<\/h3><\/dt>\n<dd><p>Add the Breadcrumbs block to a template, print a trail in a classic theme with <code>&lt;?php pwss_breadcrumbs(); ?&gt;<\/code>, or use the <code>[pwss_breadcrumbs]<\/code> shortcode. Trails follow the page tree (and so the synced menu), use menu labels, and put posts under their root page: Home \u203a About \u203a Team \u203a Jane Doe. Posts can include their category (and its parents): Home \u203a Blog \u203a News \u203a Local \u203a Hello. Output is an accessible <code>&lt;nav&gt;&lt;ol&gt;<\/code> list with optional schema.org JSON-LD.<\/p>\n\n<p>Settings \u203a Site Structure \u203a Breadcrumbs sets the defaults: the home link and label, the separator, which taxonomy's term each post type shows and whether its parents show, and whether term archives show parent terms. Markup is changed with filters (see the developer reference).<\/p>\n\n<p>Root pages also appear in Yoast SEO, The SEO Framework, Rank Math, and All in One SEO breadcrumbs, and a post type archive served at its root page uses the page's SEO title and description (Yoast, The SEO Framework, Rank Math).<\/p><\/dd>\n<dt id=\"how%20do%20featured%20posts%20work%3F\"><h3>How do featured posts work?<\/h3><\/dt>\n<dd><p>Turn on Featured Posts under Settings \u203a Site Structure \u203a Settings, then choose the post types on the Featured tab, each with an optional limit. Star posts in the list, from a tree row's actions, or with the \"Featured\" checkbox in the editor, and drag them into order on the Featured screen (Posts \u203a Featured). With a limit of 1, featuring a post replaces the featured one.<\/p>\n\n<p>Show them with the Featured Posts block, a Query Loop that lists featured posts in their order. Any Query Loop can also leave the featured posts out (\"latest posts, without the featured ones\"). In PHP, use <code>pwss_get_featured_posts()<\/code> or <code>'pwss_featured' =&gt; true<\/code> in a query.<\/p><\/dd>\n<dt id=\"can%20a%20feature%20be%20turned%20off%3F\"><h3>Can a feature be turned off?<\/h3><\/dt>\n<dd><p>Settings \u203a Site Structure has a tab for each area: Settings, Post Types, Taxonomies, Menu, Breadcrumbs, Featured, Tools, and Debug. The Settings tab turns features on and off (Breadcrumbs and Featured Posts; a feature that's off has no tab, block, or screens), turns on a private debug log (it turns itself off after 7 days) and sets whether the plugin's data is removed when it's deleted. The Tools tab has the importers (also listed under Tools \u203a Import), tools to sync the menu, update root paths, clear tree caches, and reset expanded rows, and settings export and import as JSON. The Debug tab shows the plugin's status (trees and their load time, the managed menu and its last sync, root paths, overlapping plugins), runs integrity checks with fixes where they're safe (missing or looping parents, ambiguous order, stray or duplicate menu items, stale root paths), and shows the debug log.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Page trees, a synced menu, post type root pages, ordering, breadcrumbs, and featured posts, in one place.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/411112","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=411112"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/presswell"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=411112"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=411112"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=411112"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=411112"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=411112"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=411112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}