Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for using enfold and glad that this solved the issue.
Enjoy the theme and have a nice day.
Feel free to come back when you need further assistance.
Best regards,
GünterApril 30, 2019 at 9:35 am in reply to: Upcoming events and events countdown important issues #1095677Hi,
Sorry for the problems – but the events calendar changed the query parameters.
Please check https://kriesi.at/support/topic/past-events-are-shown-since-the-events-calendar-update/#post-1095191 for the fix.
Best regards,
GünterHey Guenter,
Sorry for the late reply – had not been tagged on this.
Please check https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Layout/avf_customize_heading_settings.php.
We decided for a filter to be more flexible. And we did not want to confuse users with too many options only needed by a few.
Let me know if you need more help on this filter.
Best regards,
GünterHi,
Die Query Logik geht nach post date.
Es gäbe da ein filter in wp-includes\link-template.php Zeile 1821:
"get_{$adjacent}_post_sort"
Allerdings fehlt bei Enfold noch ein entsprechendes Filter für looping. Das bau ich aber noch ein (avf_post_nav_loop_args).
Solltest Du es benötigen, kann ich es Dir schon geben.
Best regards,
GünterApril 29, 2019 at 12:14 pm in reply to: Past events are shown since The Events Calendar update #1095226Hi,
Please try to update enfold\config-templatebuilder\avia-shortcodes\events_countdown\events_countdown.php with
Fix will be in the next update.
Best regards,
GünterApril 29, 2019 at 11:48 am in reply to: Past events are shown since The Events Calendar update #1095224Hi,
Glad it works for you.
Thanks for pointing at events countdown. I will try to get a fix asap and come back.
Best regards,
GünterHi,
Super, dass es jetzt funktioniert.
Könntest Du das etwas genauer spezifizieren, damit ich es reproduzieren kann (auch ein Link zu der Seite bitte) ?
Best regards,
GünterApril 29, 2019 at 9:20 am in reply to: Past events are shown since The Events Calendar update #1095200Hi,
Sorry, yes: enfold\config-templatebuilder\avia-shortcodes\events_upcoming\events_upcoming.php
Best regards,
GünterHi,
Vertauschen ist natürlich auch so möglich – da aber die queries dafür nochmals aufgerufen werden müssen, nicht optimal. Vertauschen von Zeiger auf objekte ist schneller.
Das Looping problem kann ich nicht rekonstruieren.
Hab bei mir die Demo Enfold 2017 installiert – damit funktioniert es.Kann ich evtl. Backend access bekommen, damit ich mir die Einstellungen anschauen kann?
Arbeitest Du mit Subcategories bei Portfolio?Best regards,
GünterApril 28, 2019 at 11:06 am in reply to: Past events are shown since The Events Calendar update #1095016Hi,
Please follow the steps to update the file (enfold >= 4.5.5):
Best regards,
GünterApril 27, 2019 at 4:48 pm in reply to: Past events are shown since The Events Calendar update #1094927Hi,
Thanks for the update. Could get access to backend – but updating the file failed. Might be because of access rights to files.
Can you give us ftp access?
Or shall we provide you a zip file to upload with ftp.
Best regards,
GünterHi,
Es gibt da ein neues gut dokumentiertes filter avf_post_nav_settings (enfold\functions-enfold.php line 587)
function my_avf_post_nav_settings( array $settings ) { $settings['same_category'] = true; return $settings; } add_filter( 'avf_post_nav_settings', 'my_avf_post_nav_settings', 10, 1 );
Zum Vertauschen sollte folgendes Filter funktionieren (enfold\functions-enfold.php line 702):
function my_avf_post_nav_entries( array $entries, array $settings, array $queried_entries ) { $next = $entries['next']; $entries['next'] = $entries['prev']; $entries['prev'] = $next; return $entries; } add_filter( 'avf_post_nav_entries', 'my_avf_post_nav_entries', 10, 3 );
Best regards,
GünterApril 27, 2019 at 10:32 am in reply to: Past events are shown since The Events Calendar update #1094885Hallo,
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 5 years, 7 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ünter -
AuthorPosts