WordPress.org

Ready to get started?Download WordPress

Forums

Paginating Custom Post Type via Shortcode (1 post)

  1. andymacleod
    Member
    Posted 1 year ago #

    Hi,

    I'm creating my own forum plugin (primarily as a php/WordPress API learning exercise). The plugin inserts forums via a [forums] shortcode. It was going well, but I've hit a couple of snags... One is pagination.

    Inserting a custom post type via a shortcode seems to break the normal pagination. This approach by Chris Coyier (for example), doesn't seem to work:

    http://css-tricks.com/snippets/wordpress/paginate-custom-post-types/

    Any ideas how I could adapt Chris Coyier's code to get the pagination to work?

    Your help would be much appreciated!

    Andy

Topic Closed

This topic has been closed to new replies.

About this Topic