Forums

Remove footer code (20 posts)

  1. leylap
    Member
    Posted 1 year ago #

    Hi

    Can someone please take a look at http://www.motherhooddiaries.com and tell me how to remove the footer code where it says:

    "Blog by WordPress | Free Theme Provided by globe wordpress themes and Sponsored by credit reporting"

    Thanks so much guys

    Leyla

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    You may have a bit of a problem, seeing as how your theme has that sponsored link

    Normally you just edit footer.php to remove/replace what you want in the theme

    But some themes have an encoded footer which prevents you from removing sponsored links.

    It's not that you aren't allowed to remove the links, you definitely are. Just some 'shadier' themes have checks built into the theme which break the theme if you try to edit it.

    My suggestion is to look at footer.php in your theme and see if yu can figire out what to edit. If it's encoded and you can't edit it, I'd recommend getting your themes from more reputable sources so that you can easily edit them

  3. claire012
    Member
    Posted 1 year ago #

    You should be able to edit/remove the link from your theme's footer.php file.

  4. leylap
    Member
    Posted 1 year ago #

    Ok thanks for the tip. I've looked and I can't find it, so I guess it's a 'shady' theme :-(

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    It's possible.... what was in your footer.php, just a bunch of encoded stuff?

    something like eval and then a seemingly random string of letters/numbers?

  6. leylap
    Member
    Posted 1 year ago #

    Yeah exactly! It looks like a bunch of letters :-(

  7. leylap
    Member
    Posted 1 year ago #

    Thanks everyone and Since83 who I can't see on there. So it is possible to remove bad code without breaking the theme? Am i able to 'hide' the code somehow?

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    Yeah, it may be impossible to edit

    If you look over on the themes section of this forum, up at the top in the stickies, there is a decoding thread, where they tell you how to decode that stuff, and volunteers also decode themes

    But my experience has been that usually there is a function built into themes like this that checks for edits.

    Basically, it turns it into a fair bit of coding to remove the links. Probably far more effort than its worth.

    If you want to get rid of the links, it may be best to get a reputable theme, and go from there. There's no reason to have other people freeloading links on your site in my opinion.....

  9. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    <p class="page-footer">

    is the div that displays those links, so you can hide them by adding

    .page-footer {
          display: none;
    }

    to your style.css

  10. leylap
    Member
    Posted 1 year ago #

    Thanks for the tip and the code. I guess they just want people to know it's their theme, which i understand. Really, I'm freeloading off their theme...

    Thanks again for your help, really appreciate it :-)

  11. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    It's just hard to tell what all that theme is doing.

    If they are dropping in links, and making the theme impossible to edit, what other functions are going on in there? Do they give a backdoor into your site? Do they create security issues? etc.

  12. leylap
    Member
    Posted 1 year ago #

    Since83 - I can't see your posts on here, but I'm getting the emails though. I've just registered with WPwisdom now. :-)

  13. WizBit1505
    Member
    Posted 1 year ago #

    IMO it shows gratitude by giving a link to the person that created the theme.

    In this case the guy has been smart by forcing you to give a link or you can't use the theme, which was probably given to you for free.

  14. leylap
    Member
    Posted 1 year ago #

    Since83 - It says I'm not allowed to create a new post on WPwisdom, but I'm still waiting for the validation email, which hasn't been sent to me yet.

  15. leylap
    Member
    Posted 1 year ago #

    Ok done Since83

  16. ClaytonJames
    Member
    Posted 1 year ago #

    @WizBit1505

    Funny. I read that as saying the guy has been smart in this case by "forcing you to show gratitude".

  17. leylap
    Member
    Posted 1 year ago #

    Lol the theme was free. I'm getting the vibe here that people that create free themes shouldn't leave their stamp on it. Why do you think that?

  18. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    It's fine to code in a link for yoursself.... I code a link to my website in my themes

    But it's against the spirit of the GPL and open source in general I feel, to obfuscate the code

    When you make an open source product, people are free to modify the product as they see fit, within the terms of the GPL license

    You will not see any theme offered from WordPress, or from any reputable theme distributer engaging in such behaviour

  19. leylap
    Member
    Posted 1 year ago #

    That's because WordPress is awesome and allows beginners like me to have a shot at creating their own website.

  20. FYI, the reason you want to decode that stuff and not JUST remove it is that sometimes the dev will put in hooks so that IF you remove it, your theme will stop working. Or maybe that's actually NOT what's causing the link to show up :/

    It's a 'know your enemy' thing. Always know what you're removing :)

Topic Closed

This topic has been closed to new replies.

About this Topic