Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author caalami

    (@caalami)

    What is the version number of the plugin?

    Thread Starter tomeknobokto

    (@tomeknobokto)

    Thank you for your answer is the latest version 1.2.2 , the same thing is happening to version 1.1.1

    after clicking on the link transfers to the sub array:

    Plugin Author caalami

    (@caalami)

    I’m not sure if this answers your question, but see the usage instructions in https://github.com/ahebrank/ACF-Link-Picker-Field/blob/master/readme.txt

    The field returns an array, so to construct a link in your theme you can use:

    <?php $mylink = get_field('mylink'); ?>
    <a href="<?php print $mylink['url']; ?>"><?php print $mylink['title']; ?></a>

    Thread Starter tomeknobokto

    (@tomeknobokto)

    thanks for the help in acf simply mark the field as a “text” and type a link , then it works.

    Plugin Author caalami

    (@caalami)

    Marking this as resolved for now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Link Picker Field "Array"’ is closed to new replies.