Keywords: Generate Nearby Cities


Videos are not designed to be a substitute for instructions. Please refer to the detailed Documentation below.

Don’t see the Generate Nearby Cities / ZIP Codes option? It’s been replaced by the Generate Locations functionality in Page Generator Pro 1.8.3 and higher.

Page Generator Pro allows you to automatically produce keywords comprising of cities and/or ZIP codes.  To do this:

  1. Click the Generate Nearby Cities / ZIP Codes button below the Title
    Page Generator Pro: Keywords: Add Keyword Button
  2. Define the following options:
    1. Keyword: the template tag you’ll use when generating Pages / Posts / Custom Post Types.  This must be unique, and not a template tag you’ve already defined.
    2. City / ZIP Code: The city or ZIP code to use as the center / starting point of the radius.
    3. Country: The country that the City / ZIP code belongs in.
    4. Radius: The number of miles to fetch all nearby cities / ZIP codes from.
      1. When Output Type = City, the maximum value here is 100 miles
      2. When Output Type is not City, the maximum value here is 18 miles
    5. Output Type: Defines the data that will be stored as Terms.  For example, if you want to return a list of Postcodes with Cities:
      1. Click inside the field
      2. Select the Postcode option
      3. Select the City option
        To change the order of existing selected fields, drag and drop them.
    6. Include City / ZIP Code?: If enabled, includes the defined City or ZIP Code above as the first term in the keyword list.
  3. For example, to create a keyword called westmidlands, which includes all nearby cities within a 20 mile radius of Birmingham, UK:
    1. Keyword: westmidlands
    2. City / ZIP Code: Birmingham
    3. Country: UK
    4. Radius: 20
    5. Output Type: City
    6. Include City / ZIP Code: Yes
      Page Generator Pro: Generate Nearby Cities: Example #1
  4. For example, to create a keyword called zipcodes, which includes all nearby City and ZIP code names within a 10 mile radius of Birmingham, UK:
    1. Keyword: zipcodes
    2. City / ZIP Code: Birmingham
    3. Country: UK
    4. Radius: 10
    5. Output Type: City, ZIP Code
    6. Include City / ZIP Code: Yes
      Page Generator Pro: Generate Nearby Cities: Example #2
  5. Click the Generate Keyword with Nearby City / ZIP Code Data button.
  6. You’ll see confirmation if this has worked, and you can navigate to the Keywords screen to see the new keyword.
If you try to create / change a keyword to one that already exists, you’ll receive a warning telling you that the keyword has already been specified. Each keyword must be unique.