• Hi I just bought this theme:
    http://themeforest.net/item/perception-premium-wordpress-theme/full_screen_preview/109367

    And i want to remove the content and sidebar on the first page.

    I dont know where to do the editing. is it in index.php or is it in the themes homepage.php

    Should I comment out the divs? Or do I have to do anything else. It seems that removing the divs the content stay there anyway.

    I am in a bit of a hurry and will meet the guy who will have the page tomorrow, so if anyone here could give me a hint how to do it i would be grateful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You want to use index.php

    Basically anything that you want on the first (home) page wrap in:

    <?php if (is_front_page()) { ?>
    
    // Your content here. HTML code and what not
    
    <?php } ?>

    then you would add content for other pages in this code:

    <?php if (!is_front_page()) { ?>
    
    // Content for other pages
    
    <?php } ?>

    Now, that’s very basic, but should give you a good starting point.

    Thread Starter lagstrom

    (@lagstrom)

    Thanks, i’ll try that

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove/comment out content and sidebar on frontpage’ is closed to new replies.