Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Columns theme – front page center widget

  • Hi.
    Trying to place a slidedeck function on the front page – to sit below the header – but still can’t work out where to put the code for a custom widget for the front page to achieve this.
    Any help would be appreciated.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have experimented adding code to the index.php in both the standard buddypress theme and the columns theme, but to no avail.
    Can any experienced users please help me as I really want to have a video on the front page.
    Cheers all.


    @mercime
    Keymaster

    @mercime

    Open up your chlid theme’s functions.php file and replace this:
    `function bpcol_register_sidebars() {
    register_sidebar(
    array(
    ‘id’ => ‘left sidebar’,
    ‘name’ => ‘Left Sidebar’,
    ‘before_widget’ => ‘

    ‘,
    ‘after_widget’ => ‘

    ‘,
    ‘before_title’ => ‘

    ‘,
    ‘after_title’ => ‘


    )
    );
    }`
    with
    `function bpcol_register_sidebars() {
    register_sidebar( array(
    ‘id’ => ‘left sidebar’,
    ‘name’ => ‘Left Sidebar’,
    ‘before_widget’ => ‘

    ‘,
    ‘after_widget’ => ‘

    ‘,
    ‘before_title’ => ‘

    ‘,
    ‘after_title’ => ‘


    ) );
    register_sidebar( array(
    ‘id’ => ‘homepage-widget’,
    ‘name’ => ‘Home Page Widget’,
    ‘before_widget’ => ‘

    ‘,
    ‘after_widget’ => ‘

    ‘,
    ‘before_title’ => ‘

    ‘,
    ‘after_title’ => ‘


    ) );
    }`

    Then open up index.php of the chid theme and add the following between “ and `

    `
    `

    `

    Save both files and upload to the child theme folder in server.

    Thank you so much. I never would have worked that out.
    Big grin :-)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BP Columns theme – front page center widget’ is closed to new replies.
Skip to toolbar