On this page:


<txp:hide />

The hide tag is a container tag which is used to suppress the interpretation of all enclosed contents. Use it for comments, temporary concealment of article text parts or non-destructive form changes.


This tag has no attributes.


Example 1: Insert a useful note in a template

<txp:hide>This is a work-around for a bug in Internet Explorer, again</txp:hide>

Example 2: Comment out part of a form for testing

If you want to try something out to see how it affects the layout without actually deleting the content, wrap it in hide tags:

<div class="entry-content">
    <txp:body />
    <address class="vcard author">
        <span class="fn">
            <txp:author />
    <txp:comments_invite wraptag="p" />

Renders the body text inside the <div class="entry-content"> but skips the <address> and <txp:comments_invite /> tags.

Other tags used: body, author, comments_invite.

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.