• Resolved barelief

    (@barelief)


    Hello!

    Firstly, I want to say thank you for such an amazing plugin.
    It saved me some time copy pasting data from Airtable to WP ??

    Is there a way to loop through records without creating virtual post? (I mean inside usual post)?

    Something like this (pseudocode):

    [apr config="default"] // load config
    [apr table="Events"] // load table
    
    List of Events:
    
    [apr_loop]
    
    Event {{Name}} happens on {{Street}} <BR />
    
    [/apr_loop]
Viewing 1 replies (of 1 total)
  • Plugin Author Chester McLaughlin

    (@chetmac)

    Currently, not without adding PHP code to your functions.php (or elsewhere).

    I typically just create a page called “AIRPRESS TEMPLATE: Whatever” and then create a Virtual Post that matches the actual URL that I want and assign it to the template page just created. Then I can access the Airtable data I want.

    In the future, I’m going to introduce the concept of “Queries” so that you can create queries and then using the Page/Post editor you can tell that query to run on that specific page/post while using variables from that page/post for various parameters.

Viewing 1 replies (of 1 total)
  • The topic ‘Loop through records without virtual post’ is closed to new replies.