How can I use [display-posts] shortcode to embed pages in pages?
-
Hi there,
I am trying to embed two of my WordPress.com pages in one my WordPress.com page.I am using the [display-posts] shortcode like this:
[display-posts id="30,25" wrapper="div" post_type="page" include_excerpt="true" ]
This works so far, except that the two pages I am embedding (with IDs 30 and 25) are cut-off, when displayed in the new page, after a few lines (so that only an auto-generated excerpt of each page is actually displayed).
Can I show the entire contents of pages 30 and 25?
Can I hide the title of embedded pages?
And in general, can I display posts in the order given in my “id” param?I am thinking about using the parameters post_title and post_content to do this, but I don’t really know how, since I ignore which values I can use for these parameters (e.g. post_title=”none”? post_content=”all”?).
Can anyone help me?
My purpose is intended for technical writing with a content-reuse approach using WordPress.com.Thanks for your help.
The blog I need help with is judithescoda.wordpress.com.
The blog I need help with is: (visible only to logged in users)
-
Answered here:
https://en.forums.wordpress.com/topic/how-can-i-use-display-posts-shortcode-to-embed-pages-in-pages-1?replies=2#post-1200156
Please don’t post the same question twice.
- The topic ‘How can I use [display-posts] shortcode to embed pages in pages?’ is closed to new replies.