Home Forums Lush Theme Discussion & Support Modify colophon?

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Kate Dobroth 3 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3674

    Kate Dobroth
    Member
    Post count: 4

    Has anyone modified the colophon (the last line of the footer) in Lush? I see this in the documentation:

    livingos_colophon_content

    Default: depends on theme
    Purpose: Use to filter colophon content in footer.

    I’m pretty new at all this, and am trying to figure out how to use add_filter(). If anyone has done this already, it would be great if you could share.

    At the least, though, what are the elements that can be modified, and how should I reference them? I’m hoping to add my own logo, copyright, and links to terms of service, privacy policy, etc.

    As always, thanks!

    #3676

    themeweaver
    Keymaster
    Post count: 730

    In theme options you can add html to footer (Footer Text).

    All livingos_colophon_content does is get the value of this option field. If empty then shows a default colophon.

    If being able to change this in the theme option isn’t enough for you then there is also a WordPress filter you can use.

    function my_filter_for_footer(){
    return "mytext";
    }
    add_filter ( 'livingos_colophon_content', 'my_filter_for_footer'  );
    #3679

    Kate Dobroth
    Member
    Post count: 4

    Thanks, that worked. I had been trying to add this text through the footer widget, but it was wrapping and not extending across the columns.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.