Can anyone suggest a good plugin-based, as opposed to template or theme-based, solution for the following that doesn't rely on shortcodes?
I have a plugin that creates a custom post type and four custom taxonomies.
The custom post type has the
The custom taxonomies have the following slugs:
My question is, how do I get the following URLs to show my custom content IN TABLE FORM without messing with custom templates or shortcodes?
/songs - show a table of all songs in the database sorted by song name
/songs/<song-name> - show a table of data connected to this song
/songs/genres - show a table of all genres in the database sorted by genre name
/songs/eras - show a table of all eras in the database sorted by era name
/songs/venue - show a table of all venues in the database sorted by venue name
/songs/artists - show a table of all artists in the database sorted by artist name
/songs/genres/<genre> - show a table of songs, sorted by name, with this genre
/songs/eras/<era> - show a table of songs, sorted by name, with this era
/songs/venue/<venues> - show a table of songs, sorted by name, with this venue
/songs/artists/<artist> - show a table of songs, sorted by name, with this artist
Example table I'd like on every page:
Song Name | Artist | Genre | Era | Venue -------------------------------------------- song1 | artist1 | genre1 | era1 | venue1 song2 | artist2 | genre2 | era2 | venue2
I've figured out how to do this using custom templates, but these templates won't work with all themes. The custom templates would have to be re-coded for any theme other than the one I'm using for development.
In my reading on this issue, I've come to understand that it's not a good idea to put design code into plugins. But, if this is the case, how can I be sure my custom content gets displayed appropriately across many different themes? I think what I'm missing is how custom post types and custom taxonomies can be portable across themes.
If I haven't provided enough information, let me know what more I need to share.