Speak to our experts today 0333 004 0333
Speak to one of our experts today
User Guides

EKM Tag: [ekm:categorypagename]

This tag is used to output the page name of a category on a category page. The tag requires you to specify an ID for the category you want the name to output for.

If you are planning on using this on a category page you should see the 'Extended Use' section below, this will dynamically pull the name of the current category page.

  • Tag Information
  • Nesting This Tag
Basic Use
In it's basic form you can use this tag to pull the title of a category by manually entering a category ID.

[ekm:categorypagename]categorypageid='31';[/ekm:categorypagename]
                                
Extended Use
You can also specify a depth to pull the ID of a category from. This can be either an integer value or 'default'.

[ekm:categorypagename]categorypageid='[ekm:categoryid][/ekm:categoryid]';[/ekm:categorypagename]
                                
Tag Attributes
Category Page ID

Within this attribute you must specify the ID of a category, the title of this category ID will be displayed.

Value
Description
{user defined}
Enter an integrer value. This should be a category's ID
[ekm:categoryid][/ekm:categoryid]
This will automatically get the ID of the category you are currently viewing. This will therefore pull the title for the current category.

The EKM system allows for some tags to be nested within other tags.

This tag cannot be nested within other tags