Support » Plugin: Events Manager » [REQ] Autolink (linkify) URLs in Event and Location descriptions

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    this is the sort of reason we use hooks for 🙂

    had a quick look, couldn’t find but would be surprised if there’s no wp plugin that does this, you’d just hook into the_content I’d say

    I found a few plugins, tried the two that were updated within the last two years and neither of them could help with content that was output by Events Manager.

    The other one was http://wordpress.org/extend/plugins/auto-hyperlink-urls/, updated 2011-07-26. Don’t remember the other one anymore. Haven’t dug into the code of this one to know if it they use a filter with the_content and with correct attributes to have it be fired after EM has done its magic. I opened a support ticket some time ago: http://wordpress.org/support/topic/support-events-managers-custom-post-types-events-and-locations

    Marcus: If you know of a proper invocation and want to share, that might speed up the process of getting that plugin fixed to support EM and other plugins.

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    can’t give you advice on that specific plugin, but if you want to just apply something to EM, particularly the description bit, you could use this filter, as we use for various the_content filters –

    add_filter('dbem_notes', 'wpautop');

    you could probably run a preg_replace making sure it’s not within an a link already – https://www.google.com/search?q=preg_replace+make+links

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[REQ] Autolink (linkify) URLs in Event and Location descriptions’ is closed to new replies.