A CSV file is the data behind a PageForge campaign. One row becomes one page, and every column can be used as a placeholder in your template.
The basic layout
- The first row holds column names. These become your placeholders:
Citybecomes{City}. - Every row after that describes one page.
- Add as many columns as you need. There is no column limit.
Service,City,State,Phone,Hours
Roof Repair,Austin,TX,512-555-0140,Mon-Sat 7am-6pm
Roof Repair,Round Rock,TX,512-555-0141,Mon-Fri 8am-5pm
Gutter Cleaning,Austin,TX,512-555-0140,Mon-Sat 7am-6pm
Plan one row per URL. Two rows that produce the same URL are not both created: the second is skipped. See Duplicate URLs and skipped rows.
What the parser accepts
PageForge reads standard CSV, including the awkward cases that spreadsheet exports produce:
- Delimiters: comma, semicolon, tab or pipe. PageForge picks the one that appears most often in the header row, so European exports that use semicolons work without changes.
- Quoted cells may contain the delimiter, line breaks and quotes. Write a quote inside a quoted cell as two quotes (
""). - Encoding: save as UTF-8. A byte order mark at the start of the file is removed.
- Blank lines are ignored.
- Spaces around each value and column name are trimmed.
- Blank column names are named for their position, such as
Column 4. - Repeated column names get a number added, so a second
Citycolumn becomesCity_2.
A quoted cell with a line break, for an intro paragraph that spans two lines:
Service,City,Intro
Roof Repair,Austin,"Storm damage, leaks and missing shingles.
Same-week inspections across Travis County."
Saving from a spreadsheet
- Excel: File > Save As, then choose CSV UTF-8 (Comma delimited).
- Google Sheets: File > Download > Comma-separated values (.csv).
- Numbers: File > Export To > CSV, with Unicode (UTF-8) text encoding.
Spreadsheet apps sometimes change values on the way out. Check ZIP codes and phone numbers that start with zero, long numbers that turn into scientific notation, and dates that switch format. Format those columns as text before you export.
Upload the file
- Open PageForge > Data Sources.
- Under CSV Upload, choose your file and click Upload CSV.
- The file appears in the Available CSVs list and on the Generate screen.
CSV files are stored in the WordPress media library. To change the data, edit your spreadsheet, export it again and upload the new file, then pick the new file on the Generate screen. Download Sample CSV gives you a three-column starting point with City, State and Service.
Note The free plugin runs the first 100 rows of a file in each run, and tells you how many rows it left out. For a longer list, split it into files of 100 rows. PageForge Pro has no row limit.
Columns worth adding
The columns you add decide how useful each page is. Beyond the place and the service, consider a local phone number, opening hours, prices, a short intro written for that location, nearby areas, a team member’s name or a customer quote. Each one becomes a placeholder you can place anywhere in the template.
