• Resolved crsouser

    (@crsouser)


    I am in some cases seeming to have a problem posting pages using the plug-in.

    I use pages for some content as I maintain control over some base content, no auto broadcast updates like to a post every time I update it or want to re-display it I can with a short code. So I am not just looking for use a post instead.

    [display-posts id=”789050″ include_content=”true” display-posts]

    My permalink format is set as follows.
    https://webpage.org/2015/03/06/sample-post/

    I know definitively that if this is a post it works, but with pages it does not and I want to display the full content of the page within the page or tab.

    Is there a different parameter or something I should be using to get this working?

    https://www.ads-software.com/plugins/display-posts-shortcode/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Try adding post_type=”page”. It defaults to the ‘post’ post type since that’s what is most commonly used:

    [display_posts id=”789050″ post_type=”page” include_content=”true”]

    Thread Starter crsouser

    (@crsouser)

    Yes that fixed it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying pages with shortcode, not posts by ID?’ is closed to new replies.