• Hi Sir/Madam.

    We have created the website and want to change footer text.
    We knew that changing footer text need to access to hosting panel editing file.

    Which WordPress Plugin be beneficial after updated template and coding won’t be lost?

    Appreciate the prompt response.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • .

    (@techievous)

    You can control the footer text color with this:

    #site-generator .copyright {
         color: #7a7a7a;  /* footer text color */
    }
    
    #site-generator .copyright a {
         color: #181818; /* footer link color *?
    }

    ——-

    As for the method, the best would be using a child theme. Instruction here: https://codex.www.ads-software.com/Child_Themes

    If you’re unable to setup a child theme for whatever reason, then the Attitude theme also have a built-in custom CSS box in Appearance –> Theme Options –> Design tab –> Custom CSS. You can put your custom CSS there.

    Alternatively, you can also use Jetpack (an official plugin from WordPress developers themselves) or Simple Custom CSS to accomplish the same thing.

    Thread Starter UserA1Biz

    (@usera1biz)

    Hi Sir/Madam.

    Can we request the Custom CSS to be just insert the code of,

    Copyright © 2014 Child’s Place LLP All Rights Reserved.

    Did we need to insert any coding in order to replace

    Copyright ? 2014 Child’s Place LLP Theme by: Theme Horse Powered by: WordPress

    Will it affect WordPress Attitude Theme after updated?

    Please advise us.

    Thank you.

    .

    (@techievous)

    Can we request the Custom CSS to be just insert the code of,
    Copyright ? 2014 Child’s Place LLP All Rights Reserved.

    That’s not possible with CSS. We need to use PHP for that. Please put this into the bottom of your functions.php of your child theme:

    <?php
    
    // Remove default footer text
    add_action( 'init', 'remove_fn_init' );
    function remove_fn_init() {
         remove_action( 'attitude_footer', 'attitude_footer_info', 30 );
    }
    
    // Add custom copyright text
    add_action( 'attitude_footer', 'attitude_footer_custom', 30 );
    
    function attitude_footer_custom() {
         $output = '<div class="copyright">'.'Copyright ? [the-year] [site-link] All Rights Reserved. '.'</div><!-- .copyright -->';
         echo do_shortcode( $output );
    }
    
    ?>

    The reason I need to wrap the remove_action around an ‘init’ hook is to ensure that it doesn’t fire before the original function is actually added to the hook.

    Will it affect WordPress Attitude Theme after updated?

    The codes for the footer is in footer-extensions.php; you can find it in
    /wp-content/themes/attitude/library/structure/footer-extensions.php.

    If you apply the child theme properly, it should work after updates . .. until the author decide to change something about it. (For example, one day the theme author could decide to change the $priority just for the fun of it.)

    In which case you would need to take a look at the footer-extensions.php file of the parent theme and see what has changed. The base code is already there; adapting to minor changes like tag, name, or priority is a simple 30-second deal. I wouldn’t worry too much.

    Thread Starter UserA1Biz

    (@usera1biz)

    Hi Sir/Madam.

    Thank you for the advise.

    Thread Starter UserA1Biz

    (@usera1biz)

    Hi Sir/Madam.

    We have the issue again for syntax error after editing the functions.php coding. We have replaced the coding back but the website have copyright credit.

    Did you have any WordPress Plugin as below,

    Before
    Copyright ? 2014 Child’s Place LLP Theme by: Theme Horse Powered by: WordPress

    After

    Copyright ? 2014 Child’s Place All Rights Reserved.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Attitude] Changing Footer Site Text’ is closed to new replies.