Iain Urquhart

Taxonomy 3

taxonomy:next_node

Get information about the next sibling node (and it's associated entry) for a given node.



Tag Parameters

tree_id=

tree_id="1"

The id of the node's tree you want to fetch.

entry_id=

entry_id="{entry_id}"

The entry_id of the node being requested.

node_id=

node_id="32"

The node_id of the node being requested.


Tag Variables

These varables are available between the tag pair

Variable Example Output / Notes
{next_node_node_id} 22
The Node ID for the next node
{next_node_lft} 12
The lft value for the next node
{next_node_rgt} 12
The rgt value for the next node
{next_node_depth} 2
The depth of the next node
{next_node_parent} 23
The node_id of the next node's parent
{next_node_label} About
The node's label according to Taxonomy
{next_node_entry_id} 12
The next node's associated entry_id
{next_node_channel_id} 4
The channel_id of next node's associated entry
{next_node_author_id} 1
The author_id of next node's associated entry
{next_node_entry_date} 1370658900
The timestamp entry date of next node's associated entry
{next_node_url} http://example.com/pages/foo
The URL of the next node
{next_node_my_custom_field} Allo Allo
The output of your taxonomy custom field, note the short name is prefixed with next_node_

Want to say 'thank you'?

If you find any of my work useful, feel free to make a donation amount of your choosing via PayPal — or if you like, purchase a copy of Introvert from Devot-EE and you'll get something in return :)

↑ Back to top