Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Athul

    (@athulumar)

    Hi, I’m not a programmer. Could you make it more simple? Please. Thank you.

    Hi,
    you need a child-theme.
    Then in it’s functions.php you have to add this:

    add_filter('tc_credit_link', 'my_credits');
    function my_credits(){
        $my_credits= 'Put some text here'; /*or leave it blank with '' */
        $my_credits_link = 'https://www.google.com'; /* or leave it blank with '' */
    
        $my_credits = ( $my_credits_link && $my_credits ) ? '<a href="'.$my_credits_link.'">'.$my_credits.'</a> ' : $my_credits;
        $my_credits = ( $my_credits ) ? '· ' . $my_credits . ' ·' : ' &middot;';
    
        return $my_credits;
    }

    Then you’ve just to change those two strings: ‘Put some text here’ and ‘https://www.google.com&#8217;.

    Hope this helps.

    Thread Starter Athul

    (@athulumar)

    Tried it but got a message.

    Parse error: syntax error, unexpected ‘}’ in /home/content/02/11872702/html/wp-content/themes/customizr-child/functions.php on line 12

    Mmm,
    so you made some error in copy&paste , did you removed the semicolon here: return $my_credits; ?

    Thread Starter Athul

    (@athulumar)

    Sorry but I CSS snippet to change the color of the footer text will also help me as this coding is very hard for me. I can change the color of the footer text to white so It won’t be visible.

    Look, that snippet hasn’t anything hard .. it’s just about change 1 string, don’t be scared ! ??
    Probably you just missed a semicolon, Put the content of your child-theme functions.php in pastebin.com then give me the link and I’ll se what’s wrong…
    about changing the CSS the only thing you can do is to hide the whole text, copyright included, but why? It’s simple, trust me.
    anyway..

    footer#footer .credits p {
        display: none;
    }

    Thread Starter Athul

    (@athulumar)

    That CSS Snippet just saved me…Thank you so much..d4z_c0nf

    I really appreciate it…..

    Best.

    Athul

    You’re welcome ??
    Would you mind marking this topic as resolved?
    Thanks ??

    Thread Starter Athul

    (@athulumar)

    Sure ?? Thanks again. Take Care ??

    if i dont have child theme, can i still edit it and how?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can you help me to remove the footer credits?’ is closed to new replies.