ActiveCampaign

[memb_get_permalink]

Summary
This shortcode displays the permalink of a particular page or a post.

Description

This shortcode displays the permalink of a particular page or a post.

Shortcode Examples

To display the permalink of the post where the shortcode is posted

[memb_get_permalink]

To display the permalink of a specific post

[memb_get_permalink post_id="507"]

An example with all the parameters

[memb_get_permalink post_id="507" leavename=Y]

Shortcode Parameters

post_idID # of post (defaults to current post)
page_idID # of page (defaults to current page)
leavenameY/N 1/0 (defaults to false) When set to true, a structural link will be returned, rather than the actual URL. Example: http://www.example.com/%postname% instead of http://www.example.com/my-post.

Shortcode Attributes

ConditionalNo
NestableNo
Accepts formattingNo
CapturableNo