• Is it possible to show the current post number?
    Something like:

    Page: 2 of 5.

    I’m using Post Link Plus to page through the custom post types from a particular custom taxonomy. I can provide further details if it’d be useful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ambrosite

    (@ambrosite)

    As currently written, no. The plugin contains two functions, next_post_link_plus and previous_post_link_plus, that output information about the next and previous posts. So it would be possible to do something like this:

    Previous Post: 1 of 5 | Next Post: 3 of 5

    However in order to output information about the current post (Current Post: 2 of 5), I would have to add a new function called current_post_link_plus. No one has ever requested anything like that before, and I think it is going a little outside the scope of what my plugin is intended to be used for. But if enough people think such a feature would be useful, I might try to add it in a future version of the plugin.

    Thread Starter andyy

    (@andyy)

    Thanks for such a quick reply Michael, that sounds fair enough. I think a way of showing current post position in the list would be a handy option but I understand if it’s not such a quick thing to do.
    Hopefully a few other people like the idea of that feature, it would be nice to see it in a future version ?? Andy

    Plugin Author ambrosite

    (@ambrosite)

    Apart from having to create a new function, the underlying database queries would also have to be rewritten in order to generate the paging information, so it is not a trivial fix. I would guess at least a half day to code, test, debug, and update the documentation. But like I said, I’ll add it to the pile of ideas for possible inclusion in a future update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Ambrosite Next/Previous Post Link Plus] echo Current Post number’ is closed to new replies.