Title: Pods shortcode and limit posts displayed error
Last modified: August 10, 2020

---

# Pods shortcode and limit posts displayed error

 *  Resolved [lkwetter](https://wordpress.org/support/users/lkwetter/)
 * (@lkwetter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/pods-shortcode-and-limit-posts-displayed-error/)
 * I have a simple pods shortcode, which does as expected and displays the last 
   3 posts using the template I created, but at the end of the display it writes
   the message:
 *  “Please provide either a template or field name”
 * I don’t understand why it is doing this. I tried some things to try and figure
   it out with no success so far.
 * [pods name=’newsletter’
    template=’Recent-3-Newsletters’ orderby=’post_modified
   DESC’ limit=3] [pods/]
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpods-shortcode-and-limit-posts-displayed-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/pods-shortcode-and-limit-posts-displayed-error/#post-13236336)
 * HEllo [@lkwetter](https://wordpress.org/support/users/lkwetter/)
 * You end with `[pods/]`. This is incorrect and you can simply omit this part.
   
   A shortcode should not be closed or if it has content the `/` needs to go before
   the shortcode name.
 * Cheers, Jory
 *  Thread Starter [lkwetter](https://wordpress.org/support/users/lkwetter/)
 * (@lkwetter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/pods-shortcode-and-limit-posts-displayed-error/#post-13236817)
 * Thank you. I had a feeling I did something stupid, but just couldn’t see it.
 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/pods-shortcode-and-limit-posts-displayed-error/#post-13237523)
 * No problem!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Pods shortcode and limit posts displayed error’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/pods-shortcode-and-limit-posts-displayed-error/#post-13237523)
 * Status: resolved