link to Staff Member page
-
So, I notice that in the admin, when you View Staff Member you get a page displayed using single.php.
Is there a way to set a template instead? (like :single-{posttype}.php)
What is the Staff Member post-type?
If so, are there template tags to pull in the other data fields? By default it only shows the image and the title. Can this be done with standard post-type template tags?
I’m trying to figure out a way of using Easy Fanybox’s iframe ability to show the Staff Member’s page when their image is clicked. (we’re already using Easy Fancybox for a few other things).
I guess I’d also need a [staff-page-url] tag too somehow, then.
I was thinking of using Easy Fancybox’s ability to show inline content instead, but it requires each hidden div to be shown to have a different ID, though I guess I could use the [staff-name-slug] for the div ID.
Just thought of that, but I’m curious if the iframe method described above would also work somehow with a custom template.
Thanks,
Michaelhttps://www.ads-software.com/extend/plugins/simple-staff-list/
- The topic ‘link to Staff Member page’ is closed to new replies.