Menu
All plugins

Content Explorer for Bricks

See how your content links together. Content Explorer indexes the links in your Bricks content and shows them as item maps, a searchable list, a site map and a health check, in the Bricks builder and in WordPress admin.

Version: 0.4.4 · Requires: Bricks, WordPress 6.2, PHP 8.1 · See the demo

Installation

  1. Upload and activate the plugin. Bricks should be active.
  2. Go to Tools, Content Explorer, then Settings, and press Reindex all content once.

After that the index updates whenever you save a post or a Bricks page. Large sites reindex in batches from the browser, so no cron job is needed.

Item map

Open an item to see:

  • Linked from and Links to: other content that links to it, and content it links to, from buttons, text links, images and dynamic link tags.
  • Templates used: template elements placed on the page.
  • Applied by conditions: header, footer and other templates that apply to it by their conditions. Conditions on terms, archives and search are not evaluated.
  • Listed by query loops: pages with a query loop over this post type.
  • Query loops, components and global classes used on the page.

Flags show orphans and links to unpublished content. Edit opens the editor you chose in Settings, with separate links for Bricks and the WordPress editor.

The builder panel

A share button in the builder toolbar, placed after Undo and Redo, toggles a floating panel in the builder own colours. It shows the item map for the page you are editing. Press Select beside a link or template to select that element on the canvas. A small dot on the button warns when the page is an orphan or has broken links. Drag the header to move the panel. The expand button opens the full explorer.

Site map

View Use it for
Groups The overview. Bubbles of related items; click one to drill in.
Clusters One cluster per content type with links shown on hover, plus link counts between types.
Network A force layout where linked items pull together.
Tree An outline grouped by type and nested under parent pages, with flags per row.
Columns One column per type with curved links between them.

Colour by type, health (healthy, orphan, broken links, not published) or age. Pages that only link to one hub collapse into a +N node that expands on click. Use the find box, zoom, and export as SVG or PNG. Your chosen view and filters are remembered.

List

Search titles, filter by type, taxonomy or orphans, and sort by title, date, modified, incoming or outgoing links. Create a draft, quick edit title, slug and status, or trash an item with a confirm step. Hierarchical types expand to show children.

Health

Counts orphans, lists links to unpublished pages and total indexed links.

Settings

Setting What it does
Indexed content Which post types are indexed and shown. Changing it needs a reindex.
Order by and direction Default sorting of the list.
Edit opens Bricks builder or the WordPress editor, with per type overrides.
Text size Small, normal or large in the panel and explorer.
Export and import Copy settings between sites as JSON.
Reindex Rebuilds the index in batches.

Who can do what

  • Anyone who can edit others posts can use the explorer and the list actions allowed by their own capabilities.
  • Only administrators can change settings or reindex.

Limits

  • The index is built from saved content. Dynamic links, query loop output and component output are approximated.
  • Orphans are published items with no incoming link from another item. Items listed only by a query loop still count as orphans.
  • Templates are excluded from orphan counts.

Data and uninstall

Links and references live in two tables, bcex_links and bcex_refs. Uninstalling removes them and the plugin options.

For developers

  • REST API under content-explorer-for-bricks/v1, cookie authenticated.
  • Filter bcex_indexed_post_types changes which post types are indexed.