Request a Call Back

Enter your number and one of our friendly ecommerce experts will be in touch. All fields are required.

Speak to our experts today 0333 004 0333
Speak to one of our experts today or Request a Callback
User Guides

EKM Tag: [ekm:pagetitle]

This tag is used to output the name of the page you are currently viewing. If you are on the homepage the shop name will display, on category pages the category title will display and on product pages the product name will display.

This tag is typically used within the <title> tags of your HTML

If the page has meta title's switched on this tag will output the meta title.

  • Tag Information
  • Nesting This Tag
Basic Use
The tag will output, in plain text, the title of the current page you are viewing

[ekm:pagetitle][/ekm:pagetitle]
                                
This outputs the following.
My Ziiiro Watch Shop
HTML Use
You would typically use this tag as in the example below. This would go within the <head> tag of your template.

<title>[ekm:pagetitle][/ekm:pagetitle]</title>
                                
This outputs the following.

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

Nesting This Tag

When nesting this tag you do not need to make any changes to it. It can be inserted into other tags like below.


[ekm:if]
    ...
    ifvalue='[ekm:pagetitle][/ekm:pagetitle]';
    ...
[/ekm:if]