WordPress.org

Forums

Simple Staff List
[resolved] Make Featured Image Clickable (8 posts)

  1. trav1856
    Member
    Posted 1 year ago #

    I've got the simple staff list working. However, I already have profile pages formatted the way I want them to be and want to use THOSE pages not the [staff-member-slug] method that others have suggested. I want to be able to click on the picture of the name and have it point to the URL of the faculty member's page that already exists outside of the Simple Staff List plugin within the same site.

    Any ideas?

    https://wordpress.org/plugins/simple-staff-list/

  2. trav1856
    Member
    Posted 1 year ago #

    Also as a side note, I was able to create an additional data field and it does save, so now it's just a matter of invoking that data field, which I'm having some difficulty in getting it to populate into the rendered webpage.

  3. trav1856
    Member
    Posted 1 year ago #

    kinda resolved (not how I wanted it, but it'll work)

    For some reason, I never could get it to post the URL how I wanted under the [staff-member-profile] variable I declared. (Inserted it after the email tag and added an appropriate field on the Add/Edit staff page)

    But, from another thread found this:

    <a href="[staff-profile]"><img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name]">

    Odd thing is, it makes the [staff-name], [staff-title], and [staff-photo] all clickable. It's an unelegant solution for my problem, but it does solve my problem.

  4. trav1856
    Member
    Posted 1 year ago #

    For clarification, I added the [staff-profile] tag. It's not in stock simple staff list.

  5. mobetman2
    Member
    Posted 1 year ago #

    Your code is making the [staff-name], [staff-title], and [staff-photo] all clickable because you don't have a closing tag.

  6. trav1856
    Member
    Posted 1 year ago #

    I'll double check it, but I'm pretty sure it's /a'd on the next line. But if I missed it, thanks for pointing that out.

  7. Meegh
    Member
    Posted 11 months ago #

    Mobetman was right, works for me

    resolve and close

  8. eoms
    Member
    Posted 11 months ago #

    Could you elaborate on [staff-profile], how do I use it?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Staff List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.