• Im using the adhesive plug in..

    I want to know if there is a way to get only the sticky to show up on the index page and not other post w/o going into the reading options and changing the Show at most to only 1

    hope that makes since lol

Viewing 6 replies - 1 through 6 (of 6 total)
  • The plugin is setup to show it automatically at the top of the Front Page and only in the category the post belongs to. So if you have it stored in category A and B, on the category view for C, you won’t see it, but you will when viewing A and B.

    hbalagh: the sticky posts plugin works by pushing the sticky posts to the very top of the posts loop. If you want only a sticky post to show on your front page you may need to make a custom post query.

    Unless I’m misunderstanding you, saying show 1 posts in options should do what you want. Why don’t you want to do that?

    Thread Starter hbalagh

    (@hbalagh)

    I want more then 1 post to show when viewing post (like 3 post) but on the index page i only want to show the sticky post…

    Best to create a custom index page, I’d guess. The ‘sticky’ approaches all just change the ordering of the master posts list. You want a custom front page that only shows posts marked as sticky, which requires more than any of the plugins can (easily) do as written…

    -d

    Thread Starter hbalagh

    (@hbalagh)

    davidchait

    would you know off hand how to do this. i really don’t know php i just do lots of copying and pasting im just starting to learn some of what stuff means lol…

    Thread Starter hbalagh

    (@hbalagh)

    never mind davidchait i got it working using this

    <?php if (is_home()) {
    query_posts('posts_per_page=1');
    }?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adhesive (sticky) on home page’ is closed to new replies.