Change footer line
For my site http://www.spacessential.com, I use the theme Moderninterior. On my footer I currently have the same line that my site title. Now I’d like to change this line for a different one and have no clue how to do it. When I open the footer what I’ve got is…puzzling to say the least!
Here is the link to my footer code
I don’t want to delete the author name etc. just change my site line. Your help would be greatly appreciated then (consider me as a real beginner with CSS please!).
I don’t want to alarm you unduly as the technique can also quite legitimately be used to embed logos, but that line in your footer that starts “eval(base64_decode” is often evidence that your site has been hacked!
oh…well what should I do to prevent such things??? I often used spams comments, is that what it refers too or is it more serious? Thanks!
This is what the decrypted code looks like:
?><div id="footer"> <div class="footerlinks"> <?php the_time('Y'); ?> <?php bloginfo('name'); ?> . WordPress . <?php if(is_home()) : ?><a href="http://freeantivirussoftwarereviews.com/best-free-trojan-removers.html" title="Free trojan remover">Free trojan remover</a><?php endif; ?></a> </div></div></div> <?php wp_footer(); ?> </body> </html> <?
Try and remove the eval code in the footer.
Scary shit 🙁 Really guys I have got no clues about those things. Can’t I just get rid of the footer altogether? What would be the consequences? Or get a “standart” footer code instead of this one? Sorry but really a beginner in that field…and I guess it negatively impact my ranking too 🙁
Delete the eval code and see what happens. Where did you download your theme? You should do a search of all your theme’s template files for “base64_decode”
Ok I’ll do that…No sure where I got the code from anymore. Still back to square one – then how do I put a new slogan in my footer please?
<div id="footer"> <div class="footerlinks"> <!-- footer slogan here --> <p>My footer slogan</p> </div></div></div> <?php wp_footer(); ?> </body> </html>
Ok now I just replace this shit with the regular wordpress footer as found here
and I guess I’ll be albe to customise the link/tagline too…
However when I do see the graphic template is no a bit “off (look a the top and bottom of http://www.spacessential.com please), could you tell me how to solve it?
try this in your footer:
<div id="footer"> <div class="footerlinks"> <p> Powered by <a href="http://wordpress.org/" title="WordPress">WordPress</a> <br /><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>. </p> </div></div></div> <?php wp_footer(); ?> </body> </html>
Thanks keesiemeijer. It did work to some extent – no problem on top, but wrting at the bottom “off frame” plus still repetition of template there. Any other tweak I should implement maybe? thank you so much!
Maybe try with one less div, change:
You also have a lot of validation errors. Also, do you copy paste from MS Word when writing a post?
Thanks. Yes I do copy/paste from Word. Should do in Notepad ++ or something similar instead that’s what you mean?
MS Word uses it’s own formatting when you paste directly in to the editor. This might break the layout in different browsers. http://www.velvetblues.com/web-development-blog/wordpress-problems-pasted-ms-word-content/
- The topic ‘Change footer line’ is closed to new replies.