• Hello,
    I’m remodeling my site that I am going to submit to eBay. When I remove the spammy links in the footer it says “This is a sponsored theme – links must remain intact.” I am not trying to remove their credits but at the bottom of my site it has advertisements in my website so I just want to remove that so eBay doesn’t think the website looks “spammy” and won’t accept me.

    Anyways, whenever I edit anything in the footer like adding or removing – it kills the whole theme script and that’s what I think the functions.php is telling it to do if anyone even tries to edit the footer. My question is, how can I just edit my footer without this happening? If you want – you can look at my site at [letangledweb.com] to see what I am talking about.

Viewing 15 replies - 1 through 15 (of 15 total)
  • popper

    (@julialasarte)

    Hi there, it would help if we could see the code from footer.php, could you uplaod it to pastebin or give us a link to download the theme?

    Thread Starter cynthiawinters

    (@cynthiawinters)

    Hello. Sorry about that. Here is the embed code for the footer.php


    https://wordpress.pastebin.com/XiZn0BxF

    it looks plain to me. No functions, just html. Why would it behave that way?

    What if there was code somewhere else in the Theme that reads the footer.php to check for their own adds and then crashes things if the adds are missing? – the footer.php would be normal.

    popper

    (@julialasarte)

    yeah, seems pretty plain. Can you upload your index.php, header.php and sidebar.php?

    Thread Starter cynthiawinters

    (@cynthiawinters)

    Pastebin is down on WP so I put it on another Pastebin..

    Header.php: https://pastebin.org/250301

    Index.php: https://pastebin.org/250337

    Sidebar.php: https://pastebin.org/250342

    Try removing the first line of header.php.

    Thread Starter cynthiawinters

    (@cynthiawinters)

    Hello,
    I just removed the first line of the header.php and then went to edit the footer to take out some of those links. Anyways, I got the
    “This theme is sponsored, all links in the footer should remain intact” again. Really weird, I just can’t seem to figure it out.

    popper

    (@julialasarte)

    Hey there, It should work if you delete:

    <?php eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_s_sbbgre();')); ?>

    are you sure you deleted the whole thing? Also, check your functions.php for something along the lines of check_footer and check_header.

    Thread Starter cynthiawinters

    (@cynthiawinters)

    Thanks Julia
    I’m pretty sure I deleted everything. I did find a eval string in the function.php – if that even matters? I’m not quite sure what to do with it or If I am supposed to leave it. Here is the code for my functions.php

    Thread Starter cynthiawinters

    (@cynthiawinters)

    popper

    (@julialasarte)

    Hmh, erasing this:

    eval(str_rot13('shapgvba purpx_urnqre(){vs(!(shapgvba_rkvfgf("purpx_shapgvbaf")&&shapgvba_rkvfgf("purpx_s_sbbgre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}'));

    from functions.php, and the first line on the header.php:

    <?php eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_s_sbbgre();')); ?>

    should work.

    Can someone please help me with this same issue? It took me forever to find a theme I liked, but I don’t want to advertise android phones.

    This is the theme: https://newwpthemes.com/demo/Breza/

    thank you so much! this worked. Back in the day i had to pay someone to fix the theme after i “broke” it by removing the unsavory links at bottom. Those links stayed with me for almost 2 years so i dont feel so bad taking them off. Plus I am switching themes next week anyhow, just good to know how to do this.

    I am all have comments in html refer to the author etc… but not on the public viewable page… its not cool and can in most cases be unrelated to the content. and the org that has you making this site for them can get very upset if they see 3rd party links or references to.

    Authors need to stop this ridiculous practice and just stick to using HTML comments in the source .

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Removing footer kills theme’ is closed to new replies.