It’s a simple function that checks to see if an entry field (title, body, excerpt, category1, category2 or image) contains data. If the if_not empty tag is used and the field contains data, the code between the open and close tags is executed, and if the field is empty the code is ignored. There is also an if_empty tag, which obviously does the opposite.
In version 3.0 there is also a minlength parameter so that you can specify how many words you require for the field not to be considered emtpy.
Currently the plugin works with the title, body, excerpt, category1, category2, and article_image fields.
If Empty does not work with keywords or custom fields.
For a plugin that works with custom fields, see mdn_if_custom.
<txp:swf_if_empty field="title" minwords="2">
<txp:swf_if_not_empty field="title" minwords="2">
Archived [?]: orphaned: broken links