Viewing 9 replies - 1 through 9 (of 9 total)
  • You mention foother.ini – but do you mean footer.php?

    Thread Starter edgardmx

    (@edgardmx)

    Sorry, yes is the footer.php

    Hi,

    I have a similar problem. Since the update to v 1.0.7.9 the website footer shows a common text: © 2016 Default copyright text which cannot be found in de footer.php. So I can’t change anything.

    Anybody with similar problems and solutions found?

    Amanda

    We’re at 1.9.7.9 so the 1.0 is a typo I suppose?

    Footer seemed straightforward to me:

    <div class="grid col-300 copyright">
    	<?php esc_attr_e( '©', 'responsive' ); ?> <?php echo date( 'Y' ); ?><a href="<?php echo home_url( '/' ) ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
    		<?php bloginfo( 'name' ); ?>
    	</a>
    </div><!-- end of .copyright -->
    
    <div class="grid col-300 scroll-top"><a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'responsive' ); ?>"><?php _e( '↑', 'responsive' ); ?></a></div>
    
    <div class="grid col-300 fit powered">
    	<a href="<?php echo esc_url( 'http://cyberchimps.com/responsive-theme/' ); ?>" title="<?php esc_attr_e( 'Responsive Theme', 'responsive' ); ?>" rel="noindex, nofollow">
    		Responsive Theme</a>
    	<?php esc_attr_e( 'powered by', 'responsive' ); ?> <a href="<?php echo esc_url( 'http://wordpress.org/' ); ?>" title="<?php esc_attr_e( 'WordPress', 'responsive' ); ?>">
    		WordPress</a>
    </div><!-- end .powered -->

    But changing it to something like this:

    <div class="grid col-300">
    	<a href="http://123vann.no" target="_blank">Water dispensers</a>
    </div><!-- end of .copyright -->
    
    <div class="grid col-300 scroll-top"><a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'responsive' ); ?>"><?php _e( '↑', 'responsive' ); ?></a></div>
    
    <div class="grid col-300 fit">
    	Hosted by <a href="http://remark.no" target="_blank">remark.no</a>
    </div><!-- end .powered -->

    did not work.

    So I removed the classes ‘copyright’ and ‘powered’:

    <div class="grid col-300">
    	<a href="http://123vann.no" target="_blank">Water dispensers</a>
    </div>
    
    <div class="grid col-300 scroll-top"><a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'responsive' ); ?>"><?php _e( '↑', 'responsive' ); ?></a></div>
    
    <div class="grid col-300 fit">
    	Hosted by <a href="http://remark.no" target="_blank">remark.no</a>
    </div>

    And voila, it works as intended and AS SUPPOSED!
    Must be some function that overrides elements with class “copyright” and “powered” with some other stuff, to prevent easy override of default behaviour.
    Definitely some monkey brain who thought this up (pun intended), and imo not in line with the spirit of the GNU General Public License v2.

    You’ll only want to change the last div bit, because it should align to the right, so you could use class ‘social-icons’ for that, like so:

    <div class="grid col-300 fit social-icons">

    Yes, it appears there’s a function in core/includes/functions.php: fetch_copyright(), which outputs some javascript to replace the footer text. Sigh.

    Anyway, to get rid of that, make a child theme (of course you already have that, ahem):
    1. create a directory at the same level as responsive
    2. in that directory, create a file style.css with this content:

    /*
     Theme Name:   Child theme
     Template:     responsive
    */

    3. in that directory, create a file functions.php with this content:

    <?php
    function remark_remove_fetch_copyright() {
    	remove_action('wp_head','fetch_copyright');
    }
    add_action('wp_head', 'remark_remove_fetch_copyright',0,0);

    Turn on the child theme.

    Thank You very much Herbert!

    Your “Bug Fix” works great!

    Hi Herbert,

    My child theme is alive and kicking, thnx!
    Your copyright bug fix worked, that is right.
    I learn every day.
    Thank you.
    So long…..

    Thread Starter edgardmx

    (@edgardmx)

    Herbet you are master, I’m really apreciate your time and all the effort thanks works like a charm, my footer roll back again.

    Hello everybody – It’s more simple than you think: Check out the customizer:

    /wp-admin/customize.php?theme=responsive

    click on the Footer-Settings, edit Copyrighttext – finish. No hacking needed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Footer Problems’ is closed to new replies.