Support » Fixing WordPress » need help with blog footer

Viewing 15 replies - 1 through 15 (of 26 total)
  • yes they can.

    warning site above has pop up windows.

    my blog does not have pop up windows

    why did you respond if you cannot help???

    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.

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

    Ok.

    and how are you trying to add it?

    in the footer

    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.

    yes

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

    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.

    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=’));?>

    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> <?

    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.

    @ M

    will anything happen if i delete the code?

    will my blog freze or anything?

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘need help with blog footer’ is closed to new replies.