Go to main content

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 a single/container tag which is used to produce a list of linked categories.

    Go to the full documentation…

  3. Header

    The header tag is a single tag that is used to set HTTP headers.

    Go to the full documentation…

  4. 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…

  5. 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…

  6. 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…

  7. 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…

  8. 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…

  9. 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…

  10. 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…

  11. 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…

  12. 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…

  13. 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…

  14. 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…

  15. Output form

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

    Go to the full documentation…

  16. 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…

  17. 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…

  18. Yield

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

    Go to the full documentation…

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)