• Resolved goldmember

    (@goldmember)


    i want to put in my own custom footer so in my index.php and single.php and page.php pages i replaced

    <?php get_footer(); ?>

    with

    <div id="footer>? 2009 Gold Coast Chamber of Commerce<br />
    Designed by <a href="https://www.adfgadfgadfg.com" target="blank">adfgadfgadfg.com</a></div>

    however, for some weird reason, whenever i remove the <a href=… that makes it a hyperlink, and just have text in the footer div, it all shows up correctly centered at the bottom of the page. but when i just use the code detailed above, that includes the hyperlink HTML, the only thing it displays in the footer is adfgadfgadfg.com, and it’s not centered. here’s a sample: https://www.goldcoastchamber.com/wordpress/

    any idea how to fix? thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • for starters, there is a quotation mark missing after footer –
    should look like:
    <div id="footer">?

    why wouldn’t you just edit your theme’s footer.php?
    you can easily add that code without problems and replace or delete code that is there
    you will only run into problems by not calling the footer

    Hi guys! I’m jumping on this train, hope it’s okay. In my theme there is a footer linking to.. cheap cigarettes. Naturally I want to edit it out, so I went to the theme footer. The problem is that the text is coded in Base64… I have managed to edit out the link by translating it INTO Base64 and picked it out manually, but the words are still there on my site. I tried to do the same with the text as I did with the link, but then the whole footer is removed. This is the footer.php (with the LINK removed):

    (‘Pz4gPGRpdiBjbGFzcz0iYXJ0LUZvb3RlciI+DQogICAgPGRpdiBjbGFzcz0iYXJ0LUZvb3Rlci1pbm5lciI+DQogIDxkaXYgY2xhc3M9ImFydC1Gb290ZXItdGV4dCI+KGMpIDIwMDkgPD9waHAgYmxvZ2luZm8oJ25hbWUnKTsgPz4gPGJyLz4gPHAgPg0KPGEgaHJlZj0iIiB0aXRsZT0iQ2hlYXAgY2lnYXJldHRlcyI+zwvYT48L3A+DQo8L2Rpdj4NCiAgICA8L2Rpdj4NCiAgICA8ZGl2IGNsYXNzPSJhcnQtRm9vdGVyLWJhY2tncm91bmQiPg0KICAgIDwvZGl2Pg0KPC9kaXY+DQoNCiAgICA8L2Rpdj4NCjwvZGl2Pg0KPGRpdiBjbGFzcz0iY2xlYXJlZCI+PC9kaXY+DQoNCjwvZGl2Pg0KDQo8IS0tIDw/cGhwIHByaW50ZihfXygnJWQgcXVlcmllcy4gJXMgc2Vjb25kcy4nLCAna3VicmljaycpLCBnZXRfbnVtX3F1ZXJpZXMoKSwgdGltZXJfc3RvcCgwLCAzKSk7ID8+IC0tPg0KPGRpdj4NCjw/cGhwIHdwX2Zvb3RlcigpOyA/Pg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQoNCiA8Pw==’));?>

    The bold text is the “cheap cigarettes”, and if I remove it, the whole footer is gone. Anyone got any bright ideas for me, I would be very happy to hear them!

    Never mind, I found a proper Base64 decoder, it worked like magic!

    Thread Starter goldmember

    (@goldmember)

    thanks alchymyth. it’s always the little things isn’t it!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘footer problems when including a URL’ is closed to new replies.