Advanced Custom Fields
Add url option to photo field (1 post)

  1. jknetdesign
    Posted 3 years ago #

    Let's say I have a Board Members Page built out of Advanced Custom Fields and Simple Custom Post Type. No the client to be able to click on a photo to link somewhere.

    This is already created with a photo field. I have this in my page template:

    <img class="board-photo" src="<?php echo get_field('photo') ?>" />

    Is there an option I don't see or something I need to add to my functions?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic