WordPress.org

Ready to get started?Download WordPress

Forums

Wordstrap
[resolved] Wordstrap Theme-Buddypress - 99% compatible out of the box ! (4 posts)

  1. valuser
    Member
    Posted 11 months ago #

    Thanks for a pretty awesome/versatile theme.

    Appears to be almost 100% buddypress compatible out of the box.

    One little glitch with Group Directory page.

    see at ---> http://i.imgur.com/nexDady.png

    Any fix most welcome.

  2. danbp
    Member
    Posted 11 months ago #

    Hi @valuser

    answered you on buddypress.org forum also

    the bp_is_blog_page function is missing to hide the calendar when on BP pages.

    The place with the weird output contains an overcomplicated method to show a title. IMHO there is no need to use so many conditionnals to show a post title…. So I replaced it by the h1 stuff used in Twenty Thirteen.

    You will probably need some adjustment into CSS too. So far i can see there is no other trouble with BP. Nice theme !

    remove/replace the following into /partials/part_article_header.php

    <?php
        // Article calendar
        if ( bp_is_blog_page() ) :  //  if it returns true, it's not a BP page.
    
        if (!is_page() && !is_search()) : ?>
    	<div class="calendar event_date">
    		<span class="month"><?php echo strtoupper(get_the_date('M')); ?></span>
    		<span class="day"><?php echo get_the_date('d'); ?></span>
    		<span class="year"><?php echo get_the_date('Y'); ?></span>
    	</div>
        <?php endif;
               endif; // ending bp_is_blog_page ?>
    
        <h1 class="entry-title">
            <?php if ( is_single() ) :  ?>
                <?php the_title(); ?>
            <?php else : ?>
                <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    			 <?php endif; ?>
        </h1>
  3. valuser
    Member
    Posted 11 months ago #

    Many thanks.

    Just to confirm @chouf1 solution worked

    see also @mercime 's post for another solution on buddypress.org  forum

  4. @mercime
    Volunteer Moderator
    Posted 11 months ago #

    Great! Marking this topic as resolved :-)

Reply

You must log in to post.

About this Theme

About this Topic

Tags