What is the shortcode for multiple post_types
-
I need to use the shortcodes to duplicate the functionality of the widget form. In the widget form, I can choose multiple post_types. E.g. Posts AND Pages.
What is the shortcode for this?
- For posts only, I think the shortcode is
post_type="post"
. - For pages only, the shortcode is
post_type="page"
.
What is the shortcode for including both pages and posts?
Thanks for your help.
- For posts only, I think the shortcode is
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘What is the shortcode for multiple post_types’ is closed to new replies.