Skip to main content

mbr_permalink

Usage

This shortcode returns the permalink (URL) of the current or specified page, post or custom post type.

Parameters

ParametersDescription
post_idSpecifies the WordPress page or post ID whose permalink (URL) is to be retrieved.
Default: Current page/post.
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

This shortcode does NOT support conditional branching with [ELSE_permalink].

Nesting

Shortcode nesting within is NOT supported.

Examples

Will return the URL of the current page/post:

[mbr_permalink]

API

info

There is currently no ActiveMember360 API function equivalent for this shortcode. Please use the regular WordPress function get_permalink.