Shortcodes

[nmf_button]
[nmf_button show=categories per_page=10]

Show all the categories that the current user can tag objects to.

[nmf_button id=like]
Show the button for tagging the current object in the like category.

[nmf_button id=like object_id=1]
Show the button for tagging the object with id 1 in the like category.

[nmf_button id=like object_id=1 show=users per_page=10]
Show the users that have tagged the object with id 1 in the like category with 10 items per page.

[nmf_button id=like show=tags per_page=10]
Show the tagged objects in the like category with 10 items per page.

[nmf_button id=like show=most_tagged limit=10]
Show the 10 most tagged objects in the like category.

NOTES

The ‘per_page‘ and ‘limit’ attributes are optional for all the shortcodes and default to 10. The ‘per_page‘ attribute only works in the pro version.

The ‘id‘ attribute can take either the category slug or id, for example, ‘like’ or 1.

When the ‘object_id‘ attribute is needed but not supplied, it is taken from the current object id for the object type associated with the category. For example if the object type associated with the category is ‘post‘, the current object id will be the id of the global $post object. This will be used if the ‘object_id’ in the shortcode is not supplied.