Ajay M Aravind
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] PHP Deprecated ErrorThankyou @shameemreza . This is not a custom code requirement. It is a bug in WooCommerce core. I will report in github
Forum: Plugins
In reply to: [PhonePe Payment Solutions] PHP Errorsession_start(): Session cannot be started after headers have already been sentPlugin:?PhonePe Payment Solutions
File:?/wp-content/plugins/phonepe-payment-solutions/index.php
Line: 41Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP Optimizer implementationAny update on this?
Forum: Plugins
In reply to: [WooCommerce] Woocommerce Subscriptions Support (Synchronized renewals)@jcaluminga have you solved this yet?
Forum: Plugins
In reply to: [WP REST API (WP API)] orderby=meta_value_num and users posts ERRORSNext thing I am trying is fetching with more than one meta keys. If someone could help, it would be great. Hope this thread will be good documentation for others..
Forum: Plugins
In reply to: [WP REST API (WP API)] orderby=meta_value_num and users posts ERRORSAn update:
we could use meta_type to specify the type of meta_value
function slug_allow_meta( $valid_vars ) {
$valid_vars = array_merge( $valid_vars, array( 'meta_key','meta_value', 'meta_query', 'meta_compare','meta_type' ) ); return $valid_vars; } add_filter( 'json_query_vars', 'slug_allow_meta' );
query will be:
yourwebsite.com/wp-json/posts?filter[meta_query]&filter[meta_key]=your_custom_key&filter[meta_value]=600,999&filter[meta_compare]=BETWEEN&&filter[meta_type]=DECIMAL&filter[orderby]=meta_value_num&filter[order]=DESC&filter[category_name]=your_category
Forum: Plugins
In reply to: [WP REST API (WP API)] orderby=meta_value_num and users posts ERRORSYour code works for me with same issue. I need meta value as float (in certain cases) and those are not working.
Forum: Plugins
In reply to: [WP REST API (WP API)] orderby=meta_value_num and users posts ERRORSGreat work mkiisoft. Thanks for the help. will test all these and try to improve it..
Forum: Plugins
In reply to: [WP REST API (WP API)] orderby=meta_value_num and users posts ERRORSHei,
Could you share me an idea to filter based on a number range.
i.e, meta_value between ‘lower limit’ and ‘upper limit’?Forum: Plugins
In reply to: [Fancier Author Box by ThematoSoup] How to hide FAB in author profile?Is there any way I could hide it from coming in forum profile?
Forum: Plugins
In reply to: [Fancier Author Box by ThematoSoup] How to hide FAB in author profile?Is there any way I could hide it from coming in forum?