lpenn
Forum Replies Created
-
Solved: during the website transfer I manually changed the table prefix only in wp-config and in the tables thinking it was enough. It wasn’t.
Forum: Plugins
In reply to: [WooCommerce EU VAT Assistant] EU VAT assistant not working after last updateHello Diego,
Problem solved, there was a compatibility issue with the privacy policy:
https://businessbloomer.com/woocommerce-add-privacy-policy-consent-my-account-registration/
The above approach will cause your plugin to break. (hope this can help)
Luca
- This reply was modified 4 years, 7 months ago by lpenn.
Forum: Plugins
In reply to: [WooCommerce EU VAT Assistant] EU VAT assistant not working after last updateHello,
-All plugins deactivated (except woocommerce and eu vat assistant)
-The log says the verification is successful with VIES as it recognises the business name
-The cache has been cleared
-I have last version of everythingStill, the VAT is not removed from the total.
The shop is located in Switzerland (a very small country) and the clients are located in Italy.
SOLVED: there was a conflict with another plugin called “WooCommerce EU VAT Assistant”. The solution has been to set in my bundle “shipping fee: apply to each bundled product”.
Ok, I have updated the shortcode like this and it works!
[events show_filters="false" orderby="_event_start_date" order="ASC"]
functions.php:
//ORDER BY DATE /** You need to put code in theme functions.php **/ function theme_name_custom_orderby( $query_args ) { $query_args[ 'orderby' ] = 'meta_value'; //orderby will be according to data stored inside the particular meta key $query_args[ 'order' ] = 'DESC'; return $query_args; } add_filter( 'event_manager_get_listings_args', 'theme_name_custom_orderby', 99 ); function theme_name_custom_orderby_query_args( $query_args ) { $query_args[ 'meta_key' ] = '_event_start_date'; //here you can change your meta key return $query_args; } add_filter( 'get_event_listings_query_args', 'theme_name_custom_orderby_query_args', 99 );
@hitesh, I suggest to add this to the basic order_by functionality without having to change functions.php, this is an important feature for us ??
Hello, same issue here.
I have created 2 events with the 2.7 version, the event sorting by date does not work.
https://golondonadventures.co.uk/day-hikes/
This is the shortcode utilised:
[events]
If I want to sort the events from the earliest to the latest one:
[events order=”ASC”]
the events are still ordered from the latest to the earliest one
This is the current situation:
Sep 30
Sep 26
Sep 24This is what I would expect:
Sep 24
Sep 26
Sep 30Yes, it wasn’t clear from the docs that events are ordered by default by date. I thought that was not allowed in the free version.
Ah ok!
I thought events could only be ordered by title, ID, name, modified, parent or rand as written in that page.
Thank you anyway,
LucaHi,
Future events, ascending. Let me know if you need any other info ??
Thanks,
Luca- This reply was modified 6 years, 2 months ago by lpenn.
Forum: Fixing WordPress
In reply to: Page speed: extremely long response time and admin-ajax.phpYes, I do actually!
Something like what could be configured incorrectly?
How can a caching plugin or a CDN slow down the backend?- This reply was modified 6 years, 4 months ago by lpenn.
Forum: Fixing WordPress
In reply to: Page speed: extremely long response time and admin-ajax.phpYou’re right! But why some wordpress sites are still fast whan I’m logged into admin? This one is so slow when I am logged! Do you know what could be the problem for admins?
- This reply was modified 6 years, 4 months ago by lpenn.
Forum: Fixing WordPress
In reply to: Page speed: extremely long response time and admin-ajax.phphere is the link: https://www.myplaceconnect.com