Support » Plugins » Hacks » Permalink with arbitrary info?

  • I need a permalink ninja! Let’s say I have 2 custom post types authors and books. Within books I have a custom field, which let’s you set the author of the book. In an ideal world, author would just be a taxonomy for books, but I needed a lot more robustness for authors than the normal taxonomy features in wordpress will allow, so I had to make it a custom post type to take full advantage of all the “post” features. Additionally author had to have a whole lot of it’s own taxonomies… anyway.. all that works. Yay.. Great.. the problem is… I need to find a way to hack the author into the permalinks for the books… crap. I tried and I just don’t have the chops. The whole rewrite rules code makes me dizzy. I feel like this should be possible… I’m just too dizzy… so what I’m looking for is:

    http://www.mysite.com/books/j-r-r-tolkien/return-of-the-king/

    the j-r-r-tokien part is from the custom field in the book custom post type… get it?

    Please help! If you are out there, secret permalink ninja, and can solve this, I’ll definitely throw you a bone!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalink with arbitrary info?’ is closed to new replies.