• Hi,

    I am working on a wordpress blog website. On that website is a lot of news, but I have a problem.

    Is it possible to show 3 short-story posts and after that only the title of the posts (clickable)?

    Thanks in advance.

    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • hey joost,

    you have a couple of possibilities, but the easiest way i can come up with is setting your posts per page to 3 (maybe with the [more] tag) and then list the rest of the posts in a different div

    but there might be plugins around who already offer this functionality

    Thread Starter joost1991

    (@joost1991)

    Hi gen1ux,

    I know that’s a possibility, but you probally will get double posts.

    Hopefully you could explain some other methods too?

    Joost

    What do u mean with double posts?

    If u mean the 3 ‘highlighted’ posts show up in the posts list, then u can simply use the query function for the list.

    e.g.

    display a list of posts, exluding the three first posts (the highlighted ones):

    query_posts(array("post__not_in" =>get_option("sticky_posts")));

    so if u make your first 3 posts sticky, they wont show up in the list

    edit: u can also apply this filter to specific categories, check out the codex

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Featured news more’ is closed to new replies.