WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jknetdesign
    Member
    Posted 2 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?

    http://demo.elcaminorealfutbol.org/our-board/

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic