Forum Replies Created
-
AuthorPosts
-
Hi Ismael,
Thanks for your quick reply but this code is also not working. It’s really frustrating.
I ran a test and imported 5 posts using All Import. They appear fully in the backend. On the front end, they’re empty. When I look at the source code, I see that the Main section is empty—exactly where the content built with the Avia Builder should be.
If I manually save an imported post in the backend now, it does appear on the front end.
I was hoping the code would solve the problem, but unfortunately, it didn’t.
Do you have any ideas on what I could do to fix this?Thanks in advance!
ArianeHi Ismael,
After a lot of testing, my import is now working, but there’s still one issue.
I run the import, changes are applied, or new posts are created if necessary. In the back end, the imported posts look exactly the same as manually entered posts. Only in the front end are the imported posts empty. When I edit the post and save it manually, the post becomes visible.
Apparently, this is a common issue with WP All Import, but I can’t find a working solution. I’ve tried the following code in functions.php:add_action('pmxi_saved_post', function($post_id) { $post = get_post($post_id); if (!$post) return; // remove Enfold builder cache delete_post_meta($post_id, '_aviaLayoutBuilderClean'); // Save the content again via wp_update_post wp_update_post(array( 'ID' => $post_id, 'post_content' => $post->post_content, 'post_status' => $post->post_status, )); // Force Enfold to rebuild the builder cache update_post_meta($post_id, '_aviaLayoutBuilderClean', $post->post_content); });It would be great if you can help with this last step.
Thanks in advance,
ArianeHi Ismael,
I see, sorry to hear that. Looking around in the forum I found this post: https://kriesi.at/support/topic/importing-lots-of-data-to-scf-custom-posts-all-having-same-template/#post-1473195Is it possible this can work for my posts?
Looking forward to hear from you.
Regards,
ArianeDear Ismael, support,
I’ve been thinking about the problem and I think the problem has 2 parts:
The import goes to the right custom post type, ‘portfoliobedrijven’ but in the post type the Avia builder is not activated. Secondly the builder should have the custom layout bedrijven/companytemplate in it.So how can I activate both automaticly when importing a new post, which custom fields should I use?
thanks so much in advance,
ArianeHi Ismael,
Thanks for the quick reply. Can you give me any clue on how to do that. Where do i find the names of the custom fields attached to the post.
Thank you very much in advance!
Best regards,Ariane
-
This reply was modified 3 months ago by
ariane1001. Reason: added credentials
hi,
Forgot to mention: It’s the ‘What we do’ section where I used content slider.
ThanksOctober 28, 2024 at 11:21 am in reply to: After migrating the events calendar on single events the sidebar moved to bottom #1469987Hi Rikard,
Fine to close this, thanks again.
Regards,
ArianeOctober 16, 2024 at 11:29 am in reply to: After migrating the events calendar on single events the sidebar moved to bottom #1469220Hi Ismael,
It was the custom code, thanks for pointing that out. Just the remark that it was working fine till migrating the events. Very spooky ;-)
Regards,
ArianeOctober 15, 2024 at 12:06 pm in reply to: After migrating the events calendar on single events the sidebar moved to bottom #1469142This reply has been marked as private.October 4, 2023 at 2:53 pm in reply to: fullscreen slider video not showing on mobile devices #1421402Hi Ismael,
Very sorry to bother you on this again but can you let me know if it is possible to enable the video on mobiel with CSS or some code in de functions.php.
Looking forward to your reply.
Best regards,
ArianeOctober 3, 2023 at 8:41 am in reply to: fullscreen slider video not showing on mobile devices #1421248Hi Ismael,
Tbanks for the reply but it would be so much easier if I could enable the video with CSS or some code in de functions.php. Isn’t that possible?
Best regards,
ArianeSeptember 18, 2023 at 2:05 pm in reply to: Related articles and blog Hover Effect “slightly zoom in” possible? #1419470Hi Mike,
Thanks a lot! It works like a charm. 5 stars!
Best regards,
ArianeHi Nikko,
Thanks! I will update my childtheme’s.
Really glad everything is working now!
Best regards,
ArianeHi Nikko,
I had to make a copy for testing, the site is here https://innovationquarter-ontw.nl/iq/
One of the pages with problems is https://innovationquarter-ontw.nl/iq/item/zorgtech/
I found out it is the masonry element, when I remove it, page is visible.
I apriciate your help.
Login below,
Regards, ArianeI forgot, 2 websites that I updated and solved with above solution:
November 19, 2021 at 11:27 am in reply to: Enfold (versie 4.8.7.1) critical error when activating /avia_blog.php #1329648Hi,
I had the same problem and I used the solution from this post https://kriesi.at/support/topic/critical-error-9/#post-1327504 and replaced enfold\includes\admin\option_tabs\avia_blog.php with the content of https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7_1/includes/avia_blog.phpThink Kriesi should repair this in the next update.
Regards,Ariane
same here, on two different sites critical error and this is the log:
Foutdetails
===========
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 311 van het bestand /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php. Foutmelding: Uncaught ValueError: Unknown format specifier “S” in /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php:311
Stack trace:
#0 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php(311): sprintf()
#1 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/includes/admin/register-admin-options.php(293): include(‘/home/deb45050n…’)
#2 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/framework/php/class-superobject.php(246): include(‘/home/deb45050n…’)
#3 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/framework/php/class-superobject.php(197): avia_superobject->_create_option_arrays()
#4 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/framework/php/class-superobject.php(146): avia_superobject->init()
#5 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/framework/php/class-superobject.php(482): avia_superobject::instance()
#6 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/framework/avia_framework.php(108): AviaSuperobject()
#7 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-content/themes/enfold/functions.php(196): require_once(‘/home/deb45050n…’)
#8 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-settings.php(546): include(‘/home/deb45050n…’)
#9 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-config.php(108): require_once(‘/home/deb45050n…’)
#10 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-load.php(50): require_once(‘/home/deb45050n…’)
#11 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-admin/admin.php(34): require_once(‘/home/deb45050n…’)
#12 /home/deb45050n6/domains/lexdigitalis.nl/public_html/wp-admin/index.php(10): require_once(‘/home/deb45050n…’)
#13 {main}
thrownDear support and Guenni007,
In my case it was working in other elements, just not in the fullwidth slider. The update of last night did repare it.
Regards, ArianeHi,
Same problem here: https://www.alberttencate.com/test-home/
Hope there is a solution for it.Regards,
arianeApril 12, 2021 at 1:06 pm in reply to: Strange problem in blog post element individual posts get nested? #1293932Hi Ismael,
Thanks for your reply but to answer your questions:
No, I did not modify the blog post template or shortcode.
Yes, portfolio items have been created using the Avia builder. The element, however has the possibility to choose from Excerpt, Excerpt with ‘Read more’ link and Full content, see image https://photos.app.goo.gl/ArbAKNk2NK7HsSM16Thanks for looking at it for one more time!
Regards,
Ariane
ps. there is a login, see reply #1293438April 9, 2021 at 8:58 am in reply to: Strange problem in blog post element individual posts get nested? #1293445Hi,
yep, that look better. But how do you explain text width and left indent (next to the image) are smaller with every post? And font-size getting bigger with every post?
I think there is something else that causes the problem.
Regards,
ArianeApril 9, 2021 at 8:25 am in reply to: Strange problem in blog post element individual posts get nested? #1293438Hi Rikard,
See below.
Regards,
ArianeMarch 4, 2021 at 11:40 am in reply to: Events Calendar upcoming events element to childtheme? #1285346See below,
Regards, ArianeMarch 4, 2021 at 10:41 am in reply to: Events Calendar upcoming events element to childtheme? #1285312Hi Victoria,
It still doesn’t work, is the path I use oké?
Regards,
ArianeFebruary 24, 2021 at 1:45 pm in reply to: enfold masonry sort by date in the events calendar #1283395Hi Ismael,
Thank you very much. It is working now, even on the homepage. I had to adjust the order there and then it went perfect.
Very glad with the new code.
Thanks again,
Best regards,
ArianeFebruary 12, 2021 at 4:22 pm in reply to: enfold masonry sort by date in the events calendar #1280089This reply has been marked as private.February 11, 2021 at 3:55 pm in reply to: enfold masonry sort by date in the events calendar #1279784Hi Ismael,
Below the link to the fileserver. You should be logged in strait away, if not let me know.
Regards, ArianeFebruary 9, 2021 at 5:06 pm in reply to: enfold masonry sort by date in the events calendar #1279155Thanks,
But it is still not working?
– Events in de past are still visible?
– Events are still shown by publication date in stead of by startdate of the event?
So is it possible to get the code working or is it not working anymore with the latest versions of Enfold?
I extended the login so you can still take a look if you want.
Thanks in advance,
Regards,
ARianeFebruary 2, 2021 at 5:57 pm in reply to: enfold masonry sort by date in the events calendar #1277183Hi Ismael,
Thanks for your answer.
I got some erorrs on the syntacs en I changed it to
$eventquery = array('paged'=> false, 'orderby' => 'event_date', 'order' => 'ASC');But it’s not working? Could you take another look?
I added a temporary login below.Thanks in advance,
ARianeJanuary 10, 2021 at 2:01 pm in reply to: WPML flag in menu link to external url working only on homepage? #1271355Hi Mike,
I believe the problem still exists, although I have a solution. But Closing the issue is fine because I don’t thing better solution will pop-up any time soon.
Thanks and regards,
Ariane -
This reply was modified 3 months ago by
-
AuthorPosts
