-
Notifications
You must be signed in to change notification settings - Fork 4
posts accessor
Polmonite edited this page Sep 21, 2019
·
1 revision
The posts
accessor retrieve a list of Malini\Post
.
Syntax:
@posts:{post_id_or_meta_key_1}, ... ,{post_id_or_meta_key_n},{decorators}
-
{post_id_or_meta_key_n}
: post numeric id or string meta key containing the wanted post; n of them can be passed; -
{decorators}
: list of registered decorators to apply to all retrieved posts; they must be divided by pipe; no options can be passed (filters can be applied at that purpose); if no decorator are wanted, thefalse
string can be passed.
Examples:
- Getting started
- Why Malini
- BaseAccessor
- ThisAccessor
- AllMetaAccessor
- MetaAccessor
- GroupedMetaAccessor
- MediaAccessor
- PostsAccessor
- PostAccessor
- Malini\Post
- Malini\Archive
- JSON Helper
- Filter Option Syntax
- Create your own Accessor
- Create your own Decorator
- Available Extensions
- Malini\Aeria
- Malini\YOAST
- Malini\ACF