bbPress plugins customization
Remove breadcrumb
function bm_bbp_no_breadcrumb ( $param ){ return true; } add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
How to add a new WordPress user using CPANEL access? Here are some tips to do that. Please read below. Step 1: Login to your CPANEL dashboard. Step 2: Go to your PHPMYADMIN page where you can edit your database. Step 3: Select your wp_user table and click copy button. See image below. Step 4:…
Having trouble with this error message anywhere in your WordPress dashboard? Warning: htmlspecialchars(): charset `UTF-7′ not supported, assuming utf-8 Inside WordPress admin dashboard go to “Setting > Reading” and here you see some field says ‘ utf-7 ‘. Changed this to ‘ utf-8 ‘ and everthing will be alright. Have a WordPress day.
How to add an `Add Friend` button in a custom templates? Copy the codes below. <?php if( $bp->displayed_user->id != bp_get_member_user_id() ) : ?> <div class="add-friend-btn"><?php bp_add_friend_button( bp_get_member_user_id() ); ?></div> <?php endif; ?> How to get the total friends count? Read more here https://buddypress.wp-a2z.org/oik_api/friends_get_total_friend_count/. <?php global $bp; echo bp_get_user_meta( $bp->loggedin_user->id, ‘total_friend_count’, true ); ?> How to…
This code is showing how to add a archive-child/archive-parent classes in Woocommerce product category pages using display_type option. add_filter( ‘body_class’, function( $classes ){ $object = get_queried_object(); if( get_woocommerce_term_meta( $object->term_id, ‘display_type’, true ) != ‘subcategories’ ){ $classes[] = ‘archive-child’; }else{ $classes[] = ‘archive-parent’; } return $classes; });
Override rtMedia media-gallery.php template into current WordPress theme is now not a problem. For example you have artist role in your users and you want different template for the artist role. This apply in `http://www.sample.com/members/artist/media/music/` page. add_filter( ‘rtmedia_template_filter’, ‘rtmedia_template_filter_override’, 10, 3 ); function rtmedia_template_filter_override( $template ){ global $bp; $role = get_user_meta( $bp->displayed_user->id, ‘wp_capabilities’, true );…
GRAVITY FORM .gform_wrapper { margin: 0!important; max-width: 100%!important; } .gform_wrapper .top_label li.gfield input, .gform_wrapper .top_label li.gfield select, .gform_wrapper .top_label li.gfield textarea { width: 100%!important; padding-right: 2%!important; padding-left: 2%!important; } .gform_wrapper .top_label li.gfield .ginput_left, .gform_wrapper .top_label li.gfield .ginput_right { width: 49%!important; } .gform_wrapper .gform_footer { padding: 0; margin: 10px 0 0 0; } WOOCOMMERCE TABS .woocommerce-tabs…
It’s going to be end of mine day, however before end I am reading this enormous post to improve my knowledge.
I think the admin of this website is in fact working hard for
his website, for the reason that here every material is
quality based data.
Hey, thanks for sharing so much helpful information with us.
I believe I will reread this post a couple times. Great information!
I just want to say I am just new to blogging and site-building and certainly loved your web-site. More than likely I’m planning to bookmark your site . You definitely come with great articles. Thank you for sharing your web-site.
I just want to mention I am newbie to weblog and certainly enjoyed you’re blog site. Most likely I’m planning to bookmark your blog . You actually come with outstanding articles and reviews. Kudos for sharing with us your webpage.