Exclude pages, only include posts
-
[display-posts category="MyCategory" post_type="post" exclude_current="true" posts_per_page="20"]
does not work for me, not sure what is going on. The above displays both Pages and Posts in the list, any tips on how to debug this?
I’ve the above shortcode in a page.
Essentially, I only want the items listed in WordPress Posts dashboard menu and not from the Pages dashboard home menu.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Exclude pages, only include posts’ is closed to new replies.