Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • Zion Oyemade
    Participant

    @bilsmore

    Dear Hugo,
    You have been a blessing. I can never thank you enough. I followed you steps and with little adjustments. The members page is working.
    This is how he new buddypress.php page looks like now.

    <?php
    get_header(); 
    
        $no_feat_class = '';
        if( !options::logic( 'blog_post' , 'enb_featured' ) || !has_post_thumbnail( $post -> ID ) ){
            $no_feat_class = ' no_feat ';
        }
    
        $post_id = $post -> ID;
                        
          
        /*---------------------*/
        $post_format = get_post_format( $post -> ID );
        if(!strlen($post_format)){ $post_format = 'standard';}
    ?>
    
    <section id="main">
    
        <div class="main-container">  
            <div class="row">
                <div class="twelve columns main-container-wrapper">      
                    <?php
                        while( have_posts () ){ 
                            the_post();
                          
                                get_template_part( 'content', 'page' ); 
                                  
                        } /*EOF while( have_posts () ) */
                    ?>
                    <?php
                        $resizer = new LBPageResizer('page');
                        $resizer -> render_frontend();
                    ?>
                </div>
            </div> 
        </div>
    </section>    
     
    <?php get_footer(); ?>

    Once again Hugo. thanks for the assistance God bless you.


    Zion Oyemade
    Participant

    @bilsmore

    Dear Hugo,
    Thank you so much for your assisitance. I have not gotten a reply from the theme’s author. It really fustrating. I really will appreciate anyone’s help in this regard. below is my page.php content.

    <?php
    get_header(); 
    
        $no_feat_class = '';
        if( !options::logic( 'blog_post' , 'enb_featured' ) || !has_post_thumbnail( $post -> ID ) ){
            $no_feat_class = ' no_feat ';
        }
    
        $post_id = $post -> ID;
                        
          
        /*---------------------*/
        $post_format = get_post_format( $post -> ID );
        if(!strlen($post_format)){ $post_format = 'standard';}
    ?>
    
    <section id="main">
    
        <div class="main-container">  
            <div class="row">
                <div class="twelve columns main-container-wrapper">      
                    <?php
                        while( have_posts () ){ 
                            the_post();
                            $meta = meta::get_meta( $post -> ID, 'settings' );
                            $meta_enb = options::logic( 'blog_post' , 'meta' );             
                        } /*EOF while( have_posts () ) */
                    ?>
                    <?php
                        $resizer = new LBPageResizer('page');
                        $resizer -> render_frontend();
                    ?>
                </div>
            </div> 
        </div>
    </section>    
     
    <?php get_footer(); ?>
    

    Zion Oyemade
    Participant

    @bilsmore

    Hi Hugo,
    I did tried using the page.php of the twenty-twelve but that wasn’t working.
    So I copied the contents of the index.php in Buddypress default theme and replaced it with contents in the new buddypress.php and got this error. Fatal error: Call to undefined function bp_dtheme_content_nav() in /home/content/05/10950405/html/wp-content/themes/belief-child/buddypress.php on line 14
    So I deleted the code on line 14 which is <?php bp_dtheme_content_nav( 'nav-above' ); ?>
    Now somehow, it seems to work but the whole page is somewhat distorted.
    I guess if I can get assisance on configuring the buddypress.php. It should work.
    I’ll be expecting your kind advise.
    The link as it is still there. You may take a look to see how it is. fruitbearerschapel.org/community

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar