• Resolved niyazadvt

    (@niyazadvt)


    May I know in which file I have to add these code to change footer.

    add_filter( ‘expound_credits_text’, ‘my_credits_text’ );
    function my_credits_text( $text ) {
    return ‘My custom footer text.’;
    }

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    You create a child theme and you would use that code in the functions.php file.

    Thread Starter niyazadvt

    (@niyazadvt)

    I did as you said Jose. but I cannot fix it. check the image the way I did

    k

    what all I need to do to change?

    Is there any simple plugin to change footer?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Is the child theme the active theme?

    Thread Starter niyazadvt

    (@niyazadvt)

    theme I m using is expound. So as I created a folder name expound-child (as showed in wordpress tutorial). then created file name functions.php . the pasted that code.

    Is that the proper way Jose?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Sort of. You still have to create the style.css file that actually creates the child theme.

    From my knowledge I find the opening and closing tags are missing in your child theme’s(I presume it to be) functions.php file

    Regarding the child theme, Please go through through the below link where members have clearly explained about how to create a child theme.
    http://wordpress.org/support/topic/expound-a-few-problems-please-help?replies=30

    Hope that solves your query.

    I’m also using Expound on my site. Just as Vinn95 said, your code doesn’t have opening and closing tag…. it should look like (In the Functions.php):

    <?php
    /* Edits goes Below */
    
    add_filter( 'expound_credits_text', 'my_credits_text' );
    function my_credits_text( $text ) {
    return 'My custom footer text.';
    } 
    
    ?>

    I found adding any code to functions.php file in my child theme, shut down the whole dashboard and didn’t work at all, a backup replacement was needed, so if you adding new code to functions worked do let us know. I haven’t used FTP upload yet to do this.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘to change footer of theme Expound , where to paste below codes’ is closed to new replies.