textpattern.github.io icon indicating copy to clipboard operation
textpattern.github.io copied to clipboard

page: item

Open philwareham opened this issue 6 years ago • 1 comments
trafficstars

Absolute URL of front-end page

https://docs.textpattern.com/tags/item

The question/problem

We need to write up info in the upcoming (4.8) tag txp:item. Hopefully @bloatware can provide some details on how it works and example(s)?

philwareham avatar Nov 14 '19 10:11 philwareham

Yep, as soon as I know it :-) The idea is a general-purpose tag that could be used inside "list" tags to retrieve the value of the current "item". For example

<txp:older shift="1,2,3">
    Page <txp:item name="page" />
</txp:older>

bloatware avatar Nov 14 '19 10:11 bloatware