Skip to content

Commit 9c98364

Browse files
authored
Addes custom_field filter
1 parent 654dabc commit 9c98364

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tags/article_custom.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ Each field in the `textpattern` database table can be used as a sort key.
181181
: **Values:** `past`, `future`, `any` (both `past` and `future`) or a [PHP-compatible date format](https://secure.php.net/manual/en/datetime.formats.php). In the latter case, `time` will be considered as the end date of the interval started by `month` or `expired` attribute.
182182
: **Default:** `past`.
183183

184+
custom_field name <span class="footnote warning">v4.7.0+</span>
185+
: Restrict to articles that have a particular custom_field polulated.
186+
: **Values:** Just enter the custom field name in the `article_custom` tag.
187+
: **Default:** `none`.
188+
184189
### Common presentational attributes
185190

186191
These attributes, which affect presentation, are shared by many tags. Note that default values can vary among tags.

0 commit comments

Comments
 (0)