WordPress.org

Ready to get started?Download WordPress

Forums

CPT-onomies: Using Custom Post Types as Taxonomies
Archive Pages with Pagination and permalink help (8 posts)

  1. Julian Guy
    Member
    Posted 1 year ago #

    Hello,

    I've just taking a look at this plugin and it does some very useful things but i'm struggling to get it to do precisely what I want.

    I have need a site to have "Artists", each artist has "News", "Videos" and "Photos". I have made "Artists" into a CPT-onomy for "News", "Videos" and "Photos" but can't get permalinks to work as I want. I'm after this:

    /videos = all videos
    /photos = all photos
    /news = all news
    /artists = all artists
    /artists/artist-slug = all video, photo or news content set to be from that artist
    /artists/artist-slug/page/2 = more results of all content for that artist
    /artists/artist-slug/videos = videos for a specific artist
    /artists/artist-slug/videos/page/2 = more results of all content for that artist

    I'm sure this is easy to achieve with this plug in but i've had no joy so far. I want all video permalinks to be like /artists/artist-slug/videos/video-slug

    Any help appreciated.

    Kind regards
    Julian

    http://wordpress.org/extend/plugins/cpt-onomies/

  2. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    Do you still need help with this?

  3. Julian Guy
    Member
    Posted 1 year ago #

    Hi Rachel,

    Yes I have most of it working but not sure how to get the pagination working for these kind of links:

    /artists/artist-slug/videos = videos for a specific artist
    /artists/artist-slug/videos/page/2 = more results of all content for that artist

  4. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry. I know a thing or two about rewrites and custom permalinks and such but I don't know too much about pagination. :/

  5. Julian Guy
    Member
    Posted 1 year ago #

    Ok Rachel, thanks for replying! I'll let you know if I crack this :)

  6. KeyWestReactor
    Member
    Posted 9 months ago #

    I'm encountering this issue and wondering if any further explanation is available. To redescribe the problem:

    With a "normal" taxonomy, I can look at a category, e.g. "island-voices":
    http://thebluepaper.com/category/column/island-voices/
    Since there are more posts in the category than the Settings value for "Blog pages show at most" (i.e., 10), the "Page 1 of 2" control shows up at the bottom and I can use it to proceed to the next older set of posts with the "2" button (which links http://thebluepaper.com/category/column/island-voices/page/2/ ).

    With a CPT-onimy "Folder" that happens to have (in this case) the same posts assigned to it, you view that folder here:
    http://thebluepaper.com/folders/island-voices/
    Again, more posts for this folder than the 10 limit so the paging control shows up at the bottom. I use the "2" button (which links http://thebluepaper.com/folders/island-voices/page/2/ ) to try to go to the next older set of posts.

    But what shows up in that case is just a repeat of the same 10 posts.

    I haven't dug into WordPress code enough, yet, to know if this is a CPT-onomies code problem or a configuration problem or what. But it's not working as expected....

  7. KeyWestReactor
    Member
    Posted 9 months ago #

    The examples in the post above won't illustrate the problem now, because I had to get this "fixed" quickly for the customer. My band-aid is to set the posts-per-page to 30 for now (works for existing content on the site). I'd still very much like to correct the underlying code before that 30 is not enough to include the entire archived CPT-onimy set.....

  8. Rachel Carden
    Member
    Plugin Author

    Posted 8 months ago #

    I'm having some issues with my test environment so I can't test this out right now but this might be something on my end. I'll look into it as soon as I can. Thanks for being patient. Glad you were able to get a workaround in the meantime.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.