• Resolved mkmazid

    (@mkmazid)


    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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    Explain offset just to make sure.

    Thread Starter mkmazid

    (@mkmazid)

    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 .
    Thanks

    Plugin Author johnzenausa

    (@johnzenausa)

    So 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 6 years, 2 months ago by johnzenausa.
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    @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).

    Thread Starter mkmazid

    (@mkmazid)

    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:

    https://screenshot.net/wkmq1s8
    Thanks

    Plugin Author johnzenausa

    (@johnzenausa)

    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?

    Thread Starter mkmazid

    (@mkmazid)

    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.
    Thanks

    Plugin Author johnzenausa

    (@johnzenausa)

    It will be implemented in the next update.

    Thread Starter mkmazid

    (@mkmazid)

    Hi johnzenausa, This a great news ! may I ask you when will be approxpoly released?
    Thanks

    Plugin Author johnzenausa

    (@johnzenausa)

    I have two other projects right now so I’m looking at 30 days.

    Plugin Author johnzenausa

    (@johnzenausa)

    @mkmazid

    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_excluded

    which 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_category so 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 6 years, 1 month ago by johnzenausa. Reason: Forgot back tick
    • This reply was modified 6 years, 1 month ago by johnzenausa.
    Plugin Author johnzenausa

    (@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.

    Thread Starter mkmazid

    (@mkmazid)

    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.
    Regards

    Plugin Author johnzenausa

    (@johnzenausa)

    If there are any errors please let me know asap.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘post offset’ is closed to new replies.