WordPress.org

Forums

[Plugin: Get Posts] Problems inserting code (4 posts)

  1. torndownunit
    Member
    Posted 4 years ago #

    I am trying to insert the [get_posts] code into the html field of the WP editor as posted in the instructions, but the Pages just keep showing up with [get_posts] on them when I publish them. What am I doing wrong?

    http://dvsecurity.ca/wordpress/?page_id=13

    Thanks

    http://wordpress.org/extend/plugins/nurelm-get-posts/

  2. hawaiifi
    Member
    Posted 4 years ago #

    Try posting them into the Visual display

  3. wildmank
    Member
    Posted 4 years ago #

    Can you use the short code in templates? I tried it and, as torndownunit experienced, I end up with [get_posts] text instead of the listing.

    Ideas?

  4. AnaRita
    Member
    Posted 4 years ago #

    Use

    <?php echo (do_shortcode('[get_posts]')); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic