Aleš Sýkora wrote

Featured posts query with Oxygen Advanced Query Builder

30. 6. 2021 in ,

Past few days, Oxygen 3.8 was released. It contains beautiful new Query builder for repeaters and easy posts. I will continue to add examples of queries continuously. Here is the first query:

Featured (sticky) posts query

  • post_type
    • post
  • meta_query
    • key = featured
    • value = 1
  • (optional disable pagination) no_found_rows = true
Featured posts query with Oxygen Advanced Query Builder

Need to ignore sticky (featured) posts in query?

  • post_type
    • post
  • ignore_sticky_posts = true
  • (optional disable pagination) no_found_rows = true
Ignore sticky featured posts in advanced Oxygen query builder

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More from category
Aleš Sýkora wrote
Display all WooCommerce categories and their products inside
11. 2. 2021 in
If you need to display all your WooCommerce categories in the list and their products inside, you can use mine code. For example you need to create one page layout for food felivery. Use my second tutorial, if you like to display all subcategories and its products on parent category archive. Page = Food Delivery […]
Read More
Aleš Sýkora wrote
Translate Step status in multistep Fluent Form
If you need to translate the “Step 1 of xx” in fluent forms, you can use this filter to do that. Just put it in your code snippets plugin and change the ‘Step’ and ‘of’ to needed words.
Read More
Aleš Sýkora wrote
Shortcode to display word count or reading time
1. 7. 2019 in
This shortcode "word-count" will display a count of words for whatever content is passed, and can optionally display an estimated reading time.
Read More
magnifiercross linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram