post offset
-
Hi, Thanks for your great plugin.
my question is: is there any way to have post offset? Start the count with an offset?
Thanks a lot
-
Explain offset just to make sure.
offset means start showing post not from the first post: for example :
[netsposts include_blog=’1′ days=’30’ taxonomy=’news’ list=’5′ offset=”5″]
means the plugin will start showing from the 6 in the gategory news. so will ignore first 5 posts .
ThanksSo if you have taxonomy=’news,books’ both would start from the 6th?
Show me the url please. Want to see if I can do something similar using css.
-
This reply was modified 7 years, 5 months ago by
johnzenausa.
@mkmazid Please don’t flag your own posts for modlook unless there’s an issue that requires an admin (and no, not having an answer to your question does not require an admin).
Hi johnzenausa,
i’m not agree with the CSS rule, I was wondering if for the single taxonomy there is a way to have offset, this would be a great option to use this plugin and restyle it as below:Okay I’ll look in to it. Maybe in the next update.
Did you want to be able to offset different taxonomies separately on the same list?
i would suggest below with one example:
[netsposts include_blog=’1,2,5′ taxonomy=’news,entertainments’ list=’10’ offsets=’3,4′] WILL DO :
list of 10 posts blog #1,2,5 in news,entertainments where the pluging will ignore first 3 posts for texonomy news AND ignore first 4 posts for texonomy entertainments .
I think the offset concept would have more reason with the single taxonomy and blog 🙂
realizing this feature will make this plugin even more efficient.
ThanksIt will be implemented in the next update.
Hi johnzenausa, This a great news ! may I ask you when will be approxpoly released?
ThanksI have two other projects right now so I’m looking at 30 days.
Sorry about the delayed response but I forgot I had this feature already. I’ll have to add the explanation to the readme.txt file.
There are two attributes for the offset.
number_latest_x_posts_excludedwhich includes offsetting the latest posts from any category. So if you have
number_latest_x_posts_excluded='3'it will not show the three most recent posts.The second argument is
exclude_latest_x_posts_from_categoryso you may specify a category/taxonomy. So if you wanted to skip the three most recent posts from taxonomy “books” you would do so as follows:
[netsposts taxonomy='books' exclude_latest_x_posts_from_category='books' number_latest_x_posts_excluded='3'].-
This reply was modified 7 years, 4 months ago by
johnzenausa. Reason: Forgot back tick
-
This reply was modified 7 years, 4 months ago by
johnzenausa.
I redid the offsets as follows:
Yes you now can with the following two arguments. 1) taxonomy_offset_names=” and 2) taxonomy_offsets=”. So for example if you wanted to offset three different categories it would look like so:
[netsposts taxonomy_offset_names='books,flowers,sports' taxonomy_offsets='5,4,10']then books would be offset by 5, flowers 4, and sports 10.Hi johnzenausa and Thank you very much for making your plugin even more fantastic. i am going to test these configurations and will come back here with feedbacks.
RegardsIf there are any errors please let me know asap.
-
This reply was modified 7 years, 5 months ago by
The topic ‘post offset’ is closed to new replies.