Liquid Template Variables - handle: Difference between revisions

From Spiffy Stores Knowledge Base
Jump to: navigation, search
Admin (talk | contribs)
New page: The '''handle''' of an object is used to refer to the object in the web site URL or address. By default, the '''handle''' is the object's title with all spaces being replaced by dashes. ...
 
Admin (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
For example, "My Brand New Product" would have a handle of ''my-brand-new-product'' and this would appear in the URL as
For example, "My Brand New Product" would have a handle of ''my-brand-new-product'' and this would appear in the URL as


<pre>http://www.myshop.com/products/my-brand.new-product</pre>
<pre>http://www.myshop.com/products/my-brand-new-product</pre>
 
In your Spiffy Toolbox, you can view the handle of all of your products, pages and collections by clicking the grey "handle" link that appears when you're editing the title of the page.
 
== Further Reference ==
 
* [[Liquid Basics]]
* [[Liquid Tag Reference]]
* [[Liquid Filter Reference]]
* [[Liquid Variable Reference]]
* [[Liquid Paginate Tag|Pagination ]]

Latest revision as of 13:17, 25 June 2018

The handle of an object is used to refer to the object in the web site URL or address.

By default, the handle is the object's title with all spaces being replaced by dashes.

For example, "My Brand New Product" would have a handle of my-brand-new-product and this would appear in the URL as

http://www.myshop.com/products/my-brand-new-product

In your Spiffy Toolbox, you can view the handle of all of your products, pages and collections by clicking the grey "handle" link that appears when you're editing the title of the page.

Further Reference