• Hi, I am using a free WordPress template from https://www.simplewpthemes.com and the footer contains links to very irrelevant subjects which I would like to remove, however when I add or remove anything within the footer.php file I get an error page where my site used to be saying: This theme is sponsored, all links in the footer should remain intact.

    here is the footer.php code:

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

    Many thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • It may be very difficult to fix that.

    But, what that theme is doing is really shady, and unacceptable to the WP community.

    Find a good theme from a reputable theme shop, or better yet, https://www.ads-software.com/extend/themes/

    Theme’s that obfuscate code and do checks and balances like that may be doing all sorts of shady things with your site, data, etc

    You can take a look through the functions.php file for hidden code which is performing the checks, it might be a block of obfuscated code you can delete: be warned: deleting that may make it so you can edit the site, or it may completely crash the theme

    Thread Starter smd2010

    (@smd2010)

    Hi Voodoo,

    Thanks for getting back to me, I have modified the theme quite a lot so don’t really want to start over, if there is some way of over coming this problem I would be very grateful for any help.

    Thanks

    @smd2010:

    … if there is some way of over coming this problem I would be very grateful for any help.

    Yes, there is a way: only download WordPress Themes from trusted sources.

    The simplewpthemes site is a known-bad site, for exactly the reason you’ve observed: obfuscated code and a kill switch, all for the purposes of hiding/enforcing crappy spam links. (Oh, and just for good measure: usually the Theme has been modified from some (clean) original source.)

    Thread Starter smd2010

    (@smd2010)

    Has anyone over come this problem before, as I said I put quite a few hour work into this theme and really dont want to have to start all over!!

    Many people have run into this problem. By using crappy themes from evil sources. Your solutions are listed above. It has been edited to not allow you to overcome the problem. Each theme is different, and the way these people do their dshady work is different. There is no one way to fix it. We can’t really give a step by step. It may be quite difficult to do, not worth what you would need to pay someone.

    You may be able to find that exact theme from its original source by googling, and then reding your mods. as @chip stated, they usually jack themes, and do their evil. There is probably a clean version of that theme somewhere.

    I have seen themes that had one line of suspicious code in functions.php, I was able to delete it, and the theme worked. It may be that simple, or far more complex

    Thread Starter smd2010

    (@smd2010)

    Hi voodoo,

    Thanks for your time on this.

    If I post my functions.php, header.php and footer.php file could you take a quick look and advise me on which lines of code to delete?

    I understand what @chip and yourself are trying to tell me however the theme seems perfect for my needs the only problem I have is this footer issue!!

    you can post the code in a pastebin (pastebin.com)

    and report the link here. Don’t post the code here, it’ll be deleted, per forum rules only 10 lines of code should be posted on the forums, or it gets too messy

    Somebody may be able to help you. Again, this kind of stuff may be complex, and would often cost money. So no promises!!

    Thread Starter smd2010

    (@smd2010)

    Thanks again, here is the code as follows:

    functions.php: https://pastebin.com/pFbTPJ3U

    header.php: https://pastebin.com/tj9dEsQN

    footer.php: https://pastebin.com/t0UVrdhm

    https://www.ads-software.com/support/topic/theme-decoding-thread?replies=33
    https://www.ads-software.com/support/topic/how-to-decrypt-an-encoded-theme?replies=3

    So in functions.php, lines 10-14, and 40 are the suspect codes

    Maybe you can just delete that stuff and see what happens

    Otherwise, you can try decoding it, or asking for help in those above threads.

    Sometimes you can delete the crap, and be done with it, other times you need to decode it and see exactly what is going on

    Also, line 1 in header.php needs to go, and line 28 needs to be edited to just be the wp_head call

    I am really not sure you would be able to get this thing working right

    And again, with all the obfuscated crap I see, you have no idea what’s going on. It could be back doors into your site, tracking, anything….

    @rev. Voodoo may offer to help, but as a matter of principle, I won’t. I will not encourage or facilitate people getting crappy Themes from dodgy sources.

    That said: if you can let me know what the Theme Name is, I can try to help you find the original, un-crappified Theme.

    @chip, that truly is the better option!

    Thread Starter smd2010

    (@smd2010)

    Hi Guys,

    Sorry for not replying I had to pop out for a while.

    @rev. Voodoo I will try what you have suggested thank you.

    @chip thanks for offering to find the original, un-crappified Theme for me the theme is Calenotis Magazine.

    @chip thanks for offering to find the original, un-crappified Theme for me the theme is Calenotis Magazine.

    Unfortunately, it appears that the original version of this Theme is the crappified version. And after that little trip through the Mos Eisley of Google searches, I think I need to go take a shower. ??

    Thread Starter smd2010

    (@smd2010)

    Thanks for all your help guys it really is appreciated..

    It seems the advise Rev.Voodoo gave seem to have worked, but will most probably change the theme on your advice @chip.

    Many thanks guys.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Editing footer kills my theme!!’ is closed to new replies.