Generate: Related Links

If you need to output a list of related links on your Generated Pages / Posts / CPT’s, Page Generator Pro provides a Related Links shortcode to achieve this.

You can add the shortcode on any Page – it doesn’t have to be a Page Generator Pro Content Group or Generated Page.  For example, you can use this shortcode on your own manually built landing page, if you’d like to list all Generated Pages from a specific Content Group.

In most TinyMCE instances, you’ll see an option to add the Related Links shortcode in the Visual Editor toolbar:

Enter the following information:
Page Generator Pro: Generate: Content: Related Links

  • Group: Choose a Group to display Related Links for.
  • Number of Links: The maximum number of Links to display, linking to other Pages generated in this Group.
  • Post Type: The generated Post Type to limit Related Links to.  For example, if you only want to link to Posts generated by this Group, choose the Posts option.
  • Post Status: The generated Pages / Posts’ status.  For example, if you only want to link to published Pages generated by this Group, choose the Publish option.
  • Post Author ID: Only display Related Links to Generated Pages / Posts where the Author matches the given Author ID.
  • Categories: One or more comma separated Term Names or IDs.  When specified, only displays links to Generated Content that contains the matching Categories.
    • Keywords can also be used here.
    • For example, to only display links to Generated Posts that contain the Category web design, you’d type web design into this field.
  • Tags: One or more comma separated Term Names or IDs.  When specified, only displays links to Generated Content that contains the matching Tags.
    • Keywords can also be used here.
    • For example, to only display links to Generated Posts that contain the Tag web design, you’d type web design into this field.
  • Order Link By: How to order the Related Links
Shortcode not working? Related Links will only be displayed if there are other generated Pages in this Group.   Therefore, it won’t display any Related Links when generating content using the Test button / method.

A shortcode will then appear within the content:
[[page-generator-pro-related-links limit="5"]]

Parameter Accepted Value Description
limit integer The maximum number of Links to display, linking to other Pages generated in this Group.