Generate: Run


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

Once you have defined your Group’s content, you have three options:

Page Generator Pro: Generate: Actions

  1. Save: This saves the settings on the Generate screen.
  2. Test: This saves the settings on the Generate screen, and creates one test Post in draft mode.
  3. Generate: This saves the settings on the Generate screen, and generates the required number of posts.

If you have previously generated Page(s) from this Group, you will see additional options:

  • Trash Generated Content: This allows you to trash all existing Page(s) that were generated by this Group.
  • Delete Generated Content: This allows you to permanently delete all existing Page(s) that were generated by this Group.  This is useful if you made an error, and need to replace your existing Pages with revised content.
If you’re using the Gutenberg Editor, you won’t see the Save option. Use Gutenberg’s native Publish / Update functionality first, in order to save a Content Group, prior to Generating or Testing content.  This must be done before clicking Test or Generate, to ensure that settings take effect.

Test

It’s always recommended that you do this before generating all of the content.

The Test method generates a single, draft Page, Post or Custom Post Type, with verbose error output if elements fail (for example, a shortcode).

To Test generation of content based on the Group, click the Test button. A message is displayed on screen confirming you want to generate a Test Page:
Page Generator Pro: Generate: Test Confirm

Once confirmed, an on screen notification will confirm whether the Test succeeded, with a link to the draft Page / Post / Custom Post Type:
Page Generator Pro: Generate: Test Notification

Click the preview link to view the test content, where you can confirm correct working functionality, and make changes to your Group as necessary.

If error(s) occurred with the test, they will be displayed on the content.  For example, if a Wikipedia shortcode results in no content being found, you might see the following error:
Page Generator Pro: Generate: Test: Shortcode Error


Generate

To generate content based on the Group, click the Generate button.  A message is displayed on screen confirming you want to generate Pages:
Page Generator Pro: Generate: Confirm

Once confirmed, a screen will display showing the progress as each Page is generated, along with the time it took and the server memory usage:
Page Generator Pro: Generate: Log

To cancel Page Generation at any time, click the Stop Generation button
Page Generator Pro: Generate: Stop Generation


Performance

When using any Page Generator Pro Shortcodes, the Generation process may take a few seconds or longer for each Page.  Page Generator Pro converts the shortcode into actual HTML output, querying the third party services (Google, Wikipedia, Yelp, YouTube etc) to insert the actual contents into each Page.

This ensures that the resulting Page does not dynamically query these third party services every time your site visitor views the generated Page. Doing so would result in the page taking a long time to load for every single visitor (and, in turn, affect your rankings on SERPs).

By taking a one time performance hit on slower page generation, the performance of your generated Pages for SERPs and all site visitors is dramatically increased, ensuring better rankings.

Due to this, you may wish to generate content in smaller batches – for example, 500 Pages at a time.  This can be achieved using the Number of Posts and Resume Index options, which are documented.

Example Performance

This is purely a guide, and not to be used as a benchmark or comparison.  Your performance will vary, due to a variety of factors including server performance, connection speed and the number of shortcodes used.  Whilst we are happy to investigate edge cases (e.g. generation times of 30 seconds per page plus), please don’t use the figures quoted here as a comparison or expectation.
Item Specification
Processor Intel Core i5 8th Generation at 2.3Ghz
Memory 8GB
SSD 128GB
Web Server nginx 1.10.1
PHP 7.2.0
MySQL 5.6
WordPress 5.0.3
Active Plugins Page Generator Pro
Active Theme 2019 Theme

Keyword used:

Keyword Term
{location} B1 1AY, Birmingham
{location(zipcode)} B1 1AY
{location(city_name)} Birmingham

Example Generation Times when using each Shortcode:

Shortcode Shortcode Syntax Example Generation Time (seconds)
Google Maps [page-generator-pro-google-map term=”” location=”{location(zipcode)}” height=”250″ zoom=”14″ maptype=”roadmap”] 0.03
Unsplash [page-generator-pro-unsplash term=”{location(city_name)}” size=”raw” orientation=”” alt_tag=”{location(city_name)}, {location(zipcode)}”] 3.61
Wikipedia [page-generator-pro-wikipedia term=”{location(city_name)}” language=”en”] 1.97
Yelp [page-generator-pro-yelp term=”restaurants” location=”{location(zipcode)}” limit=”3″] 1.24
YouTube [page-generator-pro-youtube term=”{location(city_name)}” location=””] 0.55

Therefore, if all 5 shortcodes were to be used, a generation time of 7.4 seconds would be reasonable.

However, this is purely a guide, and not to be used as a benchmark or comparison.  Your performance will vary, due to a variety of factors including server performance, connection speed and the number of shortcodes used.  Whilst we are happy to investigate edge cases (e.g. generation times of 30 seconds per page plus), please don’t use the figures quoted here as a comparison or expectation.

We are also unable to advise on precisely how long pages will take to generate, and how many should be generated at a time.