greetings & salutations.
The folks i work for want me to replicate the functionality of this site in wordpress
http://maxartcreative.com/
my specific problem is replicating the sub-navigation found on a page like this:
http://maxartcreative.com/portfolio.php?id=348
Please note the sub-navigation, Portfolio, Bio, Multimedia, Red Carpet,
if you browse the site a bit, you'll notice that not all artists have a page for each of these.
but each artist has at least a portfolio
I've setup custom post types for each sub-navigation menu item, Portfolio, Bio, Multimedia, Red Carpet,
so some artists have all 4, others only have a few,
but each custom post type has the same name for each artist,
so for example, Megan Thompson has a custom post type Portfolio with her name as the title, and a custom post type for Bio also with her name as the title,
what i need to do is this:
in a custom post template, build a that sub-menu based on weather or not a custom post type with that name exists or not.
i really hope this makes sense, i'm going mildly crazy trying to get this to work. I've browsed the forums and run this by a few go-to ppl for WP but they can't figure out what i'm trying to do.
at this point i'm open to any other way to get this to work,
i realize trying to setup a custom query and return results based on custom post types all with the same name is wonky but i have to USER proof / make it as easy as possible.
I keep trying to run through what i want to do in my head,
Within a custom post template i need to query four custom post types for a name that matches the title of the current post (which is one of those custom post types),
then i have to see if there even is a custom post type with that name and build the sub menu with the permalink
here's the guts of what i've been beating on. of course it's busted.
http://wordpress.pastebin.com/7URpvu5i
at this point i'm open to any suggestions, especially an easier way to do it.
i do appreciate WP for what it does but i'm wholly visual and the semantics throw me.
oh yes, and of course thx to anyone willing to help me tackle this.