How to only display posts in the slider

  • Anonymous

    #4062

    I would like to only display posts in the slider. In Settings/Reading/ I tried to set “Blog pages show at most” 0 Posts. But it defaults to 1 post. Is there away to only show my posts in the slider. I don’t want the 1 post showing up under the slider.

    Thanks,

    Rick

    Mod

    Kenneth John Odle

    #27110

    Wow, I’m confused already. But I think that you mean you want the front page to show only the slider, with nothing below it — no front page content, no posts, no post excerpts, right?

    You will need to hide that page content using some custom CSS. It’s impossible to tell you the exact code without seeing your site, however, so I’ll give you a couple of hints:

    1) Use Firebug.

    2) Read this: http://blog.kjodle.net/2012/02/24/styling-wordpress-posts-pages-archives-and-home-pages-by-class/

    then use code like this in your custom CSS or child theme stylesheet:

    .home #post-371 {display:none;}

    Your actual code will include a number other than ‘371’. You’ll need those two clues above to figure out what it is. If you have trouble figuring it out, post a link.

    Cheers,

    Ken

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

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!