WP bug ... Make something NOT show up on front page??

Discussion in 'HTML & Website Design' started by gadgetpro, Jan 29, 2009.

  1. #1
    Hello all,

    I'm approaching the end of a very rigorous week of coding my newest site... www.hitechgadgetspro.com.

    I had the intention of having a Slideshow on the front page, and in the last couple of days, I've finally achieved just that. However, it shows up on every page, and I want it to ONLY show up on the home page...

    Does that mean I need to make my OWN plugin? I have no idea what to do... the effect I want it to have is shown for a tenth of a second when you click on a link from the navbar.

    Secondly, the title is for my second problem... :) I almost forgot. I do not want the WP loop on my home page, but rather a "latest Posts and "favorite posts" thing instead.
    Any advice on how to make the loop disappear, and any tips on certain plugins?

    Please help me,

    Thanks in advance

    PS: images are temporary...not actually ones I plan on using. :)
     
    gadgetpro, Jan 29, 2009 IP
  2. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #2
    to make your slideshow appear only at the frontpage try this

    edit your current template's index.php and find
    <div id="slide_wrap">
    HTML:
    and add before this code
    <?php if(is_home()) {?>
    PHP:
    next find
    <!--End of #slide_wrap-->
    HTML:
    add after this code
    <?php }?>
    PHP:
     
    Spawny, Jan 29, 2009 IP
  3. gadgetpro

    gadgetpro Peon

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you SO freakin much!
    Finally one less problem to solve!

    For the next question... would a static front page do the trick?
     
    gadgetpro, Jan 29, 2009 IP