Hi,
I am trying to accomplish a few things here in one page:
a.) to display posts based on Categories, example cat=5 , or category = Teacher
b.) Have the blogs displayed with offset, “Most recent” in first column, “2nd most recent” in the second column” and “3rd most recent”in the third column. I know carousel does part of this, we prefer the static ones.
c.) Display remainder post in as “Recent Post” and Archives
I managed the filter by category but didnt managed to:
1. get the offset to work for the second and third column
2. display remainder posts, filtered by category.
Previously I managed to achieve it by “query_posts(‘posts_per_page=5&offset=1’);” but it didnt seemed to work when now.
Hi Lee
The Carousel Widget would be the best bet here. Arguments like cat=1 or cat=1,2,3,4 would pull category ID’s for you. The widget’s additional field can be used for this. Remember to just say cat=x, don’t include query_posts. Posts per page is a widget setting so you don’t need that. I’ve never tried offset, you could try: cat=1&offset=1 and see if that works.
Thanks Andrew,
THe “cat=1&offset=1” you suggested worked :)
Do you think i can apply filters like cat=1 for
a.) Recent Posts
b.) Archives
Super, glad that did the trick.
Not quite following there. Yes, it’s possible to filter the built in Archive pages but it would require a child theme and creating your own loops in template files, it’s a custom development level task.
Thanks Andrew,
I will try the child theme and let u know again (probably in a new thread) :) Have a good day
thanks for the great support
For sure, you too.