• Resolved TheMadWiddler1200

    (@themadwiddler1200)


    I’d like to add content to the bottom of my site. I would just like to add a simple 5 image gallery and some text. I already changed my footer using this snippet from the themes and co site. Could I just add this snippet again so I could add a new footer?? Or could there be way I could add content to the bottom of my theme before the footer inside the body??

    Thanks for your help! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • Here’s a snippet to help

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hi @rdellconsulting

    Thanks for your response.

    The link you provided is the same one I posted above. It’s the one I used to replace the default footer.

    Could I just add it again to add a new footer??

    Thanks for your help!

    Sorry about that. Seeing your current footer made me think you had the original.

    Try this one

    Remember they are widgets so you can have multiple ones.

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hi @rdellconsulting

    Thanks for the snippet it worked great, but as always there is a problem.

    I was able to add the fourth footer area with the first snippet. Also added the “Spacing your widget area correctly with the others” snippet.

    But when I try to add the last snippet to place this new footer on top of my existing footer, the “Use case 2 : adding a fourth widget area above (before) the three defaults footer widget area” snippet, I get an error on my site and I have to remove the code through the FTP. Could it be because I don’t have the default theme footer? Something in that code could be calling for the default theme’s footer. But since I replaced my footer with a new one, this is why it gives an error, maybe?

    I tested the “Footer widget area four” and it worked, it showed the widget I wanted, but it was under my existing footer, I would like to move it to the top of it. Can you help with this?

    Thanks!

    What about this but with the action hook __before_footer to place it before the tag <footer> or the action hook __footer with a higher priority (low number, like ‘0’ :P), to place it inside the <footer> but before the default widget area?

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hi @d4z_c0nf

    Thanks for your reply.

    I don’t know anything at all about that programming language so I don’t think I’d be able to make any changes to the code. Is there any other way I could move this new footer on top the existing one without having to change any code myself?

    Thanks for your help!

    TheMaadWiddler1200 , it’s not about programming language, it’s just about replace a string in a text with another one:
    here:
    add_action ('__after_header', 'add_my_widget_area', 10);

    a)
    replace __after_header and 10 with
    __footer and 0

    b) replace __after_header with
    __before_footer

    Meke your choice.
    You wanna make a lot of changes for one who says:

    I don’t know anything at all about that programming language

    ??

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Haha, I just want my site to look good that’s all, that’s why I’m making lots of changes. I really don’t know anything about that programming language. And from my experience with it so far that I’ve been using it (copy and paste mostly! xD), it’s very sensitive. One mistake and my whole site is broken, I have to log in to my FTP and remove that code. That’s why I’d rather not mess around with it on my own :p .

    But I’ll give it a try though now that you’ve made it easy. ??

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Okay I did it, and it worked! I replaced the code with the “b” text and it worked. I was 100% I was gonna mess up, but I’m glad I didn’t.

    Thank you for your help, @d4z_c0nf! ??

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Hey @d4z_c0nf, is there a way I can target this new footer in CSS to reduce it’s size in both heightxwidth? I have an image gallery in this new footer (5 pics) but they’re a bit to big, can I reduce this new footer’s size?

    Thanks for your help!

    Thread Starter TheMadWiddler1200

    (@themadwiddler1200)

    Okay never mind that last question, I found the css selector in the page you linked to. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Add a second footer to theme or add content to bottom of body?’ is closed to new replies.