Removing Homepage Features

Discussion in 'BizWay WordPress Theme' started by pupwild, Mar 22, 2013.

  1. pupwild

    pupwild Member

    Joined:
    Jan 11, 2013
    Messages:
    126
    Likes Received:
    0
    I would like to know how to remove the Homepage Feature sections.
     

    Attached Files:

  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .main-content {
    display: none;
    }
    .main-content-container {
    margin-top: 10px;
    padding-bottom: 0;}
     
  3. pupwild

    pupwild Member

    Joined:
    Jan 11, 2013
    Messages:
    126
    Likes Received:
    0
    Thanks! Now if I remove the homepage features, is any previous text still visible to search engines? For instance, when I do a search on a keyword, will google pull the keyword from my old homepage feature?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Yes, google will pull the keyword from your homepage feature if any one search on it for this keyword.

    If you want to hide your home page feature content from the google search then you have to follow the steps given below.
    1. Go to the front-page.php file present in your theme directory.
    2. Remove the code given below from the line number 190 t0 260 of front-page.php file.
    Code:
    <div class="main-content">
        <div class="grid_sub_8 sub_alpha">
        <div class="page-item first-item view view-ninth">
        <?php if (inkthemes_get_option('inkthemes_firsthead') != '') { ?>
            <a href="<?php echo inkthemes_get_option('inkthemes_link1'); ?>"><h1><?php echo stripslashes(inkthemes_get_option('inkthemes_firsthead')); ?></h1></a>
            <?php } else { ?>
        <a href="#"><h1>We are the future</h1></a>
        <?php } ?>
       
       
        <?php if (inkthemes_get_option('inkthemes_featureimg1') != '') { ?>
                <a href="<?php echo inkthemes_get_option('inkthemes_link1'); ?>"><img class="effect" src="<?php echo inkthemes_get_option('inkthemes_featureimg1'); ?>"/></a>
                <div class="mask mask-1"></div>
                        <div class="mask mask-2"></div>
                <?php } else { ?>       
               
        <a href="#"><img class="effect" src="<?php echo get_template_directory_uri(); ?>/images/img1.png" /></a>
       
        <?php } ?>
          <?php if (inkthemes_get_option('inkthemes_firstdesc') != '') { ?>
                        <p><?php echo stripslashes(inkthemes_get_option('inkthemes_firstdesc')); ?></p>
                    <?php } else { ?>
                        <p>Slider in the Header. It comes different Color Schemes red, green, blue, brown, pink, black, orange. Hello this design comes.</p>
                    <?php } ?>
        </div>
        </div>
        <div class="grid_sub_8 sub_middle">
        <div class="page-item item-two view view-ninth">
        <?php if (inkthemes_get_option('inkthemes_secondhead') != '') { ?>
            <a href="<?php echo inkthemes_get_option('inkthemes_link2'); ?>"><h1><?php echo stripslashes(inkthemes_get_option('inkthemes_secondhead')); ?></h1></a>
            <?php } else { ?>
        <a href="#"><h1>We are the future</h1></a>
        <?php } ?>
       
       
        <?php if (inkthemes_get_option('inkthemes_featureimg2') != '') { ?>
                <a href="<?php echo inkthemes_get_option('inkthemes_link2'); ?>"><img class="effect" src="<?php echo inkthemes_get_option('inkthemes_featureimg2'); ?>"/></a>
                <?php } else { ?>       
               
        <a href="#"><img class="effect" src="<?php echo get_template_directory_uri(); ?>/images/img2.png" /></a>
        <?php } ?>
          <?php if (inkthemes_get_option('inkthemes_seconddesc') != '') { ?>
                        <p><?php echo stripslashes(inkthemes_get_option('inkthemes_seconddesc')); ?></p>
                    <?php } else { ?>
                        <p>Slider in the Header. It comes different Color Schemes red, green, blue, brown, pink, black, orange. Hello this design comes.</p>
                    <?php } ?>
        </div>
        </div>
        <div class="grid_sub_8 sub_omega">
        <div class="page-item last-item view view-ninth">
          <?php if (inkthemes_get_option('inkthemes_thirdhead') != '') { ?>
            <a href="<?php echo inkthemes_get_option('inkthemes_link3'); ?>"><h1><?php echo stripslashes(inkthemes_get_option('inkthemes_thirdhead')); ?></h1></a>
            <?php } else { ?>
        <a href="#"><h1>We are the future</h1></a>
        <?php } ?>
       
       
        <?php if (inkthemes_get_option('inkthemes_featureimg3') != '') { ?>
                <a href="<?php echo inkthemes_get_option('inkthemes_link3'); ?>"><img class="effect" src="<?php echo inkthemes_get_option('inkthemes_featureimg3'); ?>"/></a>
                <?php } else { ?>       
               
        <a href="#"><img class="effect" src="<?php echo get_template_directory_uri(); ?>/images/img3.png" /></a>
        <?php } ?>
          <?php if (inkthemes_get_option('inkthemes_thirddesc') != '') { ?>
                        <p><?php echo stripslashes(inkthemes_get_option('inkthemes_thirddesc')); ?></p>
                    <?php } else { ?>
                        <p>Slider in the Header. It comes different Color Schemes red, green, blue, brown, pink, black, orange. Hello this design comes.</p>
                    <?php } ?>
        </div>
        </div>
        </div>  
    After few days the content of homepage feature of your website will remove automatically from the google search directory.
     

Share This Page