jaydime

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: BuddyPress Full Width #5316
    jaydime
    Participant

    Not sure if this tells us anything but I just noticed that choosing the (newly renamed) “buddypress” page template from within the WP dashboard for a given page on the site does not make it full width, whereas your standard full width option does.

    In other words, selecting under Page Attributes the Full-width no sidebar page template for my pages DOES do what I’d like it to do (though of course only for static pages, not the other buddypress pages), whereas using the new “BP Full-width” brings back the sidebar.

    The code for that buddypress.php file is here…

    <?php
    /**
    * Template Name: BP Full-width Page Template, No Sidebar
    *
    * Description: Normal full width template.
    *
    * @package Iconic One Pro
    *
    * @since Iconic One Pro 1.0
    */

    get_header(); ?>

    <div id=”primary” class=”site-content”>
    <?php if($options[‘themonic_breadcrumb’] == ‘1’) { ?>
    <?php if ( !is_front_page() ) { ?>
    <div class=”themonic-breadcrumb”><?php iop_breadcrumb(); ?></div>
    <?php } ?>
    <?php } ?>
    <div id=”content” role=”main”>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( ‘content’, ‘page’ ); ?>
    <?php comments_template( ”, true ); ?>
    <?php endwhile; // end of the loop. ?>

    </div><!– #content –>
    </div><!– #primary –>
    <?php get_footer(); ?>
    <style type=”text/css”>
    .themonic-social-share {
    padding: 8px 3px 5px 20px;
    width: 102%;
    }
    </style>

    in reply to: BuddyPress Full Width #5315
    jaydime
    Participant

    Ok I changed the template name inside buddypress.php and then installed the parent theme on a staging site. Still no good.

    I have this at line 387 in functions.php:

    function themonic_content_width() {
    if ( is_page_template( ‘page-templates/full-width.php’ ) || is_page_template( ‘page-templates/buddypress.php’ ) || is_attachment() || ! is_active_sidebar( ‘themonic-sidebar’ ) ) {
    global $content_width;
    $content_width = 1040;}

    And the buddypress.php file is in the page-templates folder…

    in reply to: BuddyPress Full Width #5311
    jaydime
    Participant

    I’m assuming you meant to edit the functions.php file in my parent theme directory, not the child theme (where the functions.php file only has the enqueue style coding). Or should I just be adding your suggested code to the child theme’s functions.php? (… in which case it would not be line 300-something.)

    So I edited the parent theme’s functions.php as you suggested, and uploaded buddypress.php to the main theme’s page-templates folder.

    It didn’t work on the live site, and it also it did not show in the WP “preview” of the parent theme. I’m reluctant to switch to the parent theme since it would wipe out other more important customizations.

    Thanks for any advice you can offer.

    in reply to: Customizer Not Working #5306
    jaydime
    Participant

    Ignore! I think I found a plugin conflict. Thanks…

    in reply to: Use the author block elsewhere #5075
    jaydime
    Participant

    “In future versions we have plans to add a Author Page template that will list all authors.”

    Is that available yet? Thx

Viewing 5 posts - 1 through 5 (of 5 total)