Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Profile photo 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? :)

    Profile photo 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.

    Profile photo 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.

    Profile photo of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

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

    Profile photo 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.

    Profile photo of Byc
    byc
    Participant

    @byc

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

    Profile photo 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)
  • The topic ‘How do I display the main (admin) blog separately on the front page?’ is closed to new replies.
Skip to toolbar