Hello,
I guess everery body her got the email from airtable, if I translate it simply, API keys will be useless soon, we will need a Token to connect to the API.
Meaning, if I understood well, that our lovely AirPress will need to be updated to authenticate with Token.
Is there any chance that it will happen or should I already look for an alternative ? Do you have any advice ?
(I just tried Air WP Sync and it is really not as powerful as AirPress.)
Thanks a lot !
]]>i am trying to add multiple fields in filterByFormula but i am not actullay know the format how should i do? can you please help me
]]>Hi there,
Have there been any reported cache issues? Our front-end display hasn’t been updating for 24 hours.
]]>Hi,
I assume that everyone who uses Airtable has gotten their email regarding the upcoming security change on incorporating expiring attachment links.
For everyone who uses this plugin as a way to show Airtable images on their website, this change – if I’m seeing this correctly – will have a big impact and might result in broken image links.
I’m wondering whether anyone has ideas for solutions to this issue which could be implemented into the plugin – if that is possible at all.
]]>I am really struggling to set up Airpress virtual posts via the video tutorials.
Is anyone able to help me with some in depth instructions / support?
]]>I made a small addition to the plugin.
Now you can use URL for images in WordPress like this:
https://ww100.atiks.org/?air_i=ww100nails_courses|NailProfessionals|recbmM8W6smWxyiT6|Foto|0
where you send dynamyc parameters for image in Airtable
my code in functions.php:
//////////////
if ($_GET[‘air_i’] != ”) {
$atts = explode(‘|’, $_GET[‘air_i’]);
$config = $atts[0];
$table = $atts[1];
$rid = $atts[2];
$field = $atts[3];
$index = $atts[4];
$query = new AirpressQuery();
$query->setConfig($config);
$query->table($table)->view(”);
$query->addFilter(“{RECORD_ID}='”.$rid.”‘”);
$records = new AirpressCollection($query);
$file = $records[0][$field][$index];
if ($file[‘url’] == ”) {print(’empty’);exit;}
$name = $file[‘url’];
$fp = fopen($name, ‘rb’);
header(‘Cache-Control: no-cache, no-store, max-age=0, must-revalidate’);
header(‘Expires: January 01, 2013’); // Date in the past
header(‘Pragma: no-cache’);
header(“Content-Type: image/jpg”);
fpassthru($fp);
exit;
}
//////////////////
I have this page where PHP snippet with airpress code pulls the records from a view in airtable to display it.
But since a couple of weeks, when I add a new record that should be displayed with airpress it doesnt show right away. But after a while (hours or days I dont know) it gets displayed in the page as it is supposed.
It looks like a sort of caching problem.
I tried clearing the following caches : browser, Expired Transients, All Transients, and the site dynamique cache.
But it is still not working until a few days when it magicially is there.
I am tearing my hair out on this one as I need my info right away on my website.
Hi,
It seems like you haven’t updated this plugin since 1 year. I’d like to know if it’s on the go or if it’s abandonned?
Thank for letting me know
]]>Hi Guys, every time auto-updates are implemented the airpress connection to airtable is broken. I need to log in to the backend and purge the cache to solve the issue.
Any of you guys have this kind of problem and what is your solution for this aside from clearing the cache? it would be nice if you could share.
]]>Im trying to get like 4,000 records, but when try that error appear. With other lighter table no problem.
I currently have set 256M of Memory in WordPress.
Thank You ??
]]>Hello,
After creating all my Virtual Posts, let’s says I will have about 200, does there is a way to get a list/directory of all the posts ?
On the video (https://youtu.be/y0UkzQFk5Ok?t=1622) he write down the full url by hand. How does regular visitor can access all those virtual posts ?
Does each virtual post also publish a real post on WP ?
Thanks ! ??
]]>There seems to be a bug happening often : everything is set up correctly on the WordPress installation but, from time to time the website will display “No Data”. I will need to go back on the Virtual Posts section and then play around with “Map to this page”, or just re-save to make it appear again. I thought it would have something to do with cache, but it’s more like the connection stops working all of a sudden.
Any hints for this problem?
]]>The code used by Chester to insert an image tag in a page at https://youtu.be/y0UkzQFk5Ok?t=900 does not work for me.
I am using [apr field='Photo|url' wrapper='<img src="%s">']
I can successfully echo the URL of the Photo field without wrapper. However, when I add wrapper, I get…
Warning: sprintf(): Too few arguments in /home/customer/www/mysite.com/public_html/wp-content/plugins/airpress/lib/chetmac/Airpress.php on line 457
What’s going on?
This is my first time using the WordPress Gutenberg stuff, which I’ve avoided so far, and it absolutely mangles the APR tags.
]]>Hi, I am scratching my head around to figure out how to filter a virtual posts loop with selectboxes or checkboxes. I want to filter by a String in my Airtable Column. Such as categories or tags. The Options in the input fields or checkboxes can be hardcoded. As long as I find an example on how to do this. Can you please point me to examples which are beginner friendly? The documentation is just not for made for n00bs…
Thanks so much.
]]>Hi, Airpress is great to show data from Airtable on my wordpress site using a shortcode. But I was wondering if it was possible to actually bring in the data from airtable and have it populate custom fields wordpress? I use Advanced Custom Fields.
]]>Hello,
Is there a way to call an airpress field within a AE (Anywhere elementor) template ?
]]>Hi folks, struggling with this for some reason. Appreciate any help.
I have an Airtable base with a table called “Portfolio Companies”. Simply put, I want to iterate through this entire table (maybe filter later) and pull out various fields to display.
What I’ve tried to do is the following:
1. Created the Connection.
2. Created a “Portfolio Companies” virtual post.
3. Tied it to my connection.
4. Set a URL pattern of ^/portfolio/?$
. Have tried /portfolio/?$
and a few other iterations too.
5. Set a Test URL of /portfolio
, which is when I see that there are 52 records.
So, I feel like I’m in good shape so far. Even though it says 52 records regardless of what I put in the Test URL field. Odd…?
6. Set table name = Portfolio Companies
7. Set view name = All View
8. post_title and post_name = Name
(one of the fields in the Airtable Table)
9. Map it to the page I created.
The page I created has this code:
[apr_populate field="Name" relatedTo="Portfolio Companies"]
[apr_loop]
Name: {{Name}}
[/apr_loop]
I’m just trying to list the names at this point.
Now, feels like I’ve done everything per the videos I’ve watched. However, I have the following problems:
a. The page I created (if I try to view it directly) results in: No Data Found
.
b. The log says:
AIRPRESS LOADED
NO AIRPRESS COLLECTION with which to populate
c. And I get a 404 error when I try to navigate to /portfolio
.
Really could use some help. Been trying to add and remove some things, poke around, but haven’t gotten what I’m looking for. Feel like it’s probably something simple.
Appreciate the help!
]]>Hi,
I have multiple Virtual Posts, each is off course with unique “Airtable Field to be used as post_name”.
To be exact there is two Virtual Posts. One with Cities and one with Company Names.
Instead of having these urls:
https://www.domain.com/cities/xyz
https://www.domain.com/company/abc
I would like to achieve:
https://www.domain.com/xyz
https://www.domainm.com/abc
But when I am trying to use ^/(.*)/?
as URL Pattern to Match only one of the Virtual Posts are sucessfully displaying.
The workaround today is to use this URL Pattern ^cities/(.*)/?
and ^company/(.*)/?
but I would really like to have the pages displaying right after https://www.domain.com/
I have tried playing around with https://regex101.com but not being able to achive the code that I need for this to work! Any help on this would be much appreciated ??
]]>I’m using this tutorial (https://www.youtube.com/watch?v=0gvT6Myt1Ck&feature=youtu.be) to list all my AirTable rows on one page. It works brilliantly.
I’m having an issue tho… I can not seem to get the syntax correct to wrap an href around the shortcode. When I use what I think is the correct syntax RSVP inside the [/aprloop], the result is a link to every single data point in that column on the AirTable view.
That column in AirTable is a simple text column.
Ideally, I would wrap a css class around it to make it a button, the user would click to rsvp.
Thanks for any help!
]]>Hello,
I’m new to AirPress, may be my question is stupid, didn’t find the answer in the forum.
I have AirTable Post with Excerpt and Content fields using long rich text (with links, etc … )
How should I use the [apr] shortcode to format the Markdown into HTML ? I saw there is a format option but it didn’t works.
Is there a “clean” way to handle links ? I mean
– If I have a link to Youtube I’d love to display a player (may be I should set a shortcode in AirTable field ?
– Can I set a link to a local post image ? for instance https://my-image.png (the my-image.png would be in the attachement field)
Why do I have a large rich content field ? It’s not very CMS oriented ? Well yes … but I don’t want in my airtable 4 columns (h2,content,image or media) for each “paragraph”
Thanks !
]]>I know how to list virtual pages but when working with elementor it is a problem if you want to show specific virtual posts based on a view and related records.
The Problem:
Elementor can only sort by available taxonomies like Categories, Tags, Formats and custom taxonomies. In my case, I have “projects” and “personas”. Every Projekt is liked to personas and vice versa.
1.Idea:
Is there a way to use linked records and create dynamic taxonomies that automatically update?
2.Idea:
Create a virtual Page for projects and personas like in the tutorial:
Problem: how can you import a list based on related records but not destroying the whole design of the elementor site.
btw. Chester, you are a legend thanks for the plugin!!
Hope anyone can help me with this problem.
Thanks in advance!
Using the code below how do I create a pagination and set the pageSize to 10?
$query = new AirpressQuery();
$query->setConfig(“GPTest”);
$query = new AirpressQuery(“Awards”, “default”);
$gprecords = new AirpressCollection($query);
$query->maxRecords(“15”); // WORKS
$query->pageSize(“5”); // DOES NOT WORK
How to print particular value using loop index?
Here below is my code
[apr_populate field=”FAQ” relatedTo=”Conditions FAQ”]
[apr_loop field=”FAQ” glue=”<hr>”]
<hr>
[apr field=”Questions”]
<br>
[apr field=”Answers”]
[/apr_loop]
I need to return only unique values of a query.
Data is for people with professions. And I need to return a list of only the professions and I dont want them to be repeated. (only unique values)
Right now I use this code and it works, but it repeats the professions associated to more than one person.
I only need the array to return unique values of the field “WEB_tronc_commun”
<?php
$query = new AirpressQuery();
$query->setConfig("SGF");
$query->table("Professions");
$query->view("Utilisation_active");
$query->sort("WEB_tronc_commun");
$events = new AirpressCollection($query);
foreach($events as $e){
echo '<a href="#' . $e["WEB_tronc_commun"] . '">' . $e["WEB_tronc_commun"] . " | ";
}
?>
]]>
Hi I can see the notification at the top that says:
This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Is there a plan to keep the plugin up to date?
]]>Hello,
I have a database on airtable with the name and email address of all my wordpress subscribers.
I would like to display on a wordpress page, only the rows of the table in relation to the connected user.
is it possible to do that? and how ?
Regards
Stephane
]]>This is a great plugin – but I am having trouble filtering a collection.
I am pulling data from a Mentor requests table but want to only show the data when the mentor request number = 1.
The following code generates a critical error but runs across all records when the addFilter modification is commented out.
$assignQuery = new AirpressQuery(“Mentor requests”, CONFIG_NAME);
$assignMentors = new AirpressCollection($assignQuery);
$assignMentors -> addFilter(“{MRno} = ‘1’”);
Where am I going wrong?
TIA
]]>I set up a page as a template to display records from a table with virtual post.
The front end web page works flawlessly, but I cannot edit the page anymore.
I use the DIVI theme and now in the backend, when it tries loading the page, it says:
DIVI Builder timeout
Reload the builder
To be able to edit the page, I must deactivate airpress or temporarily associate the virtual post with a random page.
]]>I set up a page to show every record from a table.
The page works when I am logged in as admin, but if we look at the page as a normal user it show no results. Empty page as you can see in the linked page.
Please see this video: https://www.loom.com/share/836a98c6a806497ea0f3bde83d86c5be
Note, I get this text on the page I am trying to use for virtual posts: “attempting to be used on a page where there is no collection.”
This is the page I’m mapping to my virtual posts: https://clancylawgroup.automatorlabs.com/case/
This is the URL that *should* be pulling in the client first name from AirTable, based on me doing a lookup by contact ID 3116 – I am getting a 404: https://clancylawgroup.automatorlabs.com/case/3116/
This is what the debug tool tells me when I try to access this URL: https://clancylawgroup.automatorlabs.com/case/3116/ –>
AIRPRESS LOADED
Cases VirtualPost ^case/(.*)/? matched
+ 404 | Case Management?view=All Client Information&filterByFormula=CONTACT ID()=’3116′ (0.25)
no data
My URL pattern to match: ^case/(.*)/?
My filter by formula: CONTACT ID()=’$1′