Forum Replies Created
-
AuthorPosts
-
Hi Rikard,
Thank you for your efforts, I will transfer the custom language files with the updates as well.
Regards,
FransHi Rikard,
I have given you full access to a staging site, see my previous response including login details. Allows to reproduce the error.
The workaround you made then was an adjustment in avia_blog.php:
Line 131:
===============
$prof_desc = sprintf( __( ‘If you added Social Profile Links at %sSocial Profiles Tab%s the theme allows you to display these profile links at the bottom of your blog posts.’, ‘avia_framework’ ), ‘‘, ‘‘ );
$prof_desc .= __( ‘Be sure you added a link, otherwise your selection will be ignored.’, ‘avia_framework’ );===============
Regards,
FransHi Rikard,
This is the error (Same as the last one):
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 311 van het bestand /public_html/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php. Foutmelding: Uncaught ValueError: Unknown format specifier “S” in /public_html/wp-content/themes/enfold/includes/admin/option_tabs/avia_blog.php:311
The chosen language is currently ‘English’, but once you choose ‘Dutch’, you get that error.
Below the login details.
Regards,
FransHi Rikard,
Hi,
I made a new WordPress installation and installed the latest Enfold version (4.8.8) on it. Unfortunately, it still goes wrong i.c.w. the Dutch language and PHP 8. I had to change the account back to PHP 7.4 to keep the site working.
I had to put this line (line 311) in /includes/admin/option_tabs/avia_blog.php to get the site on PHP 8.
$prof_desc = sprintf( __( ‘If you added Social Profile Links at %sSocial Profiles Tab%s the theme allows you to display these profile links at the bottom of your blog posts.’, ‘avia_framework’ ), ‘‘, ‘‘ );
$prof_desc .= __( ‘Be sure you added a link, otherwise your selection will be ignored.’, ‘avia_framework’ );I had hoped that an update would fix this bug, because there are quite a few Dutch sites that go down this way.
Zou je dat alsnog kunnen doorgeven? Want ik moet nodig de verschillende sites van onze klant updaten.
Regards,
FransHi Rikard,
Thank you, I tested it, also in combination with a Child theme, and also with saving pages and posts, and now all without errors. Nice!
I assume this fix will be included in the next update? I then wait for the other installations to upgrade to PHP 8 until an update of Enfold comes out.Regards,
FransHi,
Yes, I mean the language of WordPress which you can set on General => Settings. When Enfold is active and you choose Dutch, it will generate an error. But when you choose English you can activate Enfold and everything works normally.
Again it is a bare installation without plugins etc and only WordPress and Enfold. It is a test environment so you can test it all.
Regards,
FransHi Rikard,
That is very special. PHP 8 is still active, so not reverted to PHP 7.4.
But I found the error; when the language converts to Dutch it generates an error as I showed in my first post. So it is language related.In the meantime I have heard the same from two of our customers (Dutch) and I have changed them back to PHP 7.4.
Regards,
FransHi Rikard,
I have not activated the theme, but it is ready under appearance =>Themes. Can you see it there? When I activate the theme I get that error, hence the FTP data.
Regards,
FransHi Rikard,
I have sent you a private message with the login details. Of course, Enfold may be activated.
Regards,
FransJanuary 27, 2021 at 5:23 pm in reply to: Solution for Single Template views (Toolset types and blocks)? #1275836Hi Mike,
Thanks for your reply! I looked into it on Monday but didn’t get to it right away. Last few days I was suddenly busy with a rush job; I’ll dive in further asap. Have a very nice day!
- This reply was modified 3 years, 10 months ago by ifranl.
January 20, 2021 at 5:10 pm in reply to: Solution for Single Template views (Toolset types and blocks)? #1274121Not to be pushy, but how long does it normally take for a response to a ticket? I would like to hear the solution so that I can continue with my project.
@EZWebdesign, thanks!
Regards,
Frans@EZWebdesign, can you please post the latest .po and .mo files again? For some of my clients the dutch language is very important.
Thanks!
Regards,
FransVery nice job!
May 24, 2018 at 5:06 pm in reply to: Default Lightbox must be activated for this feature to work #961707May 23, 2018 at 7:11 pm in reply to: Default Lightbox must be activated for this feature to work #961119Hi Victoria,
Yes, sure. See below.
For your convenience I have put WordPress in English. The option “Modal window with privacy and cookie info” is turned off, but feel free to test it.
Kind regards,
Frans@Raymmar
Hi,
Beautiful site and very inspiring, thanks for sharing!Cheers,
FransHi you all!
The folder name is /borlabs-cache and the name of the main plugin name is: borlabs-cache.php Or do you want the complete main plugin file?
Regards,
FransHi Ismael!
That’s what made it work! Thank you very much!!!
Cheers,
ItaHi Ismael,
Thank you for your further explanations.
I have placed the code in a new, clean environment but unfortunately I don’t even get meta boxes in my editing screen: see screenshot. What is going wrong?
Best regards,
ItaHi,
Are we now talking about the editing page? Which template would that be?
Best regards,
ItaHi!
Ismael wrote:
In a template, you can use this code to render the custom fields.
$box1 = get_post_meta( $post->ID ,’metabox_1′, true);
$box2 = get_post_meta( $post->ID ,’metabox_2′, true);
echo $box1;
echo $box2;So, on which part (line number) of which specific template-file should I paste this code?
Best regards,
ItaHi Badilis,
Yes, please answer my 2 questions!!
Cheers,
ItaHi Ismael,
Thank you very much for this clear code + explanation about the filter! You helped me enormously with your clear overview
However (I have been struggling for such a long time now), I have 2 more question about rendering:
1. Do I need to put this code in single-infosheet. php or in /includes/loop index. php?
2. And on which part (line number) of that file?Thanks a lot, Ismael!
ItaBtw: I saw a little typo in the code for the template:
$box2 = get_post_meta( $post->ID ,’metabox_2′, true);
instead of
$box2 = get_post_meta( $post->ID ,’metabox_1′, true);Hi Basilis,
I hope these screenshots will give you more information about the problem:
I eagerly look forward to your solution!
Cheers,
ItaHi Guys,
So I have 2 Meta Boxes made in my functions.php in my child-theme. They’re called (their ID) ‘my-meta-box-1’ and ‘my-meta-box-2’.
Do I understand corrrectly I should put:
get_post_meta( ‘my-meta-box-1’, $key = ”, $single = false )and
get_post_meta( ‘my-meta-box-2′, $key = ”, $single = false )somewhere in /includes/loop-index.php in my child theme? If so, at what line-number exactly? I have tried from various places but get a’ white screen’ without content.
I hope you can give me more clarity so that the content of my meta-boxes can be seen on the front!
Cheers!
ItaThank you very much, Basilis! I’ll work on it.
Hi Ismael,
Could you log in on the website with this username and password?Cheers,
ItaThis reply has been marked as private. -
AuthorPosts