bbPress plugins customization
Remove breadcrumb
function bm_bbp_no_breadcrumb ( $param ){
return true;
}
add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
Dequeue or deregister a style or script of JS Composer WordPress plugin using your current theme functions.php. Paste the codes below. <link rel='stylesheet' id='js_composer_front-css' href='http://mytravelpersonality.com/temp/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=5.0.1' type='text/css' media='all' /> <script type='text/javascript' src='http://mytravelpersonality.com/temp/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js?ver=5.0.1'></script> add_filter( 'vc_shortcode_output', 'anton_vc_shortcode_output', 10, 4 ); function anton_vc_shortcode_output($output, $xx, $atts ){ wp_dequeue_style( 'js_composer_front' ); wp_dequeue_script( 'wpb_composer_front_js' ); return $output; }
How to create domain name folder in file manager? Just find the “Add ON Domains” in domains sections.
Separated number in comma and decimal point using PHP or JS number format. Commonly used in the price format and number separator. Hopefully this can help you. PHP: Found this post https://www.w3schools.com/php/func_string_number_format.asp and the codes below is the sample usage of the PHP code. echo number_format("1000000"); // output will be 1,000,000 echo number_format("1000000",2); // output…
How to change group avatar thumbnail? <?php bp_group_avatar_thumb() ?> // Usage bp_group_avatar( 'type=thumb&width=50&height=50' ); // Original codes function bp_group_avatar( $args = '' ) { echo bp_get_group_avatar( $args ); } function bp_get_group_avatar( $args = '' ) { global $groups_template; // Bail if avatars are turned off. if ( bp_disable_group_avatar_uploads() || ! buddypress()->avatar->show_avatars ) { return false;…
How to display Youtube video’s featured image ( thumbnail image )? We have numbered of ways to display the Youtube video’s featured image or thumbnail image. We want to display image instead of Youtube videos most specially in the categories right? In this examples, https://www.anthonypagaycarbon.com/category/entertainment/ we will see I’m using image instead of the video…
For example I want to add a ” Home Slider ” post type. Below is the perfect codes. Just copy and paste it into your functions.php add_action( 'init', 'home_slider_post_type' ); function home_slider_post_type() { $labels = array( 'name' => _x( 'Home slider' ), 'singular_name' => _x( 'Home Slider' ), 'menu_name' => _x( 'Home Slider' ), 'name_admin_bar'…
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.