[Plugin: WP Page Numbers] Category Dependent Numbering?
-
OK – great plugin. I have been able to do some pretty fancy stuff with this – but what I would REALLY like is this:
I have categories – cat1, cat2, cat3 (etc) and I have a “most recent” section.
Where cat1 has 43 posts, cat2 has 17 and cat3 has 10.
That would mean that “most recent” would have a total of 60 posts, which is just too many for a “most recent” category, and we’re just getting started. Imagine after there is 500+ posts (not far off).
If I set the post limit to “10” for “most recent” then cat1 and cat2 will be truncated, while cat3 will be ok.
ANY ideas welcomed.
See what I mean?
I can do this with normal threaded wp post loop using
wp_query
and a conditional statement but since this does not use a db query I cannot figure out how to write a conditional for it and feed the value into your script.I would like to use
is_home()
to determine if it’s “most recent” category or not since we are using the home page to manage the “most recent” stuff and a static page as front page.https://www.ads-software.com/extend/plugins/wp-page-numbers/
- The topic ‘[Plugin: WP Page Numbers] Category Dependent Numbering?’ is closed to new replies.