Support » Plugin: Auto-hyperlink URLs » How to make auto-link work with custom fields?

  • Resolved mikeboas

    (@mikeboas)


    I set up a custom field using Advanced Custom Fields plugin for thinks like name, address, and website.

    I’d like the website to auto-link. I know if the text was in the main content area, the auto-link plugin would take care of this.

    Can I change some code to make it apply to the website custom field as well?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having the same issue, I’m trying to auto-link email addresses inside a wysiwyg custom field created with Advanced Custom Fields. It seems this is not currently supported.

    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    If either of you are still interested, or for others that come across this thread later, support for the Advanced Custom Field plugin has been added as of v5.4 (and adjusted in v5.4.1) of Auto-hyperlink URLs.

    Support is disabled by default. A new setting (“Enable support for plugin: Advanced Custom Fields?”) has been added to the plugin settings page to enable the support.

    When enabled, the plugin will attempt to auto-hyperlink the following ACF fields: text, textarea, url, and wysiwyg. There is also a new filter, c2c_autohyperlink_urls_acf_filters, that allows customization of the ACF fields/filters.

    Cheers!

    mikeboas

    (@mikeboas)

    Thanks! Can’t remember how I solved it. I think I abandoned the idea of using Auto-hyperlink plugin for the main text area.

    Instead, I set up a field just for a web address and labeled it as field type “URL.” Those website addresses become links. 🙂

    Example: https://www.filmrochester.org/guide/animatus-studio/

    Hi @coffee2code

    Great looking plugin but I’m also trying to auto hyperlink custom fields and can’t seem to get it to work. I’ve enabled the setting but my website address, emails don’t seem to want to hyperlink, please see example here –

    https://live.tvz.tv/live-video-streaming/company/global-link/

    I’d like the left hand contact column web / email to hyperlink. Anyway I can do this?

    Kind regards,
    Spencer

    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @duckyduck88: Hi Spencer,

    Are you using a plugin to input the custom fields? And how are you displaying the custom fields on the page in question? Seems like you might be using PHP Code Widget? If so, please provide an example of the code you are using to output the custom fields.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.