---
title: "all_pages"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/sline/object/all-pages'
  md: 'https://developer.shopline.com/docs/sline/object/all-pages.md'
---

# all_pages


    All custom pages in the store.

    Using this object alone won't produce any output. It must be used with the [get](https://developer.shopline.com/docs/sline/filter/get.md) filter.





    
## Example

        
            

            Pass the page handle to return the corresponding [page](https://developer.shopline.com/docs/sline/object/page.md) object.


            

            
<SlineExample path={''} objects={ 
    [""] 
}>
```sline
{{#var page = all_pages | get("privacy-policy") /}}
{{#link_to page.url}}
  {{page.title}}
{{/link_to}}
```
</SlineExample>
            
        
    
