• Resolved pixalab

    (@pixalab)


    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

    (@xnau)

    In the List Shortcode Filter 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.
    • This reply was modified 7 years, 11 months ago by Roland Barker.
    Thread Starter pixalab

    (@pixalab)

    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.