Viktor123b
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Orderby two custom fields in same columnHi @anilankola, thanks for the reply!
When i changed EXISTS to LIKE I got a similar result as before where rows that had one of those fields came on top, just not in alphabetical order. When I removed the relation OR only rows with ‘customer_name’ appeared and not those with ‘quick_customer_name’ or with empty values.
Maybe I should have posted the entire query. (left the relation OR where it is below)
$posts_per_page = 10; $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array( 'post_type' => 'offerter', 'post_status' => 'publish', 'posts_per_page' => $posts_per_page, 'paged' => $paged, 'meta_key' => 'business_id', 'meta_value' => $business_id, 'meta_query' => array( 'relation' => 'OR', 'customer_name' => array( 'key' => 'customer_name', 'compare' => 'LIKE', ), 'quick_customer_name' => array( 'key' => 'quick_customer_name', 'compare' => 'LIKE', ), ), 'orderby' => array( 'customer_name' => 'desc', 'quick_customer_name' => 'desc', )
- This reply was modified 5 years, 4 months ago by Viktor123b.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Undexpected Response:Super weird. Talked to the support and found the issue I guess. If a changed the user-level language to US english from website standard Swedish the error disappeared. No idea why, as I said, didnt have the problem on siteground.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Undexpected Response:Thanks for replying.
Yes, it didnt make a difference unfortunately. It did work without issues on siteground shared hostning, but migrated the website to vultr with runcloud. Is there any other settings than max_execution_time I could change?Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] SVG Support?Ok I see, thanks for the reply! Its possible if we convert svg to png (we’re working on that).