Forum Replies Created
-
AuthorPosts
-
Hallo,
Die Option für “Loop Post Navigation” ist in 4.5.6 drinnen (Enfold -> Blog Layout -> Single Post Navigation).
Wegen dem text/alt attributes:
enfold\config-templatebuilder\avia-shortcodes\columns.php ersetzen mit:
Ausgabe:
<a class="av-screen-reader-only" href="http://www.test.at" title="Title and new" alt="Alt and new">Follow a manual added link</a>
Best regards,
GünterApril 26, 2019 at 2:08 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094738Hi,
Glad it works now.
– Update the production site to Enfold 4.5.6.
I updated the code on github – there was really an error using $this (a php keyword), which I did not see (happened because of copy paste of function call).
I replaced that with $class. So you are save to use this (or simply take the code from your functions.php (at top) of the child theme – is the same).– Add this code to functions.php of your child theme on the production site.
On future updates there is no more to do.
Best regards,
GünterHi,
Auf die Schnelle auch nicht – ich schau mir das aber als nächstes an – kann aber morgen werden. Klingt mir irgendwie unlogisch. Muss mir da genauer anschauen, was da im Hintergrund abläuft.
Melde mich aber, sobald ich was habe.
LG,
GünterHi,
Can you try to use the following:
@media only screen and (max-width: 479px) { .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin{ margin-bottom: 0px !important; } }
Best regards,
GünterApril 26, 2019 at 9:00 am in reply to: Past events are shown since The Events Calendar update #1094654Hi,
Please update enfold\config-templatebuilder\avia-shortcodes\events_countdown\events_countdown.php
with
If you need help with this please let us know 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.
Best regards,
GünterHi,
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 6 years, 2 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 #1093283 -
This reply was modified 6 years, 2 months ago by
-
AuthorPosts