WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Broken Link Checker] Make compatible with Advanced Custom Fields Plugin?

[Plugin: Broken Link Checker] Make compatible with Advanced Custom Fields Plugin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Not working on custom fields inside custom post types. Which is 99% of my site. Would be glad for a fix for that.

    David
    Member

    @dcrabill

    Ditto to all of that. Virtually all of my data is added through Advanced Custom Fields, but just finding links in specific custom fields on custom post types would be enough for me.

    I am also looking for support for ACF as most of the data on my website is stored in custom fields generated with ACF.

    Jacob Gotwals
    Member

    @jacob-gotwals

    It seems to be working for me for URLs in a “Text” custom field containing a single URL, created by ACF, on a custom post type.

    In BLC settings under “Look for Links In”, I checked “Custom fields”, clicked “Configure”, added the “Field Name” from ACF, and also checked the box for my custom post type. Then I tried adding a few custom posts, some with working links in my custom field and some with broken links. When I went to Tools / Broken Links, the broken ones were listed.

    Hope that helps…

    eliot.eshelman
    Member

    @elioteshelman

    I’m fighting with similar issues and have tracked down some of the cause. BLC does not assume that we’re putting arbitrary HTML into custom fields. It only looks at the first line of a custom field.

    Comment from the metadata.php file:

    If this is a multiline metadata field take only the first line (workaround for the ‘enclosure’ field).

    I’ve never used “enclosure” fields, so I’m not certain exactly how to patch this without breaking them. Overall, I’d rather have BLC run the regular HTML check on my custom fields. The current custom field check is clearly causing people issues.

    eliot.eshelman
    Member

    @elioteshelman

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Broken Link Checker] Make compatible with Advanced Custom Fields Plugin?’ is closed to new replies.