Forum Replies Created
-
AuthorPosts
-
Hi Roger,
Thank you very much. Already merged it into core.
Enjoy the weekend and stay safe from Corona.
Best regards,
GünterHey HilmerHC,
Thank you for using Enfold.
Did you already try to change the theme option:
WP Dashboard -> Enfold -> SEO Support -> Preprocessing Shortcodes In Header
to
“Allow to preprocess shortcodes” ?
Best regards,
GünterHi,
@comkapi thanks again for the language files. I added them to core. And I also fixed the unescaped characters in shortcode buttons and the toggles titles.
I case you see other problems with unescaped strings please let us know.Have a great day.
Best regards,
GünterHey Guenter,
Thanks for bringing this up. I added to our dev repo to include webp and svg. Will come step by step.
Best regards,
GünterMarch 31, 2021 at 1:54 pm in reply to: Custom Element Templates – Default sort order in ALB Tab #1291556Hi,
I added this filter:
usort( $tab, array( $this, 'sortByOrder' ) ); /** * @since 4.8.2 * @param array $tab * @param array $tabs * @param string $key * @return array */ $tab = apply_filters( 'avf_custom_elements_buttons_sort_order', $tab, $tabs, $key );
Will be in next update.
Best regards,
GünterMarch 30, 2021 at 3:32 pm in reply to: Frontend publisher pro insert Media object button not working #1291382Hi,
Please check your theme settings:
Theme Options -> Performance -> Disable Features -> Self hosted videos and audio features (WP-Mediaelement scripts)
and select “Always load media features”.
Then it should work.
Best regards,
GünterMarch 30, 2021 at 2:42 pm in reply to: Custom Element Templates – Default sort order in ALB Tab #1291369Hey M1000000,
Sorry for the late reply – but I was tagged for this topic today.
At the moment there is no way out of the box.
If you add to your functions.php file (in child theme):
add_theme_support( 'show_advanced_custom_element_options' );
in theme options – Custom Element tab you find a checkbox “Show advanced options” and there you find an option Custom Element Shortcode Buttons where you can select to group the custom elements similar to the normal elements.
If you have programming skills:
enfold\config-templatebuilder\avia-template-builder\php\element-templates.class.php line 2283:
usort( $tab, array( $this, 'sortByOrder' ) );
is the place where the default sort order is created in $tab.
We can add a filter here in the next release if this helps you.
Best regards,
GünterHi,
Thank you for bringing this up.
I added an issue to our dev repo and will have a look into it asap.
Best regards,
GünterHi,
Your welcome. If you need any futher assistance feel free to come back.
Enjoy the theme and have a nice day.
Best regards,
GünterHi,
Thank you for your feedback. We will keep this topic open. Have a great day.
Best regards,
GünterHi,
I tried to reproduce the problem on my dev server. Using WPML’s Advanced Translation Editor I’m not able to reproduce the problem.
In my opinion it is a problem with the classic translation editor (which as far as I heard will be deprecated in future) and switching around with the editors in the different languages.
I would suggest that you try the Advanced Translation Editor, only edit the german language and translate only in the provided popup fields and do not open the translated post in an editor.
WPML provides good support also for Enfold and if you have problems/questions in using WPML.As a first step I would suggest that you open a ticket at WPML – and describe the problem and provide your video.
In case you do not find a solution to your problem with the regular support staff please come back with the link to your support thread there and we will contact the compatibility team directly to find a solution for your problem.
Best regards,
GünterHi,
Please see line:
let item = $(<code>#top .av-subnav-menu a[href*=\'${entry}\']
);In my opinion
${entry}
should be replaced with:
" + entry + "
Best regards,
GünterHi,
You need to query the image title in your function:
$title = get_the_title( $id );
And i would not rebuild the html code in this filter but just insert the title attribute. My final solution would be:
function html_insert_image( $html, $id, $caption, $title, $align, $url, $size, $alt ) { $html = str_replace( '<img ', '<img title="' . esc_attr( get_the_title( $id ) ) . '" ' , $html ); return $html; } add_filter( 'image_send_to_editor', 'html_insert_image', 10, 8 );
Best regards,
GünterHi,
Glad to hear it is working for you now.
Are you talking about bbPress on your site?
bbPress has own post type forum, topic, reply in wp_posts database.
Check for a plugin setting to limit time of posts in past – just an idea.
Best regards,
GünterHi,
Good catch with the filter.
I think we should add the filter to core that we add the title to new added images (with an option in SEO tab to disable this).
But for existing images in already existing pages (where only the img tag html exists and probably no reference to the attachment id ) it will be difficult.
Best regards,
GünterHi,
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ünter -
AuthorPosts