1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Remove Footer links in 'Tank' theme

Discussion in 'Blogging' started by qwerdy, Mar 6, 2013.

  1. qwerdy

    qwerdy Newbie

    Joined:
    Apr 19, 2012
    Messages:
    37
    Likes Received:
    21
    I'm using the Tank theme from SMThemes for Wordpress and I need to remove the footer links, but they have some kind of protection and I get an error saying "Please return following links to the footer."

    I've searched the forum and found some plugins but they do not remove the links, they only hide them, is it possible to remove them completely?
    Thanks for any help.

    Theme: It seems I cannot post links yet, if you search 'tank' on the smthemes website it's the only result.
     
  2. adamuss

    adamuss Newbie

    Joined:
    Apr 4, 2012
    Messages:
    8
    Likes Received:
    3
    It's possible.
    1. delete inks from bottom.php
    2. disable protection in smthemes.js
     
  3. qwerdy

    qwerdy Newbie

    Joined:
    Apr 19, 2012
    Messages:
    37
    Likes Received:
    21
    I have no idea how to disable the protection in smthemes.js though :/
     
  4. twitter.followers

    twitter.followers Elite Member

    Joined:
    Mar 23, 2011
    Messages:
    1,768
    Likes Received:
    2,208
    You will need to have a little knowledge of PHP to get the links removed. They might be encrypted either in the functions.php as well..
    Try doing a Google search and if the theme is popular enough, there would be other people asking for the same stuff and there might be answers(replies) to their problems as well.
     
  5. adamuss

    adamuss Newbie

    Joined:
    Apr 4, 2012
    Messages:
    8
    Likes Received:
    3
    tell me how and I will send you modified smthemes.js
     
  6. frazlol

    frazlol Newbie

    Joined:
    May 30, 2013
    Messages:
    4
    Likes Received:
    0
    I have the same problem with "fastsnail" theme any help would be appreciated
     
  7. vaurent

    vaurent Newbie

    Joined:
    Apr 20, 2013
    Messages:
    6
    Likes Received:
    1
    Occupation:
    Owner / Systems Engineer
    Location:
    Ashburn, VA USA
    Home Page:
    You guys will need to edit the bottom.php file inside the theme directory.

    Scroll down to line 40....

    Code:
    <div class='footer_txt'>            <div class='container'>
                    <div class='top_text'>
                    <?php
                        if ($SMTheme->get( "layout","footertext" )) {
                            echo $SMTheme->get( "layout","footertext" );
                        } else { 
                            ?>Copyright © <?php echo date("Y"); ?>  <a href="<?php echo home_url(); ?>"><?php bloginfo("name"); ?></a><?php
                            echo (get_bloginfo('description'))?' - '.get_bloginfo('description'):'';
                        }
                    ?>
                    </div>
                    <?php /* 
                        All links in the tag <div class='smthemes'> are attribution of the theme developers and should remain intact. 
                        It's protected by Creative Commons License (CCC).
                        Warning! Your site will not be able to work if these links are edited or deleted.
                        You can buy this theme without footer links online at ThemeURL/
                    */ ?>
                    <div class='smthemes'>Designed by <a href='fwpthemes'>High Quality WordPress Themes</a>, thanks to: <a href='fwpthemes' target='_blank'>Managed VPS</a>, <a href='fwpthemes' target='_blank'>Pregnancy</a> and <a href='fwpthemes' target='_blank'>Best free WordPress themes 2012</a></div>
                </div>
                </div>


    and take out a few lines...
    Code:
    <div class='smthemes'>YOUR TEXT HERE <a href='you address/' target='_blank'>YOUR TEXT HERE</a>, ETC: <a href='fwpthemes' target='_blank'>Managed VPS</a>, <a href='fwpthemes' target='_blank'>Pregnancy</a> and <a href=fwpthemes' target='_blank'>Best free WordPress themes 2012</a></div>
    Or simply just remove the entire line...