Forums

Removing footer kills theme (16 posts)

  1. cynthiawinters
    Member
    Posted 2 years ago #

    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.

  2. popper
    Member
    Posted 2 years ago #

    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?

  3. cynthiawinters
    Member
    Posted 2 years ago #

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


    http://wordpress.pastebin.com/XiZn0BxF

  4. AxelYa
    Member
    Posted 2 years ago #

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

  5. Saildude
    Member
    Posted 2 years ago #

    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.

  6. popper
    Member
    Posted 2 years ago #

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

  7. cynthiawinters
    Member
    Posted 2 years ago #

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

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

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

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

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try removing the first line of header.php.

  9. cynthiawinters
    Member
    Posted 2 years ago #

    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.

  10. popper
    Member
    Posted 2 years ago #

    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.

  11. cynthiawinters
    Member
    Posted 2 years ago #

    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

  12. cynthiawinters
    Member
    Posted 2 years ago #

  13. popper
    Member
    Posted 2 years ago #

    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.

  14. leighangela
    Member
    Posted 1 year ago #

    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: http://newwpthemes.com/demo/Breza/

  15. norahall
    Member
    Posted 1 year ago #

    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.

  16. ackros
    Member
    Posted 1 year ago #

    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 .

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.