1. Home
  2. Docs
  3. W4 Post List
  4. How to
  5. How to create new template tag

How to create new template tag

A template tag is more or less like traditional WordPress shortcode. However, it needs to be registered differently. Following is an example.

Next, you can use the tag [[product_price]] and [[product_short_description]] within your list template.

W4 post list custom tag used inside posts loop