Title: shortcode
Last modified: July 5, 2018

---

# shortcode

 *  Resolved [pixalab](https://wordpress.org/support/users/pixalab/)
 * (@pixalab)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-586/)
 * Good evening, I’m using shortcodes to extract a series of records from the created
   database. Specifically, I would like to display the recorded records not in the
   current month as with the command [pdb_list filter = “date_recorded> = current_month”]
   but the ones from the previous month. How should I formulate the shortcode? Thank
   you

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

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-586/#post-10470574)
 * In the [List Shortcode Filter](https://xnau.com/work/wordpress-plugins/participants-database/participants-database-documentation/list-shortcode-filters/)
   docs, under Dynamic Dates, there are codes you can use to access a specific month
   in the past of future. To show only the previous month’s records, you could use
   a filter like this:
 * `[pdb_list filter="date_recorded>-2_months&date_recorded<current_month"]`
    -  This reply was modified 7 years, 11 months ago by [Roland Barker](https://wordpress.org/support/users/xnau/).
    -  This reply was modified 7 years, 11 months ago by [Roland Barker](https://wordpress.org/support/users/xnau/).
 *  Thread Starter [pixalab](https://wordpress.org/support/users/pixalab/)
 * (@pixalab)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-586/#post-10471534)
 * I applied your string (with the value -1) and I got what I wanted. Thank you.
   Now, I’ve purchased the Participants Database Combo-Multisearch Add-On plugin
   and I’m rehearsing … I think I’ll need your help soon. Thanks and good week

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

The topic ‘shortcode’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [pixalab](https://wordpress.org/support/users/pixalab/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/shortcode-586/#post-10471534)
 * Status: resolved