Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I display the main (admin) blog separately on the front page?

  • Avatar of Byc
    byc
    Participant

    @byc

    How do I display the main (admin) blog separately on the front page separate from the site-wide activity area? Right now my blog entries are grouped with everyone else’s. I’d like to separate mine out to make it a featured blog on the homepage. I’m currently using the standard buddypress layout.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I’d say swipe some code from your index.php file, and toss it inside your home.php file for starters? :)

    Avatar of Byc
    byc
    Participant

    @byc

    That’s not exactly going to help. I need to know how to pull out the main blog from the rest of the other blogs. Right now it’s coded to loop through all blogs.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Did you try it? :)

    Assuming you’re only using the home theme for your home blog, you shouldn’t have any problem doing a normal query and getting main blog data in the_loop.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    byc, see the codex on bp templates and loops http://codex.buddypress.org/developer-docs/custom-buddypress-loops/

    Avatar of Phlux0r
    Phlux0r
    Participant

    @phlux0r

    You can always use a blog or magazine style theme for your home theme instead of the bphome theme and then drop the BP widgets into that.

    Avatar of Byc
    byc
    Participant

    @byc

    Coding through loops is a little too much beyond my skills. Which magazine style theme is a good example?

    Avatar of Phlux0r
    Phlux0r
    Participant

    @phlux0r

    Well, put it this way, the default buddypress home theme is really just a widget framework accomodating the BP widgets for activity, members, groups, who’s online, welcome etc.

    You need to decide where you want to show what and look for themes that fulfill your requirements. There are dozens of mag style themes out there… As long as you have a good range of widget positions in the theme you should be able to put your home page together the way you want to. Besides, it’s easy to create custom widget positions if you need to.

    In any case, some php / theming skills may be needed to get stuff exactly how you want it.

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

You must be logged in to reply to this topic.