Title: Loop Shortcode &#8211; Limit Records Retrieved
Last modified: May 12, 2020

---

# Loop Shortcode – Limit Records Retrieved

 *  [flashpointdigital](https://wordpress.org/support/users/flashpointdigital/)
 * (@flashpointdigital)
 * [6 years ago](https://wordpress.org/support/topic/loop-shortcode-limit-records-retrieved/)
 * Is there a way to limit the number of records that get retrieved when using the**
   apr_loop** shortcode?
 * There is a mention of “maxrecords” in the [Documentation for Shortcodes](https://wordpress.org/support/topic/documentation-for-shortcodes/)
   post although I’ve not had any success with making it work, after trying numerous
   different configurations.
 * For example, one of which is…
 * [apr_loop maxrecords=”5″]
    <p>{{Name}}</p> [/apr_loop]

The topic ‘Loop Shortcode – Limit Records Retrieved’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/airpress_c9d28c.svg)
 * [Airpress](https://wordpress.org/plugins/airpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/airpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/airpress/)
 * [Active Topics](https://wordpress.org/support/plugin/airpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/airpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/airpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [flashpointdigital](https://wordpress.org/support/users/flashpointdigital/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/loop-shortcode-limit-records-retrieved/)
 * Status: not resolved