This function allows you to display the number of times a tag has been subscribed to.

{exp:tag:subscriptions_count} content {/exp:tag:subscriptions_count} 

Parameters

The following parameters available for use:

marker=

marker="department" 

If you're using the Tag:Subscriptions_Count function in a template with the tag name or ID in the URI, it's possible to change the marker in the URI from the default of tag, to something of your choice. This parameter tells Tag:Entries which marker to look for in your URI. By default, Tag will check the URI for the marker tag, like this: http://www.site.com/articles/by_tag/tag/pants/

tag=

tag="{segment_3}" 

This parameter allows you to hardcode a tag in which to pull subscription counts for. Otherwise, the tag is normally dynamically supplied in the URI.

tag_id=

tag_id="25" 

This parameter allows you to hardcode a tag ID in which to pull subscription counts for. Otherwise, the tag ID is normally dynamically supplied in the URI.

Variables

The following variables are available for use:

subscriptions_count

{subscriptions_count} 

This variable will return the number of times that a tag has been subscribed to.

Examples

Below is a basic example of how you show the total number of subscriptions to a given tag:

{exp:tag:subscriptions_count tag="{segment_3}"}
    Total number of Subscriptions: {subscriptions_count}
{/exp:tag:subscriptions_count}