Dynamic Posts - Post Type Query - Dynamic

Dynamic mode is useful to build a list of related posts or if you are using it in a template for an Archive. This method will read and dynamically interpret the post you are in, the term, the search page or archive home.

You can choose:

  • if you want to exclude current post;
  • if you want to exclude page parent;
  • exclude one or more posts selecting their titles;
  • number of posts to display (-1 means "all");
  • posts offset, exclude latest "X" posts from the loop;
  • order by Post ID | Post Author | Title | Date | Last Modified Date | Parent ID | Random | Comment Count | Menu Order | Meta Value NUM | Meta Value DATE. If you select "Meta Value" you must choose the Meta Field;
  • order ascending or descending.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us