How can I use [display-posts] shortcode to embed pages in pages?

  • Author
    Posts
  • #1201979

    dianaescoda
    Member

    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 judithescoda.wordpress.com.

    #1202079

    justpi
    Member

The topic ‘How can I use [display-posts] shortcode to embed pages in pages?’ is closed to new replies.