[Resolved] Footer above footer widgets

Home Forums Support [Resolved] Footer above footer widgets

Home Forums Support Footer above footer widgets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46300
    KEvin

    Hi,

    How can I make the footer copyright text above the 4 footer widgets?
    It is now below the footer widgets..

    #46366
    Tom
    Lead Developer
    Lead Developer

    Hmm, you could probably pull this off..

    First, we would hide the default copyright footer:

    .site-footer .site-info {
          display: none;
    }

    And then, using GP Hooks, add something like this to the “Before Footer” area:

    <footer role="contentinfo" itemscope="itemscope" itemtype="http://schema.org/WPFooter" class="site-info">
    		<div class="inside-site-info grid-container grid-parent">
    				<span class="copyright">Copyright &copy; 2014</span> 	· <a title="GeneratePress" target="_blank" href="http://generatepress.com">GeneratePress</a> · <a title="Proudly powered by WordPress" target="_blank" href="http://wordpress.org">WordPress</a>
    				</div>
    	</footer>

    Then, of course, you can edit the inside of it to match your needs.

    Let me know if this works or not 🙂

    #64928
    eddie

    Hi Tom

    I hid the default copyright footer in CSS and replaced it with one of my own using your snippet as a GP hook. I now have two copyright footers, even though I first removed the default footer. Here’s the tweaked snippet:

    <footer role=”contentinfo” itemscope=”itemscope” itemtype=”http://schema.org/WPFooter&#8221; class=”site-info”>
    <div class=”inside-site-info grid-container grid-parent”>
    <span class=”copyright”>© 2015 eddie lawrence</span> · WordPress theme by GeneratePress
    </div>
    </footer>

    I tried shoving this into the child functions.php file, but it wouldn’t have it.

    Also, it would be useful to reduce the length of that container, up to the edge of the text perhaps.

    thanks

    #65076
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Have you taken a look at our Copyright add-on? It allows you to change it super easily.

    If you want to use a function, this may be helpful: https://gist.github.com/generatepress/36c0c52479679252af28

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.