Home 게시판 커뮤니티 Q&A 버디프레스 질문합니다. 버디프레스 초기설정

2개 답변, 2 voices Last updated by Avatar of 082net082net 12 years, 10 months 전
  • Avatar of chilchilchilchil
    Participant
    @chilchil
    #6339

    Making Your Theme BuddyPress Compatible
    Adding support for BuddyPress to your existing WordPress theme is a straightforward process. Follow the setup instructions on this page.

    Step Three: Tweaking your layout
    Now that the template files are in the correct location, check out your site. (You can come back to the current page at any time, by visiting Dashboard > Appearance > BP Compatibility.) You should see a BuddyPress admin bar at the top of the page. Try visiting some of the links in the “My Account” menu. If everything has gone right up to this point, you should be able to see your BuddyPress content.

    If you find that the pages are not quite aligned correctly, or the content is overlapping the sidebar, you may need to tweak the template HTML. Please follow the “fixing alignment” instructions below. If the content in your pages is aligned to your satisfaction, then you can skip to the “Finishing Up” section at the bottom of this page.

    Fixing Alignment

    By default BuddyPress templates use this HTML structure:

    [HEADER]

    [PAGE CONTENT]

    [SIDEBAR CONTENT]

    [FOOTER]

    If BuddyPress pages are not aligned correctly, then you may need to modify some of the templates to match your theme’s HTML structure. The best way to do this is to access your theme’s files, via FTP, at:

    /home/fashionstar/wordpress/wp-content/themes/frisco-for-buddypress/

    Open up the page.php file (if this does not exist, use index.php). Make note of the HTML template structure of the file, specifically the tags that surround the content and sidebar.

    You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file.

    There are two methods for making the necessary template changes.

    The first method is to locate the following templates (leave out any folders that you didn’t copy over in Step Two):
    /activity/index.php
    /blogs/index.php
    /forums/index.php
    /groups/index.php
    /groups/create.php
    /groups/single/home.php
    /groups/single/plugins.php
    /members/index.php
    /members/single/home.php
    /members/single/plugins.php
    /members/single/settings/delete-account.php
    /members/single/settings/notifications.php
    /members/single/settings/general.php
    /registration/register.php
    /registration/activate.php
    Alternatively, you may find it easier to make copies of your theme’s header.php, sidebar.php and footer.php and rename them to header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php.

    Then you can alter the structure of these new template files (header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php) to resemble your theme’s page.php (or index.php).

    Once you are done matching up the HTML structure of your theme in these template files, please take another look through your site. You should find that BuddyPress pages now fit inside the content structure of your theme.

    Finishing Up

    You’re now all done with the conversion process. Your WordPress theme will now happily provide BuddyPress compatibility support. Once you hit the finish button you will be presented with a new permanent theme options page, which will allow you to tweak some settings.

    어떻게 설정하는지를 모르겠네요. ㅠㅠ

    Avatar of chilchilchilchil
    Participant
    @chilchil
    #6340

    [*HEADER]

    [*PAGE CONTENT]

    [*SIDEBAR CONTENT]

    [*FOOTER]

    Avatar of 082net082net
    Keymaster
    @082net
    #6345

    워드캠프서울2012 발표자료 중에서 ‘2:10 pm 천영민 워드프레스 테마의 구조’ 후반부를 참고 해 보세요.

    Avatar of 082net
    Facebook 사용자 모임 그룹 도 함께 운영되고 있으며, 격 주로 미트업과 스터디를 진행하고 있으니 관심 있으신 분들의 많은 참여 바랍니다 🙂
3 글 보임 - 1에서 3 까지 (총 3 중에서)
  • 답변은 로그인 후 가능합니다.