Prafulla Kumar Sahu
Forum Replies Created
-
Forum: Reviews
In reply to: [W3 Total Cache] great for free@dilipghadi Is it for logged in users too ?
Forum: Fixing WordPress
In reply to: wp-comments-post.php return blank page on 4.4Thank you for your reply .
- This reply was modified 8 years, 3 months ago by Prafulla Kumar Sahu.
Forum: Fixing WordPress
In reply to: wp-comments-post.php return blank page on 4.4I am facing this issue with 4.6.1 and I think it is because of w3total cache, but I would like to use it will make a new thread with more detail.
Forum: Fixing WordPress
In reply to: wp-comments-post.php return blank page on 4.4@ipstenu I faced the same situation and followed your suggestion
flushing any caching plugins you might be running, as well as server and/or browser caches.
and I could put just one more comment for the next I am facing same situation ( blank wp-comments-post.php page ), Can you please let me know what may be the issue.
I am using
add_filter( 'wp_list_comments_args', 'restrict_replies_to_reply' ); function restrict_replies_to_reply( $args ){ global $post; if ( $post->post_type == 'job_listing' ){ $args['max_depth'] = 2; } return $args; }
Can this be a reason for the issue ?
- This reply was modified 8 years, 3 months ago by Ipstenu (Mika Epstein).
Forum: Plugins
In reply to: [Comments Ratings] Removing start rating from reply*star rating
Forum: Plugins
In reply to: [Simple Membership] Can I use It with woocommerce ?@eyris and @mbrsolution .
- This reply was modified 8 years, 3 months ago by Prafulla Kumar Sahu.
Forum: Plugins
In reply to: [Simple Membership] Can I use It with woocommerce ?let me know if there is any update.
- This reply was modified 8 years, 3 months ago by Prafulla Kumar Sahu.
- This reply was modified 8 years, 3 months ago by Prafulla Kumar Sahu.
by replacing
$re_child_terms = get_terms( 'product_cat', array( 'child_of' => $child_term->term_id, 'hide_empty' => true ) ); if ( ! $re_child_terms ){
with
`
$re_child_terms = get_term_children( $child_term->term_id, ‘product_cat’ );
if ( $child_term->count > 0 && empty( $re_child_terms ) ){`solved my problem.
but want to know why hide_empty=1 which is default parameter to get_terms() could not restrict empty product categories .
Forum: Fixing WordPress
In reply to: Getting all categories even with no products under it?In place of
wp_dropdown_categories()
usewc_dropdown_categories()
no need to supply any argument, default arguments will be okay and it will solve your problem, still no idea aboutget_terms()
part.by replacing
` $re_child_terms = get_terms( ‘product_cat’, array( ‘child_of’ => $child_term->term_id, ‘hide_empty’ => true ) );
if ( ! $re_child_terms ){`with
`$re_child_terms = get_term_children( $child_term->term_id, ‘product_cat’ );
if ( $child_term->count > 0 && empty( $re_child_terms ) ){`solved my problem.
but want to know why hide_empty=1 which is default parameter to get_terms() could not exclude empty product categories ?
- This reply was modified 8 years, 4 months ago by Prafulla Kumar Sahu.
@anphira YOu have partially solved my problem in place of
wp_dropdown_categories()
, I can usewc_dropdown_categories()
. But what about get_terms() can you please check if I am doing something wrong there, I want to list out only the leaf level categories which are non empty.Forum: Plugins
In reply to: [WP Job Manager] CUstom field labelThank you so much for your reply but your reply was too late, I did it by saving the label as post_meta and using few my own custom filters to get it done, now it seems to be working, I still working on this, if I will be unsuccessful, I will surely go for this. thank you again.
- This reply was modified 8 years, 5 months ago by Prafulla Kumar Sahu.
- This reply was modified 8 years, 5 months ago by Prafulla Kumar Sahu.
Forum: Plugins
In reply to: [DW Question & Answer] How to change template of single question pageit can done by using template_include filter hook.
thank you for your reply, but if you can confirm it that will great as I am thinking to suggest someone to buy this .
Forum: Plugins
In reply to: [WP Job Manager] Adding custom repeated field group to Job submission formI am using that, but for now I believe I have done it very correctly and happy about that.
Forum: Plugins
In reply to: [WP Job Manager] HOw to add validation to custom field for job form ?solved it myself, I am a developer and can go for everything, any way thank you for your reply.