Hey guys – First off, Brett – AWESOME plugin. Very well put together.
I too needed a link to a staff bio — and with a deadline hours away, I decided to dive in and modify some of your code. It’s a quick hack that fixed this for me.
I changed the Facebook URL to Staff Member URL. And used that entry for folks to enter a staff page URL.
In Admin-View.php I changed the Facebook URL Label to:
<label for="_staff-member-fb">Staff Member URL: <input type="text" name="_staff_member_fb" id="_staff_member_fb" placeholder="<?php if ($_staff_member_fb == '') echo ('Staff Member\'s URL'); ?>" value="<?php if ($_staff_member_fb != '') echo $_staff_member_fb; ?>" /></label>
Then, in the Template part of the Admin, I made the first line look like this:
<a href="[staff-facebook]"><img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]"></a>
Again, It’s a quick hack that I needed — and I owe all the credit to Brett.. kudos dude.
Great question! Anyone know the answer to this?