Support » Plugins and Hacks » [Resolved] Make Featured Image Clickable

[Resolved] Make Featured Image Clickable

  • 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?


Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    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.

    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.

    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?


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