Support » Fixing WordPress » Adding Copyright to Footer

  • Resolved MichaelJLaF


    Here’s my problem: Simply want to add TM and Copyright notice to original footer. Unable to contact web designer at site.

    How do I go about solving this and which file should I work with?

    Thank you.

    Below is the Footer code.

    <?php eval(gzinflate(base64_decode("bZFBS8QwEIXP9leModAu2ATx5rZZBBf2oFi06EGW0m1m20DahLS17r+3sV0R9JJJ3jxevmQ2PN6Y2oBsSzUIhDDbPqYPd9k2vct2QCFgVlZ1n3dS4KGwdPIGqzVsuOddXMRMyA++rJdRBOPkglKroWlhtIWBKHLGXw5sBZiiwnNnaoAUCTlq3aMl3IvNQnRQupLtUYdBWzQ4XwpzK8cwkB0YqwehTmD0iBYFHE4QF1BbPCak7ntzy9g4jnTUVhiLXUe1rRiBXvYKE/I2yamTCf/ZxqzgUEyI/+YYgZ2sWrS01M3fHMhqbNDFpfeL0eXRGf1qYffLZPqhoe1D3yT4aZQWGBJKrvz8Zfv8un1+J7ssS/Pd00tG9qtVdL0GXyW+effL6HpPJyv9PuzXgGWtgZxZgzPrjVSOkA1WscmsKGHBQhu4h8xawOfqGIkjjJnh51l53k/9ph5NPk8onIcfs4MWJ1frvlH8Cw=="))); ?>

Viewing 12 replies - 1 through 12 (of 12 total)
  • The source code has been encrypted which means it would have to be decoded to be changed or altered. You don’t give the URL of your website but presumably the developer has added credits they did not want altered or removed.

    The best strategy may be to create your own footer.php file to replace the encrypted version above, rather than attempting to decode the encrypted text.

    Thanks for the feedfback. That was what I was afraid of. The developer has added his credits which I want to keep out of recognition for the work he’s done. I will try creating my own footer.php file although that’s a little beyond my time and abilities at the moment. Thanks again for the comment. Site URl is The Great Oceans

    Hey, no problems, you can get a long way by looking at the source code of the page which pretty much decodes the footer.php file for you, then you just have to add the WordPress specific stuff around that giving you something like the source code below (which may need adjusting according to the version of WP and the theme that you use):

     * The template for displaying the footer.
     * Contains the closing of the id=main div and all content
     * after.  Calls sidebar-footer.php for bottom widgets.
     * @package WordPress
     * @subpackage Twenty_Ten
     * @since Twenty Ten 1.0
    	</div><!-- #main -->
    <div id="footer">
    <p>The Great Oceans is proudly powered by <a href="" title="WordPress">WordPress</a> and <a href="" title="WordPress Themes">WPDesigner</a>., <a href='' title=''></a></p>
    </div><!-- #footer -->
    </div><!-- #wrapper -->
    	/* Always have wp_footer() just before the closing </body>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to reference JavaScript files.

    Thank you James for the help. One question–where would the copyright information be inserted into the code?

    I would try to decode the footer.php. I can’t help you currently, I am at work and don’t have any tools available.

    Reason being, your output above hints that your footer.php controls a widget area, but the code is missing. I presume because you are not using the widget area. So if we try to use the browser output above, we may break your theme, but will certainly lose functionality

    Thanks Voodoo for the input. Any help is always appreciated.

    yeah, the link I gave may help you decode it yourself. If not, there is always a request thread in the themes section here where volunteers decode for you, you could also post there while you work at it

    Rev Voodoo is right I guess in that my suggested output could break your theme so it should be tried in a test environment, should have warned you about that.

    I can’t decode the footer.php file at the moment as am also at work. I think the output above may work as the footer.php would handle any plugins such as google analytics that you have installed.

    As to where to put the copyright it depends on the format you want, it would be added somewhere to the line that starts:
    <p>The Great Oceans is proudly ...
    and add the copyright to that so something along the lines of:
    <p>&copy; 2010 The Great Oceans is proudly ...
    that would give you an emergency copyright statement, then if you have access to the host via ftp what you could do at your own risk is to:
    – rename the current footer.php to footer-old.php or similar
    – copy an amended footer.php along the lines of the above output
    – see if it works, specially view the source of the page to see if the google analytics markup is still there
    – If it does not work then remove the new footer.php and rename footer-old.php back to footer.php

    Calls sidebar-footer.php for bottom widgets.

    this line here is what worried me. There is obviously some important code missing from the browser output to handle the widgets and stuff. Not including that would definitely jack some things up……

    also some other php code like where it says The Great Oceans is proudly is probably <?php bloginfo('name'); ?> is proudly... etc….

    Thanks Voodoo and James for the suggestions. I’ll give it a try this afternoon.

    A combination of both your suggestions worked. Decoded the original footer at the WP support link suggested by Voodoo. Reinserted the proper code as mentioned by James.

    Thanks again for all your help–
    URL: The Great Oceans

    Hi-I would also like to add more copyright info to the footer on my blog. My site’s URL is:
    I am not a coder or designer. Assuming that I’ve done this correctly (sorry to be slow!) this is the info that I’ve got for the code (my blog was not designed by me-I don’t know if it is encrypted or not)Help!:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Adding Copyright to Footer’ is closed to new replies.