WordPress.org

Ready to get started?Download WordPress

Forums

Frisco for BuddyPress
Challenges in Modifying the Footer (8 posts)

  1. Steve Borsch
    Member
    Posted 2 years ago #

    My client wants the entire footer modified to have specific links within it. I've tried modifying it (after reading: http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext ) but keep getting the white screen of death...even if I only replace the Frisco URL and text "Frisco Theme".

    Can't figure out what I'm doing wrong and I'm already way past the "two hour rule" (my own "if-I-can't-figure-it-out-by-then-I-ask-for-help" rule).

    http://wordpress.org/extend/themes/frisco-for-buddypress/

  2. David Carson
    Member
    Theme Author

    Posted 2 years ago #

    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.

  3. capta
    Member
    Posted 2 years ago #

    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

  4. Steve Borsch
    Member
    Posted 2 years ago #

    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="http://www.yourdomainhere.com">Your Domain Name</a></strong><br />Send Email to <strong><a href="mailto:you@yourdomainhere.com">Your Name</a></strong></p>
    			</div>
    
    			<?php do_action( 'bp_footer' ) ?>
    		</div><!-- #footer -->
    
    		<?php do_action( 'bp_after_footer' ) ?>
    
    		<?php wp_footer(); ?>
    
    	</body>
    
    </html>
  5. Steve Borsch
    Member
    Posted 2 years ago #

    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.

  6. capta
    Member
    Posted 2 years ago #

    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]

  7. freddy mcbob
    Member
    Posted 1 year ago #

    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' ), 'http://example.com', '' ); ?></p>
    			</div>
    
    			<?php do_action( 'bp_footer' ); ?>
    
    		</div><!-- #footer -->
    
    		<?php do_action( 'bp_after_footer' ); ?>
    
    		<?php wp_footer(); ?>
    
    	</body>
    
    </html>
  8. freddy mcbob
    Member
    Posted 1 year ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic