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

Every column in your data becomes a placeholder such as {City}. How to name columns, where placeholders work and what happens when a value is missing.

Updated November 18, 20263 min read

Every column in your data becomes a variable. Put the column name in curly braces, such as {City}, and PageForge replaces it with that row’s value on each page. There is no fixed list of variables and no limit on the number of columns.

From column to placeholder

Service,City,State,Service Area,Phone
Pest Control,Tampa,FL,Hillsborough County,813-555-0150
ColumnPlaceholderValue on this page
Service{Service}Pest Control
City{City}Tampa
State{State}FL
Service Area{Service Area}Hillsborough County
Phone{Phone}813-555-0150

A template line such as Need {Service} in {City}? We cover {Service Area}. Call {Phone}. becomes “Need Pest Control in Tampa? We cover Hillsborough County. Call 813-555-0150.”

Match the column name

Write the placeholder exactly as the column name appears in your file. If the column is City, use {City}. The all-lowercase form, {city}, also works, which reads well in slug patterns such as {service}-{city}. Other mixes of capitals, such as {CITY}, are not filled.

A few habits prevent most problems:

  • Use letters, numbers, spaces and underscores in column names. Check and preview checks placeholders made from those characters.
  • Avoid extra spaces, especially at the start or end of a name.
  • Give every column a unique name. If two columns share a name, the second gets a number added, such as City_2.

Where placeholders work

  • The template content, in the block editor or classic editor
  • The Title Pattern, Slug Pattern and Meta Description Pattern
  • The excerpt
  • Layouts cloned through Base Layout to Clone, including Elementor and Divi data
  • Theme titles, widgets and builder widgets on generated pages, which are filled when the page is displayed

If a builder field does not accept raw {City} text, use the variable shortcode instead: [pageforge var="City"]. See Use variables as shortcodes.

When a value is missing

Check and preview compares your placeholders with the column names before anything is written:

  • A placeholder in the Title Pattern or Slug Pattern with no matching column stops the run, and the message lists the columns that are available.
  • A placeholder in the content or meta description with no matching column shows a warning. The run can go ahead, but those placeholders are not filled.

If placeholders still show on a published page, see Placeholders show on the page.

An empty cell is different. The column exists, so the placeholder is replaced with nothing. Write sentences that still read well when an optional column is blank, or keep optional details in a sentence of their own so you can leave the whole cell empty without leaving a half-sentence.

Tip Columns named Service, City and State do extra work. PageForge uses them for the default SEO title, the fallback meta description and the Service item in its schema output.

Spintax and placeholders together

Spintax picks one option from a group such as {Fast|Quick|Reliable}. A group always contains a pipe character, and a placeholder never does, so the two do not clash. Keep placeholders outside spintax groups: write {Call|Ring} us on {Phone}, not a group with {Phone} inside it. See Spintax.

Next: Use variables as shortcodes or Create a template.

Was this page helpful?

↑↓ to move↵ to open