There was an error while loading. Please reload this page.
The plugin comes with two shortcodes, which you can insert inside the post content.
The [p2p_connected] shortcode will show a list of items connected to the current post.
[p2p_connected]
Just insert one of the following examples into your post content:
Unordered list: [p2p_connected type=posts_to_pages]
Ordered list: [p2p_connected type=posts_to_pages mode=ol]
Comma-separated list: [p2p_connected type=posts_to_pages mode=inline]
The type parameter represents the name of the connection type you'd like it to use.
type
The [p2p_related] shortcode will show a list of items related to the current post.
[p2p_related]
Example:
Ordered list: [p2p_related type=posts_to_pages mode=ol]
For changing the output of a shortcode, see Actions and filters.