PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free

List your generated pages on a hub page with the PageForge Sitemap block or the [pageforge_sitemap] shortcode, grouped by city, state or service.

Since 1.0.8 Updated November 18, 20263 min read

A hub page links to every page in a campaign. A plumbing company with 40 city pages can publish one “Areas we serve” page that links to all of them. Visitors find their city faster, and search engines get a clear path to each page instead of relying on the XML sitemap alone.

A sitemap block lists generated pages on a hub page, grouped and linked.

Add the block

  1. Create or edit the hub page in the block editor.
  2. Add the PageForge Sitemap block. It sits in the PageForge Blocks category.
  3. Choose the settings in the sidebar and publish.

The block and the shortcode render the same list, so you can use either one.

Shortcode options in Free

[pageforge_sitemap post_type="pageforge_page,page" group_by="city" columns="3" style="cards"]
AttributeValuesDefault
post_typeComma-separated post typespageforge_page,page,post
group_bycity, state, service or nonecity
columns1 to 63
limitUp to 50001000
show_countstrue or falsetrue
heading_level2 to 43
stylecards, compact or minimalcards
accent_color, background_color, link_colorHex colors#1f4b59, #ffffff, #0f766e

In Free the list always contains published pages that PageForge generated, sorted by title. Group headings come from the City, State or Service columns of each page’s row. Pages without that value are grouped under a fallback heading such as “Other Cities”. The block offers the same choices under Sitemap Settings and Appearance.

Shortcode options in Pro

Pro uses a wider set of attributes, for example:

[pageforge_sitemap post_type="pageforge_page,page" generated_only="1" anchor_source="meta_title" description_source="meta_description" columns="3"]
AttributeWhat it does
generated_only1 lists only PageForge-generated content. Default 0 lists all published content of the chosen types.
anchor_sourceLink text: title, meta_title, service_city or custom (with label_template)
description_sourceText under each link: none, excerpt or meta_description
layoutcolumns, grid or list
orderby and ordertitle, date, modified, menu_order or name, with ASC or DESC
include and excludeComma-separated post IDs
group_bynone or post_type
heading and heading_tagAn optional heading, h2 to h4
include_home, nofollow, classAdd the home page, add nofollow to links, add a CSS class

In the Pro block these appear under Sitemap Content, SEO Labels and Layout.

Note Free ignores the Pro-only attributes. A shortcode copied from a Pro site, such as one with anchor_source, still renders in Free, but with Free’s grouping and styling.

The older [pf_sitemap] shortcode name also works in both editions.

Tips for useful hub pages

  • Link the hub from your main navigation or footer, so it is reachable from every page.
  • Group by service or city so visitors can scan the list.
  • If you generate native Pages under a Parent Page, the parent itself can be the hub. Add the block to it.
  • Write a short introduction above the list that explains what the pages cover.

Next: Parent pages and Quality checklist before you publish.

Was this page helpful?

↑↓ to move↵ to open