WordPress.org

Ready to get started?Download WordPress

Forums

[closed] need help with blog footer (27 posts)

  1. jvazjr
    Member
    Posted 3 years ago #

    i am having a hard time changing my blog footer

    can anyone help?

    jvazjrsblog.com

  2. elfin
    Moderator
    Posted 3 years ago #

    yes they can.

    warning site above has pop up windows.

  3. jvazjr
    Member
    Posted 3 years ago #

    my blog does not have pop up windows

    why did you respond if you cannot help???

  4. elfin
    Moderator
    Posted 3 years ago #

    When I first visited your site I got a pop up window.

    I responded to the question asked in the only way possible. If you want a more detailed answer, ask a more detailed question. Including what you want to achieve is always a good idea.

  5. jvazjr
    Member
    Posted 3 years ago #

    simple, when i try to add a copyright to my footer, nothing happens

  6. elfin
    Moderator
    Posted 3 years ago #

    Ok.

    and how are you trying to add it?

  7. jvazjr
    Member
    Posted 3 years ago #

    in the footer

  8. elfin
    Moderator
    Posted 3 years ago #

    Do you mean you are editing the footer.php in your theme?

    Is this what you are adding to the page:

    ©2010 Jvazjrs Blog. All rights reserved.

  9. jvazjr
    Member
    Posted 3 years ago #

    yes

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    You're adding it after the end of the html. Try adding it before the </body> tag.

  11. elfin
    Moderator
    Posted 3 years ago #

    if so, then you need to amend your theme's style sheet
    look for:

    body {
      position: relative; /* Fixes browser resizing bug in IE6 */
      margin: 10px auto;
      width: 980px;
      font-family: 'trebuchet ms', arial, sans-serif;
      text-align: center; /* IE Centering Technique */
      background: #000;
      }

    and add in color:#fff;

    as currently you have black text on a black background, and the above turns the text white.

  12. jvazjr
    Member
    Posted 3 years ago #

    here is the code i find in my footer file:

    <?php eval(base64_decode('Pz4gPGRpdiBpZD0iZm9vdGVyd3JhcHBlciI+PGRpdiBpZD0iZm9vdGVyIj4KCjxkaXYgaWQ9ImZvb3RlcmxlZnQiPgo8cD4gPGEgaHJlZj0iaHR0cDovL3d3dy53b3JkcHJlc3Mub3JnLyI+V29yZFByZXNzPC9hPi4gPD9waHAgaWYoaXNfaG9tZSgpKSA6ID8+PGEgaHJlZj0iaHR0cDovLzFhY25lbWVkaWNhdGlvbi5jb20vIiB0aXRsZT0iYWNuZSBwcm9kdWN0cyI+YWNuZSBwcm9kdWN0czwvYT48P3BocCBlbmRpZjsgID8+PC9wPgo8cD48P3BocCB3cF9mb290ZXIoKTsgPz48L3A+CjwvZGl2PiA8IS0tIENsb3NlcyBmb290ZXJsZWZ0IC0tPgoKPGRpdiBpZD0iYm90dG9tY3VydmUiPjxhIGhyZWY9Imh0dHA6Ly9zYW1rLmNhIiB0aXRsZT0iZGVzaWduIGJ5IHNhbUBzYW1rLmNhIj48c3Bhbj48L3NwYW4+PC9hPjwvZGl2PgoKPC9kaXY+IDwhLS0gQ2xvc2VzIGZvb3RlciAtLT4KCjwvZGl2PjwvZGl2PiA8IS0tIENsb3NlcyBmb290ZXJ3cmFwcGVyIC0tPjwhLS0gQ2xvc2VzIHdyYXBwZXIgLS0+Cgo8L2JvZHk+CjwvaHRtbD4gPD8='));?>

  13. elfin
    Moderator
    Posted 3 years ago #

    personally I would never use any theme that that has base64 encoded *anything* in it.
    That string is actually the following:

    ?> <div id="footerwrapper"><div id="footer">
    
    <div id="footerleft">
    <p> <a href="http://www.wordpress.org/">WordPress</a>. <?php if(is_home()) : ?><a href="http://1acnemedication.com/" title="acne products">acne products</a><?php endif;  ?></p>
    <p><?php wp_footer(); ?></p>
    </div> <!-- Closes footerleft -->
    
    <div id="bottomcurve"><a href="http://samk.ca" title="design by sam@samk.ca"><span></span></a></div>
    
    </div> <!-- Closes footer -->
    
    </div></div> <!-- Closes footerwrapper --><!-- Closes wrapper -->
    
    </body>
    </html> <?
  14. Mark
    Member
    Posted 3 years ago #

    jvazjr: Just delete the code you posted. Then add your own footer and wrap it in the appropriate HTML as show by Rich. Something like this:

    ?> <div id="footerwrapper"><div id="footer">
    <div id="footerleft">
    Copyright © 2010 - MY_NAME_HERE
    <p><?php wp_footer(); ?></p>
    </div> <!-- Closes footerleft -->
    </div> <!-- Closes footer -->
    </div></div> <!-- Closes footerwrapper --><!-- Closes wrapper -->
    </body>
    </html> <?

    Note to theme devs that want to encode junk in their theme (which is entirely lame, but whatever...) -- Do what Automattic does: Use Javascript and encode THAT instead. Then you don't violate the GPL license.

  15. jvazjr
    Member
    Posted 3 years ago #

    @ M

    will anything happen if i delete the code?

    will my blog freze or anything?

  16. elfin
    Moderator
    Posted 3 years ago #

    it all depends on how the theme is coded - if it doesn't work just re-insert the original code.

    Oh and change the <? to <?php

  17. jvazjr
    Member
    Posted 3 years ago #

    where do you see this? <? to <?php

  18. jvazjr
    Member
    Posted 3 years ago #

    ???

  19. Thejas Kamath
    Member
    Posted 3 years ago #

    You can see it in the footer.php file. Try to delete it and if the theme does not work, try to insert it again. (Keep a backup of the file you are trying to edit in your PC or in your WebHost.

    Thank You

  20. jvazjr
    Member
    Posted 3 years ago #

    how do i create a backup?

  21. Thejas Kamath
    Member
    Posted 3 years ago #

    You just have to download the footer.php file to your computer so that later you can upload again if there are any mistake by your editing and cause an unnecessary change.

    Thanks

  22. jvazjr
    Member
    Posted 3 years ago #

    ok

    thanks for your help

  23. jvazjr
    Member
    Posted 3 years ago #

    @ andrea/moderator

    i am having trouble with your suggestion for decrypting an encoded theme

  24. jvazjr
    Member
    Posted 3 years ago #

    is it dangerous to use an encoded theme?

  25. elfin
    Moderator
    Posted 3 years ago #

    the <? was on the last line that I decoded above.

    Re help with encoded theme - re read the thread, look for the link in the last post.

    Your questions are now no longer to do with the initial enquiry. I'd suggest starting a new thread. I believe we have answered you above an beyond your original question. hence asking for a mod to lock this thread.

  26. jvazjr
    Member
    Posted 3 years ago #

    all of my questions have to do with the footer

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.