Support » Plugin: Posts in Page » limiting the amount of post that happens from a tag

  • Resolved fitsydwag


    How do i limit the number of post that appears for tags, example at the minute I use the [ic_add_posts tag=’education’} where education is the tag.
    I have all of the post that’s tag with education appearing on my page, I only want the latest 4 post for the education tag appearing.

    Please can you tell me how I can do this.. thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • tried [ic_add_posts tag=’education’ showposts=’1′] and it doesn’t work..

    Plugin Author ivycat


    Hello fitsydwag,

    What isn’t working for you? I threw posts in page on a dev site of ours, created two posts with the tag “education” and used your shortcode and it showed one of the education posts only. Which is what is expected, correct?

    Are you getting errors, showing more than 1 post, etc?

    Hi thanks for getting back so fast, I am not getting any errors, just showing all of the post for some reason, I can send you the link I am developing the page at minute…

    iam using [ic_add_posts tag=’education’ showposts=’1′]

    I did use you page the posts_loop_template in my theme using a featured image php script you gave some weeks ago. Would that be the reason?

    Plugin Author ivycat


    That page is using the [ic_add_posts tag=’education’ showposts=’1′] shortcode? It’s strange that it’s only pulling in posts tagged “apps” if that’s the case, if there was something broken, I think it’d show all posts.

    If the problem is only that shortcode is showing the whole post though, it could be that you’ll need to create another template file for it and change it so it uses the excerpt rather than the content.

    Thanks for that its the weirdest thing though if i use [ic_add_posts showposts=’1′] it will only show 1 post I am using the the default wordpress template, not my page template I made.

    but as soon as i put in a tag it shows all the post from that tag…?

    Thanks for you help…will see what I can do with some trial and errors to limit the tags.

    it works, just delted and started again and it works perfectly appreciate your time and help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘limiting the amount of post that happens from a tag’ is closed to new replies.