Forums

Simple Staff List
Can you have href on staff image or div tag to bring user to a full bio page? (12 posts)

  1. bretcj7
    Member
    Posted 3 months ago #

    Love the plugin and it does exactly what i need. I just need the image of the staff member or the div row if you click on the staff's name to go to a page specifically for the staff member, like a link to a full member bio page.

    Is this possible? I can modify the code if needed

    http://wordpress.org/extend/plugins/simple-staff-list/

  2. heystuart
    Member
    Posted 3 months ago #

    This plugin is great!

    I'd like to see this functionality as well. Maybe a short code for full bio url or maybe just the slug so we can do something like:

    <a href="http://www.site.com/staff-member/[staff-name-slug]" title="[staff-name]"><img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name]"></a>
    
    <a href="http://www.site.com/staff-member/[staff-name-slug]" title="[staff-name]">Read More</a>
  3. bretcj7
    Member
    Posted 3 months ago #

    Thats right, something like that would be great. I could hard-code the url for the href on the image but i rather not do that or every staff member that is added would have to be manually adjusted.

    Here is my current work in progress implemntation without the href on images.

    http://madeupbylindsay.com/new/headliner-djs/

  4. Brett Shumaker
    Member
    Plugin Author

    Posted 3 months ago #

    Hey guys! Glad you like my plugin! It's awesome to see how it's being used.

    That being said, the ability to view a single staff member will probably make it into the next version of the plugin. I just haven't written it yet.

    But it shouldn't be too difficult to implement. If you give me a couple weeks I think I can have a working version of this.

    Again, thanks for using Simple Staff List!

  5. heystuart
    Member
    Posted 3 months ago #

    Would you create shortcodes for the staffs name slug?

    Do you have a shortcode already for the excerpt?

    Thanks for your fast response times!

  6. heystuart
    Member
    Posted 3 months ago #

    Awesome, great work Brett! Looking forward to your update.

  7. Brett Shumaker
    Member
    Plugin Author

    Posted 2 months ago #

    @heystuart The latest update adds the [staff-name-slug]

  8. bretcj7
    Member
    Posted 2 months ago #

    @Brett - sounds good man, let me grab the latest update and give it a try!

  9. bretcj7
    Member
    Posted 2 months ago #

    Can you give me an example of how you are using this? I got the newest version but must be doing something wrong. It doesn't seem to be re-writing the name-slug value.

  10. Brett Shumaker
    Member
    Plugin Author

    Posted 2 months ago #

    You should just be able to use the [staff-name-slug] template tag to pull in that value.

    Here's how I'm using it on my test site:

    [staff_loop]
    	<div rel="show-staff" class="[staff-name-slug]"><img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]"><br />
                    <span class="vis-staff-name">[staff-name]</span>
            </div>
    	<div class="staff-member-info-wrap" id="[staff-name-slug]">
    		[staff-name-formatted]
    		[staff-position-formatted]
    		[staff-bio-formatted]
    		[staff-email-link]
    	</div>
    [/staff_loop]
  11. juliekuehl
    Member
    Posted 1 month ago #

    heystuart asked: "Do you have a shortcode already for the excerpt?"

    I'd like to request that too. I've put in manual excerpts and would love to just drop a shortcode for the excerpt into the template. It would be awesome if a formatted version also included the "Read more..." functionality that went to their full staff page.

  12. heystuart
    Member
    Posted 1 month ago #

    Great work Brett, thank you for the update! Looking forward to testing it out.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.