BuddyPress Template Anpassung

  • Hi zusammen,

    ich will unbedingt BuddyPress auf meinem Blog nutzten. Nun habe ich auch das Plugin für die Anpassung ans aktuelle Template heruntergeladen. Nun bin ich bei Schritt 3 wo man die Positionen bestimmt "Fixing Alignment" jedoch komme ich überhaupt nicht draus was ich da jetzt machen muss...

    Kann mir da jemand helfen? Ich stocke total und habe keine Ahnung was ich in den Dateien ändern soll.

    Danke und LG

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Hier ist übrigens der Text der angezeigt wird:

    Adding support for BuddyPress to your existing WordPress theme can be a straightforward process by following the setup instructions on this page.

    Step Three
    Now that the template files are in the correct location, click through your site (you can come back to this page at any point). You should see a BuddyPress admin bar at the top of the page, try visiting some of the links in the "My Account" menu. You should find that BuddyPress pages now work and are displayed.

    If you find that the pages are not quite aligned correctly, or the content is overlapping the sidebar, you will need to tweak the template HTML. Please follow the "fixing alignment" instructions below. If the content in your pages is aligned in the correct place 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]

    <div id="container">
    <div id="content">
    [PAGE CONTENT]
    </div>

    <div id="sidebar">
    [SIDEBAR CONTENT]
    </div>
    </div>

    [FOOTER]

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

    /home/swisscr1/www/blog_wp/wp-content/themes/vibrant/

    Then 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 <div> 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. The files that you need to edit are as follows (leave out any folders you have not copied 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
    /registration/register.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 allowing you to tweak some settings.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!