Hello 🙂
I need help to obtain a shortcode of custom field, which i can put in WPBakery Page Builder (or in elsewhere i need)
At the moment I only obtain the url of the pdf uploaded. It's good obtion but it's not eyecandy. I prefer to show a button instead the url.
Tell us what you are trying to do?
I use custom field to upload a pdf. I want to use WPBakery Page Builder buttons to open that pdf.
I tried to put a shortcode to obtain the content returned from my custom field (an url) in the url field of a visual composer module. A button module. but it's not working.
I searched at internet and here, in the support tickets... but i haven't got luky. I found an option to create manually a button... but it didn't work very well...
Is there a similar example that we can see?
Mmm... i'm not sure
I need a button to open my pdf in an other window or in a popup.
You can see a simple example in hidden link
What is the link to your site?
It's still in development.
I can create an user for you to take a look if you want.
My issue is resolved now. Thank you!
for people who may need something like this.
This is how I solved the problem; adding: output='raw'
the complete shortcode: [pdf-embedder url="{!{types field='pdf' output='raw'}!}{!{/types}!}"]