Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4983

    How do I remove the columns from the main page? I do not need this text and I do not wish to point it to any other content

    #48393

    Hey,

    open up index.php and delete following code:

    <div class="entry portfolio">

    <?php

    // placeholder content if "display by html" was choosen:

    $placeholder[1] = '<h3>WP Theme CleanCut</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco <a href="">laboris nisi</a> ut aliquip ex ea commodo conse. <a class="more-link" href="#">Read more</a></p>';

    $placeholder[2] = '<h3>Adobe Flash Videos</h3><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum <strong>dolore eu fugiat</strong> nulla pariatur.<br/> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<a class="more-link" href="#">Read more</a></p>';

    $placeholder[3] = '<h3>jQuery to the rescue</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse.
    quat. <a class="more-link" href="#">Read more</a></p>';

    $placeholder[4] = '<h3>Advanced Backend</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse.
    quat. <a class="more-link" href="#">Read more</a></p>';

    // this class generates the 4 boxes, either with backend content or the placeholder content above
    $k_option['mainpage']['mainpage_column'] = 4;
    $boxes = new kclass_display_box('mainpage','mainpage_column','Mainpage Column', $placeholder);
    $boxes-> prev_image($k_option['custom']['imgSize']['M']);
    $boxes-> setClass('one_fourth');
    $boxes-> display();

    ?>

    <!--end enty -->
    </div>

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Remove Main Page Columns’ is closed to new replies.