Forum Replies Created
-
AuthorPosts
-
Hi,
Sorry, Bin erst heute für dieses Topic getagged worden.
Schau es mir so rasch als möglich an.
Best regards,
GünterApril 26, 2019 at 8:39 am in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094648Hi,
Your site is back and I updated the 2 files as they should be (including correct checking for GRAPHQL_REQUEST..)
Can you try if it works now?
Best regards,
GünterFiles updated:
enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php
functions.php in child themeApril 25, 2019 at 2:23 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094416Hi,
Could you give me access to your staging site so I can check the files and add the filter?
The file enfold-child/functions.php seems to be broken – because the code I provided above has no $this.
Best regards,
GünterApril 25, 2019 at 1:47 pm in reply to: Past events are shown since The Events Calendar update #1094401Hi,
I added a pull to our repo. So it should become part of the core – hope Kriesi will merge it for the next update. Check the changelog or the file.
Best regards,
GünterApril 25, 2019 at 10:07 am in reply to: Share links to pages (Title, photo and text summary) from a page #1094336Hi,
Maybe a plugin like https://de.wordpress.org/plugins/simple-share-buttons-adder/ can help?
You probably need to modify enfold\includes\loop-page.php for your needs.
But this is customization and beyond the scope of support.
Best regards,
GünterApril 25, 2019 at 9:59 am in reply to: Past events are shown since The Events Calendar update #1094329Hi,
I added filter avf_single_event_upcoming_html.
is already updated with this filter. You can change the HTML for each event individually.
Hope it helps you.
Best regards,
GünterApril 25, 2019 at 9:26 am in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094324Hi,
Next step please replace if( false ) with the original content:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ! $no_header_request )
Remove any changes you made to functions.php of parent theme and child theme.
In functions.php of your child theme add:
function custom_shortcode_no_header_request( $no_header_request, $class, $atts, $content, $shortcodename, $fake ) { if( ( defined( 'GRAPHQL_REQUEST' ) && true === GRAPHQL_REQUEST ) ) { $no_header_request = true; } return true; } add_filter( 'avf_shortcode_no_header_request', 'custom_shortcode_no_header_request', 10, 6 );
Clear server and browser cache and check.
If it works then the filter is called.Then replace this code with:
function custom_shortcode_no_header_request( $no_header_request, $class, $atts, $content, $shortcodename, $fake ) { if( ( defined( 'GRAPHQL_REQUEST' ) && true === GRAPHQL_REQUEST ) ) { $no_header_request = true; } return $no_header_request; } add_filter( 'avf_shortcode_no_header_request', 'custom_shortcode_no_header_request', 10, 6 );
Clear server and browser cache and check.
Best regards,
Günter- This reply was modified 5 years, 8 months ago by Günter. Reason: error in php code
April 24, 2019 at 3:52 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094035Hi,
Strange, the code should work.
In file enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php line 384
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ! $no_header_request )
can you try to replace it with
if( false )
and check if this returns a result ?
Best regards,
GünterHey!
Please update enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php with
Do not forget to make a copy of the original file for a backup and clear server and browser cache.
Should become part of the next update.
Best regards,
GünterHi,
Thanks for clarifying. Now I can reproduce it.
I opened an issue for that in our dev repo. We will come back when we have a solution.
Best regards,
GünterHey!
I added filter avf_wc_product_order_dropdown_frontend
Please update enfold\config-woocommerce\config.php with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_6/WooCommerce/config.php
The filter is on line 1371.
Should become part of the next update.
Cheers!
GünterApril 24, 2019 at 9:52 am in reply to: Past events are shown since The Events Calendar update #1093903Hi,
Glad it is working now.
What I can offer is to add a filter that allows you to replace the complete
<a href=...> ...... </a>
for each entry.
Best regards,
GünterHi,
Glad we could help you.
Enjoy the theme and feel free to come back if you need further assistance.
Best regards,
GünterHey M1000000,
Thank you for reporting this.
The options were extended with 4.5.6 – but currently are hardcoded.
For the moment if you want to remove them:
enfold\config-woocommerce\config.php line 1435ff.
I added this to our repo to make the options filterable.
I will let you know when we have the solution.
Best regards,
GünterHi,
@elmanisero
Thanks for reporting this. I fixed it in core – if you need to correct it to proceed with translation please look for
framework/php/class-grecapatcha.php:386:
"std" => __('', 'avia_framework'),
and replace with:
"std" => '',
Thank you for translating Enfold.
Best regards,
GünterApril 23, 2019 at 5:27 pm in reply to: Past events are shown since The Events Calendar update #1093708Hi,
Thanks for the credentials.
The file …/events_upcoming.php has been updated correctly. It should reflect the changes in frontend.
I checked the second link you gave me – and I see the old events.
But there seems to be a cached version of this page. Because I tried to modify the output of the event title by adding a small part of text to it – and this does not show up when I reload the page (even with clearing my cache).
This means that the php code is not executed (and therefore not the modified query) but the page is rendered from a cache.
Can you check this with your hoster ?
Best regards,
GünterApril 23, 2019 at 4:57 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1093699Hi,
I was not sure if Kriesi merges the pull request for that (sometimes he skips some pulls). But the fix is part of 4.5.6.
So you should be fine to update.
But keep a backup of your current version in case you need a fallback.And make sure you have the code in functions.php (child theme or parent theme):
Best regards,
GünterHi,
OK. Then there cannot be any change. As you can see in https://kriesi.at/support/topic/wpml-link-one-flag-to-different-domain/#post-1092688 I added filter avf_wpml_language_switcher_url to modify the urls specific for the menus (as WPML does not provide a filter).
You can use the following as a basis for your code (https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/WPML/avf_wpml_language_switcher_url.php):
/** * Filter the URL in language switcher flags * * @since 4.5.6.1 * @param string $url * @param string $lang_code * @param string $menu_position 'sub_menu' | 'main_menu' * @return string */ function my_wpml_language_switcher_url( $url, $lang_code, $menu_position ) { if( $lang_code == 'cs' ) { $url = 'your_url'; } return $url; } add_filter( 'avf_wpml_language_switcher_url', 'my_wpml_language_switcher_url', 10, 3 );
Best regards,
GünterApril 23, 2019 at 1:44 pm in reply to: Past events are shown since The Events Calendar update #1093657Hi,
Thanks for the feedback.
I checked it with 4.9.0 of the plugin – and the link points to the updated file.
Can you please create a WP admin account so I can check your backend. And also enable that I can update the file.
Please provide a link to the backend and to the page that causes the problem.Best regards,
GünterHi,
Did you add a filter function
add_filter( 'avf_wpml_language_switcher_url', ...... )
and clear server and browser cache (you also might to save theme options in case you are using enfold compression).
Best regards,
GünterApril 22, 2019 at 4:55 pm in reply to: Custom post type does not display correct after update #1093369Hi,
Thank you for sharing the solution with our other forum members.
Best regards,
GünterApril 22, 2019 at 4:32 pm in reply to: Past events are shown since The Events Calendar update #1093363Hi,
I found the problem.
Please update enfold\config-templatebuilder\avia-shortcodes\events_countdown\events_countdown.php
with
If you need help please provide a WP admin account and our moderators can do it for you.
Do not forget to make a backup of the original file for a fallback and clear server and browser cache.
Should become part of the next update.
Best regards,
GünterApril 22, 2019 at 10:08 am in reply to: "File merging and compression for CSS" feature not working in Enfold Theme 4.5.5 #1093288Hi,
I’m very sorry, but the fix https://kriesi.at/support/topic/again-one-problem-with-merged-css/#post-1082689 had not been merged with 4.5.6.
Can you try to replace enfold\config-templatebuilder\avia-template-builder\php\asset-manager.class.php with
and check if this works?
Do not forget to make a backup of the original file for a fallback.
Best regards,
GünterApril 22, 2019 at 10:01 am in reply to: Past events are shown since The Events Calendar update #1093283Hey Michael,
Thank you for using Enfold and reporting this.
I added this issue to our dev repo and will have a look into this asap and will come back when we have a solution.Best regards,
GünterHi,
Thank you for using Enfold.
Does this happen to some elements only – on ALB pages or non ALB pages?
What’s your Enfold version, WP version and PHP version?I cannot reproduce it on my install. Pls try to figure out what combination of elements?
Thank’s for your assistance.
Best regards,
GünterApril 19, 2019 at 3:41 pm in reply to: WPML Translation Management problems with avia layout editor #1092702Hi,
Sorry for that but the translation management had been compatible with Enfold. But WPML changed something and broke everything. I had already been in contact with WPML and reported this some month ago – they gave me a link to their beta release and everything seem to be fixed with that release. The answer from WPML was they have no release date.
The problem is located in WPML core and we have no way to provide an easy fix for it.
Maybe you as a customer can put more pressure that WPML releases their beta version.
Best regards,
GünterHey crtdude,
Sorry, Kriesi did not merge it.
But you can still use the link above to update the file asset-manager.class.php.
It should become part of the next update.
Best regards,
GünterHi,
If you give us FTP access to your server and a WP admin account for your backend our moderators can do the update of the theme for you.
Make sure you have a complete backup of your database and theme files for a fallback in case something goes wrong. We need to take your site offline during the update.
Provide the credentials in private content.
Best regards,
GünterApril 19, 2019 at 3:00 pm in reply to: Color Section – Section Minimum Height – ADD option for 15% #1092695Hi,
Glad we could help you. It should become part of the core.
Enjoy the theme and feel free to come back when you need further assistance.
Have a nice day.Best regards,
GünterHi,
You can also replace enfold/config-wpml/config.php (Enfold 4.5.6) with
Best regards,
Günter -
AuthorPosts