Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show Categories in tabs and drop down menus at top?

  • I’m New to Buddy Press but have used Word Press. I am working on a site that’s about music and would have categories like ”Reviews”, ”Artists”, etc.

    I guess i was expecting those to show up in tabs with drop down menus at the top like a typical WP site. Is this possible with Buddy Press?

    I love the social aspect of it, but want to be able to post to categories that users can visit for articles.

    Thanks,
    Doug

Viewing 13 replies - 1 through 13 (of 13 total)
  • Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    If you’re running WP3, go to “Appearance” > “Menus”. There, you can create menus with pages, custom links, or post categories.

    Hey thanks for the tip. I currently just have the default BP theme enabled, and get “The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.”

    Is this true with most of the BP themes? Are most WP themes compatible with BP, or do they need some customization.

    Thanks,
    Doug

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    If you want to modify an existing WP theme for BuddyPress, you can download the BuddyPress template pack plugin and follow the instructions.

    If your theme doesn’t support the new WP3 menus (i.e. most of them!), you can create a child theme, and code whatever menu system you like (probably in header.php)

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @dotman

    As @rogercoathup suggested, using a child theme is THE way to go. You’ll find all the info you need to learn how to create one (and why you should) here:
    http://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/

    (Watch out… shameless self-promotion coming up :-) )
    Once you have your child theme up and running smoothly, may I suggest trying my plugin: Add All Nav Links to BP-Adminbar. The plugin allows you to add pretty much whatever you want to the adminbar, style it to match the overall look and feel of your theme, and even to replace the main theme navigation with your customized adminbar. (It only modifies the adminbar on the main site; sub-blogs remain as they are.) Check it out here:
    http://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/

    Hope this helps!

    I’ve noticed this problem too: The default BP theme doesn’t support WP3 menus. Surely this is an oversight?
    Cheers, Graham

    Avatar of seomaverick
    seomaverick
    Participant

    @seomaverick

    I was almost in heaven. But the theme not supporting menu’s make it difficult for users to create their own

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    ===== TO SUPPORT WP 3 MENUS FOR BP 1.2.8 =====

    1. Create a child theme of bp-default http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

    2. Create a functions.php file in your child theme and add this:

    `<?php

    /* http://codex.wordpress.org/Function_Reference/add_theme_support#Navigation_Menus */

    add_action( ‘init’, ‘register_my_menus’ );

    function register_my_menus() {
    register_nav_menus(
    array(
    ‘primary-menu’ => __( ‘Primary Menu’ )
    )
    );
    }

    /* Removes ul class from wp_nav_menu */

    function remove_ul ( $menu ){
    return preg_replace( array( ‘#^

      ]*>#’, ‘#

    $#’ ), ”, $menu );
    }
    add_filter( ‘wp_nav_menu’, ‘remove_ul’ );

    ?>`

    3. Copy over header.php from bp-default theme and paste into child theme folder.

    4. Replace line “ or the whole navigation block with code below:

    `
    false, ‘menu_class’ => ‘menu’, ‘theme_location’ => ‘primary-menu’, ‘fallback_cb’ => ‘display_home’ ) ); ?>

    `

    Adjust according to taste :-)

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime is this menu solution still current for 1.2.9? :)

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Funny, I don’t recall putting a big all caps announcement about the WP 3.0 menu :0
    @cupid4 yes, still looks good to go. Know that custom menus will be available in BP 1.3 bp-default.

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime so is it better to wait for BP 1.3? and if I installed the beta now, will it cause problems on a live website? I know it’s not safe for live site and all but I mean if you tried it yourself or so?

    Avatar of cupid4
    cupid4
    Participant

    @cupid4

    @mercime okay, tried to edit the last post but everytime I click edit, it give me the page is not found, I’m updating to say I just found that BP 1.3(1.5) is out, so likely I will update to it, you said you will do that too in your comment under the announcement( that wasn’t stalking! :p ) so is there any other things to do than replacing the whole buddypress folder?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @cupid4 do not install beta software in live site, only in test site. But if you should decide to do so, backup DB and server files so you can revert to those if/when something goes wrong in your beta testing.

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    1.3′s pretty stable, however. Final release should be in a couple weeks :)

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

You must be logged in to reply to this topic.