Configuring fields not based on ID or post name, but rather a shortcode filter?
-
Hi Chester!
Thanks for the great plugin. I’m trying to figure out how to configure this for my own site and I’m running into a bit of a wall. Maybe I could take you up on the offer to screenshare?
What I’m trying to do is this: I run a group gifting site, and I have all contributions data flowing into Airtable, with meta data pulled in on slugs so I know if someone’s contributed to Mary’s gift (…/Mary10) or Tom’s gift (…/Tom15), for example. I have a summary table then that lists all the slugs and rolls up values so I have, for each slug, the total amount of money contributed and the total number of contributors. For example:
Slug Name Amount Contributors
Mary10 Mary $100 12
Tom15 Tom $400 18There are two types of pages associated with each group gift: The contribution page (/Mary10) and then the organizer’s dashboard (/Mary10/dashboard), which has all the stats on Mary’s contribution amounts that only the organizer can see. I currently update that manually and thought this is where AirPress could be a huge help.
However, I’m not sure if Airfields or posts would be the move here.
If fields, I want to just pull in the amount and contributor count in a text block on that page, but when I configure a field it asks for WordPress Field (Id or post_name) and I’d need a shortcode that I could customize for each page (Mary and Toms), like filtering for Slug=Mary10 (aka picking a row, similar to a vlookup), then pulling [apr field=”Name”]. I’d like that filter on the shortcode side rather than looking for a match on the page title or ID, or else I’d need to create a new field configuration for every dashboard and that would add in manual work that I’d love to cut out.
If pages, I’d like to create a template of a page, where Airpress could generate a new page (organizer dashboard using my current template for it) and pull in the following:
Name, a photo (which I can add to the summary table), amount, contributor count, and then a custom Airtable embed view (which I can also add as a column to the summary table). What complicates this is I’m using WP Bakery so there’s a bit more complexity to the page vs just a blank page that AirPress can drop data into.Would love to see if you have thoughts on how to accomplish either of these, and totally fine if this is out of scope for your support. Thanks either way!
- The topic ‘Configuring fields not based on ID or post name, but rather a shortcode filter?’ is closed to new replies.