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

Book Your Free Consultation Today

Get expert advice on how EKM can help you drive more sales, save valuable time, and grow your business effortlessly — all without the hassle.

  • Tailored advice for your business needs

  • Discover how EKM helps you scale with ease

  • No pressure — just expert insights and a clear path forward for your business

Book Your Free Consultation Today

Book a specific time and date for a consultation

or

Enter your details, and we’ll call you back ASAP.

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.