Hmm, sounds like the shortcodes are processed out of order. Is this code in a normal post editor?
A workaround could be to use the [link] shortcode.
[link open=new]PDF[/link]
It’s documented under Main -> Field -> Link to field value.
Thread Starter
deancs
(@deancs)
Thanks for the quick response and the [link] shortcode works correctly.
The site is being built using wpbeaverbuilder theme and plugin. The shortcodes are contained within a HTML module. If am using your plugin in a few places using the BB HTML module and havent seen any other cases of the shortcodes not being processed in order.
Thread Starter
deancs
(@deancs)
[link] option solved the problem. Thanks.