• MrBoat

    (@mrboat)


    Please i will like to know how to edit the credit “Designed by Themes & Co ·”
    in the footer to my company name. Can anyone help me?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Oxygen89

    (@oxygen89)

    See this snippet.

    Thread Starter MrBoat

    (@mrboat)

    @oxygen89, thanks for showing up. However I could not locate the file location. I open my function.php and i copied the snippet inside and now my website is not opening again. I have replace the oringinal files in the functions.php but still my site is not coming again. What should I do please?

    David_G

    (@questas_admin)

    Presuming you edited the function.php file IN your child-theme, rename that file to function.bak. If the site loads then you need to fix the function file as there is an error in it.

    Thread Starter MrBoat

    (@mrboat)

    @questas_admin Thank you very much. Your help game in handy. After changing the function.php to function.back i was able to access my admin which i switched the theme to wordpress twenty twelve, deleted the customizr theme and reinstalled it. I am now able to open my website (www.mrboatwebsolution.com) but its only the homepage coming. The other pages are opining as “404 Not Found error”
    Whats the next solution please?

    Thread Starter MrBoat

    (@mrboat)

    Its always great to belong to an active community like wordpress. I just solved my problem with help from Oxygen89 and Questas-admin. I thank you guys very much. I have recovered the other pages after renaming my .htaccess_old file back to .htaccess which I initially did. However I still have the footer credit to change. I want to design website for SMEs and I cant afford not to change the credit. Any safe way so i wont mess up again?

    dezmont

    (@dezmont)

    Dashboard > Themes > Editor > find here footer.php

    Oxygen89

    (@oxygen89)

    @dezmont: It’s a very bad way to hack parent files. (Mrboat did that only and you know what the result was).

    @mrboat: Use child theme functions.php. and add the function there given in snippet. Try here.

    Thanks

    Thread Starter MrBoat

    (@mrboat)

    I have created a new subdomain (practicals.mrboatwebsolution.com)for all my practicals.
    I installed the customizr child and copied the snippet
    “<?php
    /**
    * This is where you can copy and paste your functions !
    */
    add_filter(‘tc_credits_display’, ‘my_custom_credits’);
    function my_custom_credits(){
    $credits = ‘Designed by MrBoat’;
    $newline_credits = ”;
    return ‘
    <div class=”span4 credits”>
    <p> · © ‘.esc_attr( date( ‘Y’ ) ).’ ‘.esc_attr(get_bloginfo()).’ · ‘.($credits ? $credits : ‘Designed by Themes & Co‘).’ ·’.($newline_credits ? ‘
    · ‘.$newline_credits.’ ·’ : ”).'</p> </div>’;
    }

    into my functions.php and i was able to change the footer credit to Designed by MrBoat. However the “MrBoat” did not appear as a link but rather a simple text.
    I went ahead to edit the snippet to:
    <?php
    /**
    * This is where you can copy and paste your functions !
    */
    add_filter(‘tc_credits_display’, ‘my_custom_credits’);
    function my_custom_credits(){
    $credits = ‘Designed by MrBoat’;
    $newline_credits = ”;
    return ‘
    <div class=”span4 credits”>
    <p> · © ‘.esc_attr( date( ‘Y’ ) ).’ ‘.esc_attr(get_bloginfo()).’ · ‘.($credits ? $credits : ‘Designed by MrBoat‘).’ ·’.($newline_credits ? ‘
    · ‘.$newline_credits.’ ·’ : ”).'</p> </div>’;
    }

    But still nuthing changed. i still see the simple “MrBoat” text.
    What should I do to have link credit and probably have a different color for the link please?

    rdellconsulting

    (@rdellconsulting)

    &copy;2014 MrBoat is a link. If you hover over it, it links to mrboatwebsolution.com

    Change color using:

    footer#footer .colophon a {
        color: red
    }

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to edit the footer credit in Customizr?’ is closed to new replies.