i am having a hard time changing my blog footer
can anyone help?
jvazjrsblog.com
i am having a hard time changing my blog footer
can anyone help?
jvazjrsblog.com
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?
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
where do you see this? <? to <?php
???
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
how do i create a backup?
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
ok
thanks for your help
@ andrea/moderator
i am having trouble with your suggestion for decrypting an encoded theme
is it dangerous to use an encoded theme?
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.
all of my questions have to do with the footer
This topic has been closed to new replies.