Category: Structural tags

Textpattern documentation within the category ‘Structural tags’:

  1. Category

    The category tag will display information of the category as defined by the name attribute, or the one currently being viewed.

    Go to the full documentation…

  2. Category list

    The category_list tag is used to produce a list of linked categories.

    Go to the full documentation…

  3. If first category

    The if_first_category tag will execute the contained statements if the current category is the first in the list.

    Go to the full documentation…

  4. If first file

    The if_first_file tag will execute the contained statements if the displayed file is the first in the currently displayed file download list.

    Go to the full documentation…

  5. If first image

    The if_first_image tag will execute the contained statements if the displayed image is the first in the currently displayed images list.

    Go to the full documentation…

  6. If first link

    The if_first_link tag will execute the contained statements if the displayed link is the first in the currently displayed link list.

    Go to the full documentation…

  7. If first section

    The if_first_section tag will execute the contained statements if the current section is the first in the list.

    Go to the full documentation…

  8. If last category

    The if_last_category tag will execute the contained statements if the current category is the last in the list.

    Go to the full documentation…

  9. If last file

    The if_last_file tag will execute the contained statements if the displayed file is the last in the currently displayed file download list.

    Go to the full documentation…

  10. If last image

    The if_last_image tag will execute the contained statements if the displayed image is the last in the currently displayed images list.

    Go to the full documentation…

  11. If last link

    The if_last_link tag will execute the contained statements if the displayed link is the last in the currently displayed link list.

    Go to the full documentation…

  12. If last section

    The if_last_section tag will execute the contained statements if the current section is the last in the list.

    Go to the full documentation…

  13. If yield

    The if_yield tag tests the existence and/or value of a content set with the yield tag inside of an output_form container tag.

    Go to the full documentation…

  14. Output form

    Textpattern will replace this tag with the content resulting from the form template called by the tag.

    Go to the full documentation…

  15. Section

    The section tag can be used as either a single tag or container tag and will display information about the section.

    Go to the full documentation…

  16. Section list

    The section_list tag is a single or container tag which is used to produce a list of linked sections.

    Go to the full documentation…

  17. Yield

    The yield tag is a single tag which is used to return the inner content of the enclosing output_form tag.

    Go to the full documentation…

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.