divya275
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Adding a special product attribute to the [products] shortcode.Hi Dat Hoang
I have done the same code for my custom argument on product shortcode but it’s not working for me.
My shortcode is [products columns=”3″? paginate=”true” limit=”12″ exclude_featured=”true” ]
// Add argument
add_filter(‘shortcode_atts_products’, ‘custom_shortcode_atts_products’, 10, 4);
function custom_shortcode_atts_products( $out, $pairs, $atts, $shortcode ){
if ( isset ($atts[ ‘exclude_featured’ ]) && $atts [ ‘exclude_featured’ ] ) {
$out[ ‘exclude_featured’ ] = true;
} else {
$out[ ‘exclude_featured’ ] = false;
}
return $atts;
}// modify query
add_filter( ‘woocommerce_shortcode_products_query’, ‘custom_argument_shortcode_product’ );function custom_argument_shortcode_product( $args , $attributes, $type)
if ($attributes[ ‘exclude_featured’ ]){
$query_args[‘tax_query’][] = array(
‘taxonomy’ => ‘product_visibility’,
‘terms’ => ‘featured’,
‘field’ => ‘name’,
‘operator’ => ‘NOT IN’,
‘include_children’ => false,
);
// $custom_args = array_merge($args,$query_args);
//return $custom_args;
}
return $query_args;
}I am getting no product listing on this shortcode page.
can you please help me how can I resolve this issue.
Thanks
Forum: Plugins
In reply to: [UTM Tracker] Store UTM data in Woocommerce order custom fieldis your plugin store UTM data on browser cookies?
Hello Champ,
I have download mo and po file from above lin and I have implemented with wpml plugin using wpml document. Can you please suggest any other way to make ultimate member inside content in the Korean language. Can I implement manually?
Thanks
DivyaOk
Hello Champ,
I have converted pages in Korean language but how to convert a string like in profile page tabs, registration form content..etc. I have used WPML string translate but it is not working.
I need PO and MO file for the Korean language.Can you please provide?
Thanks
Forum: Plugins
In reply to: [WP Job Manager] Multi step job post formThanks Adam
Hello Andrew
I said for example one customer set recurring plan of every 2 day. Customer paid initial subscription amount that time one order generated with invoice. then after 2 days again recurring processes happen then new invoice for recurring payment would be added in admin side order list page and customer invoice page?
Thanks
Divya- This reply was modified 7 years, 3 months ago by divya275.
Thanks Andrew
Hello Andrew
Thanks for your help, I got info about recurring payment.
One question on my mind.
1) If I have set monthly recurring payment for customer and not set expired date.
Some reason customer payment will not done after month then this customer membership cancelled automatically?Thanks
DivyaForum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] MissingKeyMapErrorThank you help me
Now API key and map is working
Forum: Fixing WordPress
In reply to: Warning MessageIt is another issue in your site. It is showing totally blank. May be it has happened related to plugin. you can try to deactivate plugin one by one and check your website, it is working or not.
Forum: Fixing WordPress
In reply to: Warning MessageYeah, You can find code of define(‘WP_DEBUG’, false); in wp-config.php just replace with above code.
Forum: Fixing WordPress
In reply to: Warning MessageHello sspens,
You can just put below code in wp-config.php file, Then it will remove both php and wordpress warning in website.
ini_set(‘log_errors’,’On’);
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);Hope it’ll help
Thanks
DivyaForum: Fixing WordPress
In reply to: How To Hide Categories From Sidebar!Hello Alex,
If you not assign any post in category,then it will be not showing in category widget of sidebar.
Divya
Forum: Fixing WordPress
In reply to: Menu appearing twiceHello valym,
You can remove “View navigation” menu by css.
.menu-responsive group{
display:none;
}just put above code in style.css file.
hope it will help you.