Generate: Using Custom Field Plugins

Overview

If your Page, Post or Custom Post Type, that you want to generate content for, has one or more custom fields defined by a third party Plugin, it’s possible to generate content for those fields through Page Generator Pro’s Content Groups.

Advanced Custom Fields

To define the content to generate for your Advanced Custom Fields, first you must update your ACF Field Groups to display within Page Generator Pro’s Content Groups and/or Term Groups.

To do this:

  1. Click on Custom Fields in the WordPress Administration Menu
    Page Generator Pro: Generate: ACF: Menu
    Don’t see a Custom Fields option in WordPress’ Administration Menu?  Your Theme or Plugin may be programamtically defining your ACF Field Groups and Fields.  Please reach out to your Theme or Plugin developer to have them include the page-generator-pro Post Type when outputting Field Groups.  You will then see the applicable Fields in the Generate: Content screen.

Advanced Custom Fields: Content Groups

ACF Field Groups can be set to display on Content Groups.

  1. Edit the Field Group
  2. In the Location box, ensure that the field group is set to display on the Post Type you want to generate (e.g. Pages)
    Page Generator Pro: Generate: Using Custom Fields: ACF

If you want to display this Field Group in any Content Group (so you have the option of specifying ACF field values in any Content Group):

  1. Click Add Rule Group
  2. Set Post Type = Content Group
    Page Generator Pro: Generate: Using Custom Fields: ACF: Content Group
  3. Click Update

If you want to display this Field Group in specific Content Groups (so you only have the option of specifying ACF field values in specified Content Groups):

  1. Click Add Rule Group
  2. Set Post Type = Page Generator Pro Content Group
    Page Generator Pro: Generate: Using Custom Fields: ACF: Content Group
  3. On the right hand dropdown, select the Content Group
    Page Generator Pro: Generate: Using Custom Fields: ACF: Content Groups
  4. Repeat 1 – 3 for any additional Content Groups you want to display this Field Group on
  5. Click Update

When creating or editing a Content Group, you will now see your ACF Field Groups:
Page Generator Pro: Generate: ACF: Content Group

Any data entered into these fields, including keywords and spintax, will be included in the generated Page, Post or Custom Post Type:
Page Generator Pro: Generate: ACF: Content Group Result

Advanced Custom Fields: Term Groups

ACF Field Groups can be set to display on Term Groups.

  1. Edit the Field Group
  2. In the Location box, ensure that the field group is set to display on the Taxonomy Type you want to generate (e.g. Categories)
    Page Generator Pro: Generate: Using Custom Fields: ACF: Taxonomy

If you want to display this Field Group in any Term Group (so you have the option of specifying ACF field values in any Term Group):

  1. Click Add Rule Group
  2. Set Taxonomy = Taxonomy Group
    Page Generator Pro: Generate: Using Custom Fields: ACF: Term Groups
  3. Click Update

If you want to display this Field Group in specific Term Groups (so you only have the option of specifying ACF field values in specified Term Groups):

  1. Click Add Rule Group
  2. Set Post Type = Page Generator Pro Term Group
    Page Generator Pro: Generate: Using Custom Fields: ACF: Term Group
  3. On the right hand dropdown, select the Term Group
    Page Generator Pro: Generate: Using Custom Fields: ACF: Term Groups
  4. Repeat 1 – 3 for any additional Term Groups you want to display this Field Group on
  5. Click Update

When creating or editing a Term Group, you will now see your ACF Field Groups:
Page Generator Pro: Generate: Using Custom Fields: ACF: Term Groups: Fields

Any data entered into these fields, including keywords and spintax, will be included in the generated Taxonomy Terms:
Page Generator Pro: Generate: Using Custom Fields: ACF: Term

Pods

To define the content to generate for your Pods Fields, first you must duplicate the fields defined for your target Post Type (that is, a Post or Page), and enable them for the Content Groups Custom Post Type.

To do this:

  1. Click on Pods Admin in the WordPress Administration Menu
  2. Click Add New
  3. Click Extend Existing
  4. Select the Post Type = Content Groups, and click Next Step
    Page Generator Pro: Generate: Custom Fields: Pods
  5. Add Fields as necessary, ensuring that their Labels and Names exactly match the Labels and Names defined for fields on your Post or Page.
    Page Generator Pro: Generate: Custom Fields: Pods
  6. Click Save Pod when finished.

When creating or editing a Content Group, you will now see your Pods Fields:
Page Generator Pro: Generate: Custom Fields: Pods

Any data entered into these fields, including keywords and spintax, will be included in the generated Page, Post or Custom Post Type:
Page Generator Pro: Generate: Custom Fields: Pods