Home Forums Feedback Link Field – Title Text Reply To: Link Field – Title Text

  • Hi @bravenewmedia

    Not sure what you mean.

    When using the Link field with a Return Value of ‘Link Array’ you can get ‘title’ like so:

    $link = get_field('link');
    echo $link['title'];
    // Button Example
    <a class="button" href="<?php echo $link['url']; ?>" target="<?php echo $link['target']; ?>"><?php echo $link['title']; ?></a>

    It is the ‘Link Text’ in the dialogue box when adding the link. Know what I mean?