treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Wordpress template

  • Hello everybody.

    I have one free beautiful theme which would eliminate footer links. So how i can to do it? I have attached the php files:

    footer.php:

        <?php
      // html code of the footer placed in bottom.php
    global $SMTheme, $return;
    if (!isset($_POST['smt_layout'])||$_POST['smt_layout']!=$SMTheme->layout) {
      ?> </div><?php
    }
    
    if ( isset($_POST['smt_layout'])) {
      $return['content']=ob_get_contents();
      $return['layout']=$SMTheme->layout;
      $return['sidebars_type']=$SMTheme->sidebars_type;
      ob_end_clean();
    }
    
    
    if(!isset($_POST['smt_layout'])){
      get_template_part('bottom');
    } else {
      header('Content-type: application/json');
      echo json_encode($return);
    }
    
  • Do you have a link? Just find out what the class or id is then:

    
    #copyright p {
    display: none;
    }
  • Did you check the bottom.php file? Also what theme are you using? I'm just setting up wordpress and right now I'm using Pinboard.

    It's hard to find a good theme that has sidebar content sidebar with fixed sidebars and a flexible content, and 100% width.