Display posts with wordpress plugin

  • Unknown's avatar

    Can someone tell me why this shortcode doesn’t work in wordpress text editor? All it does it display it as text. Do I have to install a plugin? Because this doc page makes it seem like wordpress has built in shortcodes to display posts:

    Display Posts shortcode

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Sorry I forgot to put in the shortcode example:

    [display-posts posts_per_page="20"]

  • Hi there,

    Shortcodes must be used in the visual editor, not the text/HTML view of the editor. And in the editor it will only show the shortcode – the actual posts will only appear once you publish the page, and it will only show something if you have published posts on the site.

    On which page on your site are you trying to use this shortcode?

  • Unknown's avatar

    It was on the homepage of the site but I just realized I was looking at the docs for wordpress.com instead of wordpress.org

    If I have an installation of wordpress on a server these shortcodes don’t work do they? My mistake!

  • Hi there,

    If you install the Jetpack plugin you can use the shortcodes mentioned in that list:

    Jetpack

    If you have any other questions, just let me know and I’ll be happy to help.

  • The topic ‘Display posts with wordpress plugin’ is closed to new replies.