[Plugin: HungryFEED] [ in data is causing problems
-
Hi,
I’m feeding the output of HF into a shortcode. if data (lets say the feed title) contains brackets [], then my shortcode stops working. It basically sees those brackets as the end or begning to my shortcode. Is there a way to escape/convert/replace brackets in the feed data to a different character before I feed it to my shortcode? Maybe we can modify HF code to covert brackets to their ASCII equivalent [ and ]?let’s say if the feed_title is “News from this source [PICTURES]” then in [my_shortcode change_title=”{{feed_title}}”], brackets around the word ‘PICTURES’ mess up my shortcode.
thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: HungryFEED] [ in data is causing problems’ is closed to new replies.