WordPress.org

Support

Support » Plugins and Hacks » Paginating Custom Post Type via Shortcode

Paginating Custom Post Type via Shortcode

  • andymacleod
    Member

    @andymacleod

    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

  • The topic ‘Paginating Custom Post Type via Shortcode’ is closed to new replies.