Posts

Select the Posts Content Source option, if you want to display your posts or any other post types in layouts.

Available Posts:

  • Post Types (Post, Page, Portfolio, etc…)
  • Manual Selection
  • Custom Query
  • Current Query

Post Types (Post, Page, Portfolio, etc…)

These options will display posts from the selected post types. There are a lot of options available to deeply customize your output

Excluded Posts

Exclude specific posts from the output. Type the name of the post to see posts suggestions.

Taxonomies

These options allow you to use taxonomies: you can enter needed tags or categories in the Taxonomies list. You can see two options in the Taxonomies relation list: OR and AND.

  • If you want to see all posts from selected taxonomies, select the OR relation (for example, if you want to show all posts from both “2018” and “2019” categories).
  • If you want to see posts that have all selected tags and categories at the same time, select the AND relation (for example, if you want to show all posts with the ”design” tag from the “2018” category).

Order

Change the default items order using next options:

  • Date
  • Title
  • ID
  • Comments Count
  • Modified
  • Menu Order
  • Random

Change the direction using the Order Direction option.

Avoid Duplicates

In the output will be shown unique posts without duplicates, that already added in previously showed blocks.

Offset

Use this setting to skip over posts (e.g. 2 to skip over 2 posts)

Authors

Display posts from selected authors only.

Date

Select the date range for posts, using the following options:

  • All
  • Past Day
  • Past Week
  • Past Month
  • Past Quarter
  • Past Year
  • Custom – allows you to set custom date ranges

Ignore Sticky Posts

Don’t display posts, that marked as Sticky. By default, such posts displayed in the first positions.

Exclude Posts Without Thumbnails

Don’t display posts, that don’t have thumbnails (Featured Image).

Manual Selection

You can include specific posts only to your output. There are a lot of options available to deeply customize your output, that described above.

Specific Posts

Include specific posts for the output. Type the name of the post to see posts suggestions.

Custom Query

Select the Custom Query as your data source, and you’ll see the special field for your custom query. Please visit this page to learn more about queries in WordPress – https://developer.wordpress.org/reference/functions/query_posts/

Example #1

You need to show posts from the Branding category (the slug is branding), posted in the 2012 year and order these posts in ascending order. Achieve this using this custom query:

The same for Portfolio post type:

Example #2

Show images from WordPress Media Library:

Current Query

This option allows you to display posts from the current page query. For example, when you add this block on posts archives, it will display actual posts for the current archive. Also, this option is highly helpful in combination with a 3rd-party plugin for filtering, such as Facet WP

Was this page helpful?