• Resolved diveintonewenglish

    (@diveintonewenglish)


    I already tried to change footer but it didn’t work at all.

    i don’t know which part should i have to change.

    give me some advise for it. thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Theme Author Konstantin Kovshenin

    (@kovshenin)

    Hey there! Here’s some code you can use in a child theme or a plugin to change the theme footer:

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

    Hope that helps!

    Thread Starter diveintonewenglish

    (@diveintonewenglish)

    what is child theme? lot’s of people mentioned child theme a lot.
    is that custom CSS things?

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    Child themes are meant to customize existing themes without changing the theme’s code, so updates don’t break your modifications. You can read more about it here: http://codex.wordpress.org/Child_Themes

    I changed but its not working Konstantin.

    k

    site url : http://blog.niyazsky.com/

    what all I need to do to change?

    Is there any simple plugin to change footer?

    Konstanin

    Your code worked fine for me. Wrapped the text in some divs and created some css for it and got it styled up no sweat. Thanks for the code!

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    niyazadvt, you should place the code I gave you in a child theme’s functions.php. Please refer to the following article on child themes: http://codex.wordpress.org/Child_Themes

    Thread Starter diveintonewenglish

    (@diveintonewenglish)

    Hey Konstantin. I made a child theme with style.css following code

    /*
    Theme Name: Expound Child
    Template: expound
    */

    @import url(‘../expound/style.css’);

    with this and finally it worked so I changed the expoud theme to child theme in apperance menu in wordpress website.

    So finally I made it up but I have a question. Now how I could change footer style or text to what I want to write.

    I wanna change footer style with text. what should I do now?

    WP

    (@linuxpanda)

    What do you want to include in the footer?

    As mentioned in the 2nd post, you can add that code to functions.php in your child theme. Then copy paste the footer.php file to your child thema and add an action to include your custom copyright.

    If you want to change the way the footer is displayed, then you need to edit the CSS related to footer.

    I don’t have child themes functions file, any altering of the functions file shuts me out of the site and dashboard requiring using a back-up from the host, NO WAY, I don’t have FTP, isn’t there another way to code some background style to the footer? Say a band of colour an inch or so around the text. I’ve hunted through the footer code and the only changes I can preview in Firefox are altering the text and colour, not the surround padding. Can anyone help, or better still can Konstatin make us a footer widget?

    what plugin would Konstatin recommend here for footer, because I’ve tried activating a few and Footer Put didn’t change anything.

    element {
    }
    .site-footer {
        color: #5E1818;
        background-color: #DCDCDC;
        padding: 30px;
    }

    This works on Firefox but doesn’t display yet on my site. Why not? it’s a nice subtle band of colour to add interest to the bottom line.

    element {
    }
    .site-footer {
        color: #5E1818;
        background-color: #DCDCDC;
        padding: 20px;
            padding-top: 20px;
            padding-right-value: 20px;
            padding-bottom: 20px;
            padding-left-value: 20px;
            padding-left-ltr-source: physical;
            padding-left-rtl-source: physical;
            padding-right-ltr-source: physical;
            padding-right-rtl-source: physical;
    }

    This didn’t make any difference either, pity I feel I’m close.

    this finally works, Safari was playing a glitch, but when I put all this code in, Firefox displayed it, Chrome and finally Safari, all in child theme.

    }
    element {
    }
    .site-footer {
        color: #5E1818;
        background-color: #D8D8D8;
    }
    .site-footer {
        clear: both;
        padding: 15px;
    }
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How could i change footer?’ is closed to new replies.