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:page_type]

This tag will output the name for the type of page you are currently on. This is useful for including in classes to define page specific CSS.

  • Tag Information
Basic Use
This tag outputs a simple

[ekm:page_type][/ekm:page_type]
                                
Tag Attributes
Output Start
output_start='';

Specify any text or html to output before the page type.

Value
Description
{user defined}
Define any opening HTML to go before the page type.
Output Item
output_item='[type]';

Specify how you want each page type to be output.

The type attribute can output any of the following names...
main - The homepage
category - A category page
product - A product page
webpage - A shop webpage
cart - The shop's cart page
search - The shop's search results page
general - A system webpage for pages like sitemap, terms and conditions, etc

Value
Description
[type]
Outputs the name of the page type.
Output End
output_end='';

Specify any text or html to output after the page type.

Value
Description
{user defined}
Define any opening HTML to go after the page type.