Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry, but no hint for that problem.
Instead of hacking tinyMCE – wouldn’t it be easier to switch to text mode and add the attributes manually to HTML? Depends how often you need it.
But thanks in advance for reporting back when you have found some solution.
Have a great day.
Best regards,
GünterHi,
Most Theme options are stored in a single array in your database table wp_options.
You can query it with:
SELECT * FROM 'wp_options' WHERE 'option_name' like 'avia_options_%'
There are a few other options but that are mostly e.g. only key for Google Maps, …
For import of demos we only use avia_options_[theme name]
Hope this helps you.
Best regards,
GünterHi,
Thanks for your feedback – yes, I restructured the js file a bit as the last solution was not really good and might have caused problems when more than 1 grid was on the page.
Have a great day.
Best regards,
GünterHi,
Thanks for coming back.
We have it in our dev repo – but at the moment we are not able to give a timeline when we are going to start to work on it.
Best regards,
GünterHi,
I added an option where you can activate this feature: “Mobile Flip Box Close Behaviour”
Please update enfold\config-templatebuilder\avia-shortcodes\icongrid\icongrid.js + php with:
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_1/icongrid/icongrid.php
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_1/icongrid/icongrid.jsDo not forget to clear server and browser cache.
Will be part of the next update.
Best regards,
GünterHi,
The “media” button in tinyMCE is standard WP. Actually a WP bug I would say.
When you switch from visual to text mode you see the generated HTML by WP containing the alt but not the title. Enfold does not hook in this.
Only way I see is try to add the image shortcode manually – but keep an eye on the layout, that it gets not broken.
Best regards,
GünterHi Vera,
Glad you got it to work.
Please update to 4.8.1 as soon as possible – there is a small bug in 4.8 when saving pages that might break layout in frontend adding unwanted br tags.
Best regards,
GünterHi,
I had a look into your problem.
On my dev server with Enfold 4.8.1 I’m not able to reproduce the problem. I have demo Enfold 2017 imported.
You made several changes – I tried to reproduce them on my dev server also – but even with the filter avf_post_nav_settings from your functions.php and adding and removing
$avia_post_nav = avia_post_nav();
from template-builder.php and footer.php i can see the post nav.
There must be something other causing the problems.
I would suggest you set up a staging site with 4.8.1, import Enfold 2017 demo and check by yourself. Then make your changes and check, until it breaks.
If nothing breaks then you can copy the files to your other server and check (keep a copy of your other files).
Best regards,
GünterMarch 13, 2021 at 4:23 pm in reply to: Overwritten CSS files after enabling CSS file merging and compression #1288030Hi phouthuijzen,
There had been a invalid character at the beginning of styles.css – opening it in WP theme editor showed a red point. Removing this it is working now.
Best regards,
GünterHey THP,
Thanks for reporting this.
I checked all elements that use class=’avia-slideshow-arrows’ and added
aria-hidden="true" tabindex="-1"
I hope this fixes the problems. Will be in next release 4.8.2.
If you encounter any more problems let us know please.
Have a nice weekend.Best regards,
GünterHey Guenter,
If I follow your idea it would be necessary to extend the metadata of an image (in WP media popup attachment details sidebar) with:
- Lightbox Title
- Lightbox Description
and add the metadata info to all ALB img tags (like alt, title, caption, desc, lightbox-title, lightbox-desc) ?
Best regards,
GünterHey Guenter,
Sorry for the late reply – but I was tagged to this yesterday.
I did not test, but you can try to add class “noLightbox” to the image.
This should exclude the image from our default binding to magnificPopup and you can add your magnificPopup.
Best regards,
GünterHi!
As mentioned above – background images have no alt.attribute.
Please check the following articles:
http://christianheilmann.com/2009/02/25/so-how-do-you-add-alternative-text-to-background-images/
https://stackoverflow.com/questions/4216035/css-background-image-alt-attribute
https://stackoverflow.com/questions/48913759/how-to-add-alt-text-to-background-images-making-background-images-accessibleThere are workarounds, but they increase the size of the page – which might also stand in opposite of having small loading times.
I have opened an issue in our dev repo and we will discuss it.
Best regards,
GünterHi,
Sorry once again for the troubles.
Glad we could help you fix the problem.
Have a great day and enjoy the theme. Feel free to come back when you need further assistance.
Best regards,
GünterMarch 8, 2021 at 4:01 pm in reply to: After ALB Custom Elements activated –> SQL queries jumps from 20 –> 200 #1286473Hi,
Thanks for your interest in the new feature and reporting this.
Checking the code I found an unnecessary query for the frontend. Removing this the amount of queries dropped for me on a testpage.
As a CET is stored in a post, there is a little overhead, depending on the amount of different CET used on a page ( we cache already queried CET ).
If you want to check:
Replace enfold\config-templatebuilder\avia-template-builder\php\element-templates.class.php with the content of:
If you use WPML you also need to replace enfold\config-wpml\class-avia-wpml.php with
Do not forget to make a backup of the original files for a fallback and clear server and browser cache.
Best regards,
GünterHi,
With 4.8 there were a lot of changes necessary concerning the custom elements – Hope you managed your changes.
I will close this topic – have a nice day.
Best regards,
GünterHi,
With 4.8 there were a lot of changes necessary concerning the custom elements – Hope you managed your changes.
I will close this topic – have a nice day.
Best regards,
GünterHey Lee,
Sorry for the problems.
Please update to 4.8.1 released this weekend, open the page affected, click the first element on this page for editing, save the element and update the page.
Clear server and browser cache. This should fix the problem.
Best regards,
GünterMarch 7, 2021 at 2:10 pm in reply to: Layout Elements Not Aligning Correctly after latest Update? #1286196Hey waingroove,
Thank you for using Enfold. Please update to the latest version 4.8.1. This should fix the problem.
Best regards,
GünterHi,
Thank you for using Enfold and the feedback to the new feature custom elements.
I opened a few pages in backend (CET enabled) but could not find one with a tab and opening a modal popup on a page worked.
Can you please provide me a link to a page where I can see the problem. If you add the link in Private Content it is only visible to moderators.
If it is possible please enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor
This lets you view the shortcode for all the page elements.
Best regards,
GünterHey Rustybucket,
tweak: ensure that WPML language theme options are in sync with main options
As Enfold is growing and new theme options are added we recognised that the theme options in a different language do not recognise the new options which might cause undefined index notices or unwanted behaviour. This was fixed now.
added: WPML global theme options support across all languages
For the new custom elements we needed to set the options globally – means across all languages. This was not possible before. You had to set the options for each language seperate – which does not make sense. Existing options are not affected.
Best regards,
GünterHey Guenter!
4.8.1 is only a hotfix release.
The only important change is in config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php line 584:
$sc .= "\n";
was changed back to
$sc .= "\n\n";
as prior to 4.8.
This caused additional br tags between ALB elements that broke layout.
Regards,
GünterMarch 4, 2021 at 10:20 am in reply to: display the last (not the latest/newest) posts on a single post page #1285308March 3, 2021 at 6:16 pm in reply to: display the last (not the latest/newest) posts on a single post page #1285085March 2, 2021 at 5:22 pm in reply to: display the last (not the latest/newest) posts on a single post page #1284835March 2, 2021 at 11:06 am in reply to: display the last (not the latest/newest) posts on a single post page #1284651Hi,
Thanks for this feedback, I changed it to avf_breadcrumbs_external.
Best regards,
GünterHi,
In this filter you can call your function and return your result string or an empty string (if you do not like a breadcrumb or handle output by yourself).
If you return boolean false, than our logic will proceed.You can use any logic inside the filter you need to decide what to do.
The frame would look like (put e.g. in functions.php of your child theme):
function my_breadcrumbs_shortcut( $breadcrumb, $args ) { $breadcrumb = your_breadcrumb_function( $args ); return $breadcrumb; } add_filter( 'avf_breadcrumbs_shortcut', 'my_breadcrumbs_shortcut', 10, 2 );
If you need more help with using or adding the filter let us know and we can add it for you.
Best regards,
GünterHey Mischa,
Thank you for using Enfold – and thanks for reporting this.
It is fixed in the next update.
Enjoy the theme and have a great day.
Feel free to come back whenever you need any assistance.
Best regards,
GünterHi,
I added a filter for the next release at the beginning of the function:
function avia_breadcrumbs( $args = array() ) { global $wp_query, $wp_rewrite; /** * Allow to shortcut breadcrumb trail. Return anything then false to shortcut. * * @since 4.8 * @param boolean $value * @param array $args * @return string|false */ $breadcrumb_shortcut = apply_filters( 'avf_breadcrumbs_shortcut', false, $args ); if( false !== $breadcrumb_shortcut ) { return $breadcrumb_shortcut; } ........
This is more flexible in case we move this function in a class.
Best regards,
Günter -
AuthorPosts