Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author David Carson

    (@davidtcarson)

    Instead of modifying the frisco_sitecredits function, it’s probably better to just copy over footer.php from the bp-default theme folder and put it in the Frisco theme folder. Then you can edit everything directly.

    The Frisco theme doesn’t have a footer.php file because it’s using the default template from bp-default. And that frisco_sitecredits function was included just to filter the default credit text of the bp-default theme.

    I have similar problem. I′d like to add info about my site and Keep your credit by the way, but I can′t do it.

    I download de footer default and I upload into Frisco Theme folder, is right this?

    I′ll appreciate a lot your suggestions

    Thread Starter Steve Borsch

    (@sborsch)

    Yes. You make a copy of “footer.php” from the Buddypress default theme folder and then place that copy (renamed from “footer copy.php” to “footer.php”, of course) in your Frisco theme folder.

    Here is the code I changed so you can look at the differences between the Buddypress default theme code and what I used:

    </div> <!-- #container -->
    
    		<?php do_action( 'bp_after_container' ) ?>
    		<?php do_action( 'bp_before_footer' ) ?>
    
    		<div id="footer">
    			<?php if ( is_active_sidebar( 'first-footer-widget-area' ) || is_active_sidebar( 'second-footer-widget-area' ) || is_active_sidebar( 'third-footer-widget-area' ) || is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
    				<div id="footer-widgets">
    					<?php get_sidebar( 'footer' ) ?>
    				</div>
    			<?php endif; ?>
    
    			<div id="site-generator" role="contentinfo">
    				<?php do_action( 'bp_dtheme_credits' ) ?>
    				<p>This website is brought to you by <strong><a href="https://www.yourdomainhere.com">Your Domain Name</a></strong><br />Send Email to <strong><a href="mailto:[email protected]">Your Name</a></strong></p>
    			</div>
    
    			<?php do_action( 'bp_footer' ) ?>
    		</div><!-- #footer -->
    
    		<?php do_action( 'bp_after_footer' ) ?>
    
    		<?php wp_footer(); ?>
    
    	</body>
    
    </html>
    Thread Starter Steve Borsch

    (@sborsch)

    Should mention that — if you want to keep the Frisco for Buddypress code in this footer.php file — I’m guessing you will have to copy-n-paste that code and place it within here…but I didn’t do that so you will have to experiment to see what works.

    Thank you Steve.

    I changed the code but I didn′t get change the footer. What′s wrong? I upload the footer file into Frisco folder theme, I think this is correct.
    [Code moderated as per the Forum Rules. Please use the pastebin]

    i know the solution! it’s very simple really. All what you have to do is go to your wordpress root directory > click wp-content > click plugins > click buddypress > click bp-themes > click bp-default > click footer.php and you should get a code somewhere in their saying: Proudly Powered By Buddypress and WordPress, just change the words, and the links, and viola! you’re done! this is what i have:
    (This is the footer for it. I just modified it.

    </div> <!-- #container -->
    
    		<?php do_action( 'bp_after_container' ); ?>
    		<?php do_action( 'bp_before_footer'   ); ?>
    
    		<div id="footer">
    			<?php if ( is_active_sidebar( 'first-footer-widget-area' ) || is_active_sidebar( 'second-footer-widget-area' ) || is_active_sidebar( 'third-footer-widget-area' ) || is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
    				<div id="footer-widgets">
    					<?php get_sidebar( 'footer' ); ?>
    				</div>
    			<?php endif; ?>
    
    			<div id="site-generator" role="contentinfo">
    				<?php do_action( 'bp_dtheme_credits' ); ?>
    				<p><?php printf( __( 'Copyright <a href="%1$s">Example</a> 2012, All Rights Reserved. <a href="%2$s"></a>', 'buddypress' ), 'https://example.com', '' ); ?></p>
    			</div>
    
    			<?php do_action( 'bp_footer' ); ?>
    
    		</div><!-- #footer -->
    
    		<?php do_action( 'bp_after_footer' ); ?>
    
    		<?php wp_footer(); ?>
    
    	</body>
    
    </html>

    please tell me if this worked for you! if it didn’t than reply your footer.php here and i will try to see the problem and reply you the solution. Good Luck!
    Yeshourun.
    You could check out my social network at: torahbook.org
    or check out the main page @ torahbook.org/main (just scroll down to footer)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme: Frisco for BuddyPress] Challenges in Modifying the Footer’ is closed to new replies.