• Hey guys,

    I am testing your better-donor-list-shortcode from github, thank you for creating that; however, it does not seem to differentiate between forms when form_id is placed in the shortcode.

    Expected: I place form_id=’1234′ and number=’3′ and the most recent 3 donations from that form 1234 display. However, it actually displays the most recent 3 donations from all the active forms I have, eg. 1234 AND 5678. I’ve changed to either number, and the same thing happens.

    The shortcode I used is [ donor_list heading=’Recent Donor Rockstars!’ form_id=’134276′ number=’3′ ]

    The heading worked, the number worked, the form id did not.

    Can you replicate? Or did I do something wrong in the placement of the shortcode?

    https://github.com/WordImpress/Give-Snippet-Library/blob/master/useful-queries/better-donor-list-shortcode.php

    Thanks!

    • This topic was modified 7 years, 3 months ago by majecdad.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Ya, from the looks of the code there’s no logic for limiting by form_id even though we added the shortcode attribute.

    These snippets are provided as examples for your use, not necessarily finished code.

    I will revisit that code at some point but I can’t promise a quick turnaround at the moment.

    But we have an older example which you might want to compare against which I believe DOES limit by form_id:
    https://github.com/WordImpress/Give-Snippet-Library/blob/master/useful-queries/recent-donors-shortcode.php

    Thanks!

    Thread Starter majecdad

    (@majecdad)

    No worries. I get that they are not finished product.

    The other option doesn’t seem to show the ability to limit by form, and it also doesn’t seem to reflect the amount of the donation.

    I appreciate your efforts there, as well as any updates to them whenever you get to it.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Donor list not referencing form_id’ is closed to new replies.