WordPress.org

Forums

Expound
[resolved] How could i change footer? (14 posts)

  1. diveintonewenglish
    Member
    Posted 1 year ago #

    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

  2. Konstantin Kovshenin
    Member
    Theme Author

    Posted 1 year ago #

    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!

  3. diveintonewenglish
    Member
    Posted 1 year ago #

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

  4. Konstantin Kovshenin
    Member
    Theme Author

    Posted 1 year ago #

    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

  5. niyazadvt
    Member
    Posted 1 year ago #

    I changed but its not working Konstantin.

    http://www.flickr.com/photos/16019653@N00/10441045035/

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

    what all I need to do to change?

    Is there any simple plugin to change footer?

  6. Dave
    Member
    Posted 1 year ago #

    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!

  7. Konstantin Kovshenin
    Member
    Theme Author

    Posted 1 year ago #

    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

  8. diveintonewenglish
    Member
    Posted 1 year ago #

    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?

  9. WP
    Member
    Posted 1 year ago #

    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.

  10. vanessajw
    Member
    Posted 1 year ago #

    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?

  11. vanessajw
    Member
    Posted 1 year ago #

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

  12. vanessajw
    Member
    Posted 1 year ago #

    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.

  13. vanessajw
    Member
    Posted 1 year ago #

    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.

  14. vanessajw
    Member
    Posted 1 year ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.