The Generate Settings provides options for specifying the default behaviour when Generating Content and Terms, using the Generate: Run functionality.
- In your WordPress Administration interface, navigate to Page Generator Pro > Settings
- Click the Generate tab.
Define the following options:
Enable Logging?
If enabled, the Plugin Logs will detail results of Content and Term Generation performed via Browser, Server and WP-CLI.
Preserve Logs
The number of days to preserve logs for. Zero means logs are kept indefinitely.
Given that there is the potential to generate a high volume of content very quickly, it’s recommended to keep this number low, to ensure the underlying database table does not end up with a lot of unnecessary data which fills up database storage.
Stop on Error
Stop on Error determines what the Plugin’s generation process should do when a server, connection or generation error occurs when attempting to generate a Page or Term.
- Stop: The Plugin will stop generating further Pages or Terms
- Continue, attempting to regenerate the Content or Term again: The Plugin will pause for 5 seconds, and attempt to generate the failed Content or Term again. This is recommended if your server returns 404, 500 or 503 server errors during the generation process, and is the default setting if no other setting is chosen.
- Continue, skipping the failed Content or Term: The Plugin will pause for 5 seconds, and then generate the next Content or Term. This is recommended if a generation error is consistently returned on the same Content or Term, and you need to continue generation to complete the rest of the generated Pages or Terms
Use Performance Addon
If enabled, uses the Page Generator Pro: Performance Addon Must-Use Plugin.
This can improve generation times and reduce memory usage on sites with numerous Plugins, by only loading a minimal set of Plugins that are required during the generation process. Whether this does improve generation times will depend on the specific web site and hosting environment.
Page Generator Pro should automatically create this file at wp-content/mu-plugins/page-generator-pro-performance-addon.php.
If your file permissions and hosting configuration do not permit file creation, you’ll have to manually copy the file yourself from wp-content/plugins/page-generator-pro/mu-plugins/page-generator-pro-performance-addon.php
To confirm the must-use Plugin is active, navigate to WordPress Admin > Plugins > Must-Use:
Performance Addon: Load Plugins
When the Use Performance Addon setting is enabled, a table will be displayed of Plugins installed on the WordPress installation that can optionally be enabled for loading/activating when generating content with the Performance Addon.
Typically, none of the Plugins listed will need to be enabled/activated.
However, if issues are encountered during Generation e.g. Page Builder data is incorrect, Custom Field data is not copied, SEO data is missing, Custom Taxonomy Terms are not assigned to the generated content, expected data is not overwritten, you’ll need to enable the applicable Plugins.