Hi kezzykezyqgc,,
One way you can get pages to be listed is to set the post_type attribute to “page” in the shortcode.
For example a shortcode that reads…
[ic_add_posts post_type=’page’ ]
… would list all of the content for all pages on the site.
Now, this would include the page with the Posts in Page shortcode, so you may want to limit your list.
One way to do this would be to include the Page (or Post) ids of the pages you want to list. To get the page id, go to edit the page you want to add, and look at the URL, which may look something like…
https://www.example.com/wp-admin/post.php?post=2&action=edit
Where it says post=2 tells you that this page’s post id is 2.
If I create a shortcode that says…
[ic_add_posts post_type=’page’ ids=’2′]
… then the posts in page list will include the page with id=2. You can list multiple pages by separating the ids with commas:
[ic_add_posts post_type=’page’ ids=’2,4,23′]
The above would only show pages. Now suppose you want to list both pages and posts in your list. In the above example, if 23 were a Post instead of a Page, it would not show in the resulting list because we specified only the Page post_type.
Now, you can also add a comma to your post_type attribute. The following would list all pages and posts.
[ic_add_posts post_type=’page, post’]
The following would list the items with the given ids whether they’re posts or pages:
[ic_add_posts post_type=’page,post’ ids=’2,4,24,53,101′]