wptexturize issue
-
I’m having a problem with the wptexturize filter converting characters in a URL string (specifically an ndash). This is happening in a custom attribute field I’ve created called ‘pdf_brochure’.
I can work out how to edit my functions.pho file to disable the wptexturize filter, but I don’t know how to target this custom attribute.
For example, the code below will remove this filter on the main content field:
remove_filter('the_content', 'wptexturize');But how do I apply it to a custom field in wp property?
Also, is it possible to create a custom field that has an upload? i.e. an energy rating field that the wp user uploads a pdf file to if present?
The topic ‘wptexturize issue’ is closed to new replies.