bbPress plugins customization
Remove breadcrumb
function bm_bbp_no_breadcrumb ( $param ){
return true;
}
add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');
How to update BuddyPress cover image size? Just copy and paste the codes below to your functions.php add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'swifter_xprofile_cover_image', 10, 1 ); function bp_legacy_theme_cover_image_css_2( $settings = array() ) { $theme_handle = 'bp-child-css'; $settings['theme_handle'] = $theme_handle; $settings['callback'] = 'bp_legacy_theme_cover_image_2'; return $settings; } function bp_legacy_theme_cover_image_2( $params = array() ) { if ( empty( $params ) )…
This code is to display the current browser name of your browser. $browser = new Browser(); echo $browser_detect->getBrowser('browser_name:Browser:private'); // browser name echo $browser->getVersion(); // browser version Then this code is to be placed to your function.php file of your current theme get_template_part( 'browser' ); Then create a new file browser.php inside of your current theme…
Debugging WordPress get_option Issues: Single Value Returned Instead of Array Debugging My Mobile Menu WordPress Plugin the give get_option returns 1 value instead of arrays. Code: get_option( ‘wdes_rmm_settings’ ) In this first part of my debugging series, I dive into the issues plaguing my mobile navigation menu. From unresponsive toggles to hidden elements, join me…
Having problem on The7 WordPress theme share buttons on single post or custom post type? You can display a share buttons anywhere using this codes below. Mostly needed in custom post type that does not support this feature. $share_buttons = presscore_display_share_buttons_for_post( 'post', array('echo' => false)); if ( $share_buttons ) { printf( '<div class="post-meta wf-mobile-collapsed">%s</div>', $post_tags…
Check the links below for references to answer the question “How to redirect WordPress login/logout to custom page?” Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect for login redirect. Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/logout_url for logout redirect.
How to add rtMedia custom settings just like the example image above? Just add the codes to your functions.php of your theme. add_filter( 'rtmedia_add_settings_sub_tabs', 'wdes_music_rtmedia_pro_settings_tabs_content' ); function wdes_music_rtmedia_pro_settings_tabs_content( $tabs ){ $tabs[] = array( 'href' => '#rtmedia-music-genre', 'icon' => 'dashicons-admin-tools', 'title' => esc_html__( 'Music Genre' ), 'name' => esc_html__( 'Music Genre' ), 'callback' => 'wdes_music_genre_settings_callback', );…
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.