WordPress.org

Ready to get started?Download WordPress

Forums

Change footer line (22 posts)

  1. laurentlanglais
    Member
    Posted 3 years ago #

    Hi guys

    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
    http://pastebin.com/T3m7sxYX

    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!).

    Thanks guys!

  2. Peter vanDoorn
    Member
    Posted 3 years ago #

    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!

    Peter

  3. keesiemeijer
    moderator
    Posted 3 years ago #

  4. laurentlanglais
    Member
    Posted 3 years ago #

    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!

  5. keesiemeijer
    moderator
    Posted 3 years ago #

    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.

  6. laurentlanglais
    Member
    Posted 3 years ago #

    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 :-(

  7. keesiemeijer
    moderator
    Posted 3 years ago #

    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"

  8. laurentlanglais
    Member
    Posted 3 years ago #

    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?

  9. keesiemeijer
    moderator
    Posted 3 years ago #

    footer.php:

    <div id="footer">
    <div class="footerlinks">
    
    <!--  footer slogan here -->
    <p>My footer slogan</p>
    
    </div></div></div>
    <?php wp_footer(); ?>
    </body>
    </html>
  10. laurentlanglais
    Member
    Posted 3 years ago #

    Ok now I just replace this shit with the regular wordpress footer as found here
    http://lorelle.wordpress.com/2007/09/30/customizing-your-wordpress-theme-footer/
    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?

    Thanks!

  11. keesiemeijer
    moderator
    Posted 3 years ago #

    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>
  12. laurentlanglais
    Member
    Posted 3 years ago #

    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!

  13. keesiemeijer
    moderator
    Posted 3 years ago #

    Maybe try with one less div, change: </div></div></div> to </div></div>.
    `
    You also have a lot of validation errors. Also, do you copy paste from MS Word when writing a post?

  14. laurentlanglais
    Member
    Posted 3 years ago #

    Thanks. Yes I do copy/paste from Word. Should do in Notepad ++ or something similar instead that's what you mean?

  15. keesiemeijer
    moderator
    Posted 3 years ago #

    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/

  16. laurentlanglais
    Member
    Posted 3 years ago #

    Ok well I've learned something! Cool. Now I did the new footer from Notepad++ with your code - put tow divisions, then just one...Didn't change the graphic problem at the bottom :-( Any other idea maybe?

  17. keesiemeijer
    moderator
    Posted 3 years ago #

    Can you put your header.php, index.php, sidebar.php and footer.php in a pastebin.

  18. laurentlanglais
    Member
    Posted 3 years ago #

    Cool

    The header
    http://pastebin.com/BXhnje1r

    Index
    http://pastebin.com/ueYCGny6

    Sidebar
    http://pastebin.com/40SE3s8K

    Footer (given by you :-))
    http://pastebin.com/3VGzw4yT

    You're Ace for helping me so much!

  19. keesiemeijer
    moderator
    Posted 3 years ago #

    You need the trhee divs (</div></div></div>) in the footer. Lets see if we can change it in your theme's stylesheet.

  20. laurentlanglais
    Member
    Posted 3 years ago #

    I put the 3 divisions at first, but one your advise I experimented with 2, then one (my idea) to see if it would change anything. Will put them back tehn.

  21. keesiemeijer
    moderator
    Posted 3 years ago #

    Yes, put them back.

  22. laurentlanglais
    Member
    Posted 3 years ago #

    Ok I put them back, it's done. Have you by any chance found something else I could do as the problem is still there? Thanks!
    http://www.spacessential.com

Topic Closed

This topic has been closed to new replies.

About this Topic