Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide Sidebar


  • pmuktan
    Participant

    @pmuktan

    how can i hide wordpress sidebar in bbpress forum.??
    And how can i put profile image in members. ??

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

  • ronthai
    Participant

    @ronthai

    It helps if we know which theme you use.

    OK, you want the avatar (profile image) in members
    What members page do you mean? The avatar is already in the users profile page, well it should be. As far as I know bbPress offers no full list of all members.


    Robin W
    Moderator

    @robin-w

    you can use ‘widget logic’ plugin to control what is shown in sidebars. for bbpress the logic is

    is_bbpress() to display and
    !is_bbpress() to hide

    or if you want a forum specific sidebar use ‘bbpress WP’ tweaks plugin.

    Profile images use the gravatar image see http://en.gravatar.com/ for details


    pmuktan
    Participant

    @pmuktan

    @robin
    Thanks for your support.

    I saw Widget Logic Options but how do i use it ?

    Regards


    pmuktan
    Participant

    @pmuktan

    I pasted this code under main wp-config.php and side is gone.
    function disable_all_widgets( $sidebars_widgets ) {
    if ( function_exists(‘is_bbpress’) ) {
    if (is_bbpress()) {
    $sidebars_widgets = array(false);
    remove_all_actions(‘bp_register_widgets’);
    unregister_sidebar( ‘bp_core_widgets’ );
    }
    }
    return $sidebars_widgets;
    }

    add_filter(‘sidebars_widgets’, ‘disable_all_widgets’, 1, 1);

    My question is how do we remo Options like Topic Type and Topic Status ???

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar