Don't allow links in listing description

Hi there!

I just noticed some vendors uploaded a listing and they have links inside which are clickable. I don’t want that. I just want plain text.

Is there a way to remove this functionality?

Thank you


By default, listing descriptions allow plain text only, but URLs and links are converted to links by this WordPress function make_clickable() | Function | WordPress Developer Resources It’s totally safe because users can’t change the link labels or other parameters, and these links should be nofollow. Disabling this is possible, but this requires code customizations.

Alright, fair enough. However, is it possible to force them to be opened in a separate window?

Sorry, there’s no simple code snippet - this requires advanced customizations.

If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.