Liste mit Posts -> [display_posts]

Escapen für [ und ] sind [ und ]

[display-posts wrapper=’ul’] – default
[display-posts wrapper=’div’]
[display-posts wrapper=’ol’]

[display-posts title=’Übertitel’]
[display-posts title=’Übertitel‘ include_title=’false’]
[display-posts title=’Übertitel‘ include_title=’true‘ include_link=’false’]

exclude=“

[display-posts category=’news’]
[display-posts category=’cat1,cat2’]
[display-posts category_display=’true’]

[display-posts orderby=’rand’]
[display-posts category=’avid‘ orderby=’rand’]

[display-posts category=’cat1′ include_content=’true’]

[display-posts category=’cat‘ wrapper=’div‘ title=’Übertitel‘ include_title=’true‘ include_link=’false‘ include_content=’true’]

[display-posts post_type=’page‘ post_parent=’8’]
Display the pages that are a child of a certain page.

[display-posts post_type=’page‘ post_parent__in=’10, 20’]
Display the pages that are the child of a set of pages.

[display-posts connected_type=’posts_to_pages’]

links:
https://displayposts.com/docs/parameters/#query-parameters
https://displayposts.com/docs/parameters/#display-parameters
https://displayposts.com/2019/01/04/use-template-parts-to-match-your-themes-styling/
https://displayposts.com/docs/the-output-filter/
https://displayposts.com/docs/filters/

Post Content Shortcode

[post-content post_name=’full‘ show_title=true]
[post-content post_name=’name‘ show_title=true]
[post-content post_name=“full-text-post“ show_title=true]
[widgets_on_pages id=x]