There’s two ways to go about it. The first is as follows:
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']
The second way is as follows:
You can also use 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.
Hence the first shortcode will include the argument list='1'
to only show the most recent post and the second argument would include number_latest_x_posts_excluded='1'
so it will exclude the most recent post and start from the 2nd most recent post.
-
This reply was modified 5 years, 2 months ago by
johnzenausa. Reason: Forgot to tell her about first shortcode