• Resolved trav1856

    (@trav1856)


    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://www.ads-software.com/plugins/simple-staff-list/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter trav1856

    (@trav1856)

    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.

    Thread Starter trav1856

    (@trav1856)

    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.

    Thread Starter trav1856

    (@trav1856)

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

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

    Thread Starter trav1856

    (@trav1856)

    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.

    Mobetman was right, works for me

    resolve and close

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

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Make Featured Image Clickable’ is closed to new replies.