Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress trouble with Theme Compatibility – Professional Theme

Viewing 1 replies (of 1 total)

  • @mercime
    Participant

    @mercime

    activity/index.php = open it up with a text editor. At the very top of the file,
    replace:
    `

    `
    with:
    `
    <?php if (get_option('professional_integration_single_top') ” && get_option(‘professional_integrate_singletop_enable’) == ‘on’) echo(get_option(‘professional_integration_single_top’)); ?>

    <?php if (get_option('professional_integration_single_top') ” && get_option(‘professional_integrate_singletop_enable’) == ‘on’) echo(get_option(‘professional_integration_single_top’)); ?>

    `

    At the bottom of the same file,
    replace:
    `

    `
    with:
    `


    <?php if (get_option('professional_integration_single_bottom') ” && get_option(‘professional_integrate_singlebottom_enable’) == ‘on’) echo(get_option(‘professional_integration_single_bottom’)); ?>

    `

    Note that I did not include “ at the top of the file and therefore did not include “ at the bottom of the file.

    Save /activity/index.php file and do the same on the remaining 15 files as listed here https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#tplfiles
    … except for /registration/register.php where you do the same at the top of the file but at the bottom of the register.php file, the replacement is:
    `
    <?php if (get_option('professional_integration_single_bottom') ” && get_option(‘professional_integrate_singlebottom_enable’) == ‘on’) echo(get_option(‘professional_integration_single_bottom’)); ?>

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();

    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save all and upload BP folders with revised template files to server wp-content/themes/professional/

Viewing 1 replies (of 1 total)
  • The topic ‘BuddyPress trouble with Theme Compatibility – Professional Theme’ is closed to new replies.
Skip to toolbar