• Resolved marpessa1

    (@marpessa1)


    Hello, I’d like to use this plugin to show social links on frontend with icons, but I haven’t been able to achieve it. How can I add an URL to the icon? Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    There is nothing special you need to do within this plugin to make a URL. You can just add the A tag around the icon in your template.

    <a href="#mysocialmedialinkurl">
        <?php the_field('myfontawesomeiconfieldname'); ?>
    </a>

    You would have the plugin configured to output the icon element when used in your template.

    Plugin Author Matt Keys

    (@mattkeys)

    If you are new to Advanced Custom Fields, this is a good getting started guide, the concepts learned here apply to this plugin and many other ACF add-ons:

    https://www.advancedcustomfields.com/resources/getting-started-with-acf/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add an URL to icon?’ is closed to new replies.