Skip Navigation

[Gelöst] elementor content template shortcodes

This support ticket is created vor 5 Jahren. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Shane vor 5 Jahren.

Assistiert von: Shane.

Author
Artikel
#1387173

Hi,

i redesign the alko-hohl.de site local and I use now elementor plugin instead WP Bakery Page Builder. Can I use the elementor page Builder in content templates too like the wp Bakery Page Builder?

I use types fields inside other shortcodes like this [amazon fields="[types field='isbn' output='raw'][/types]" value="star_rating"] and I have test it with a created elementor theme and paste it to text field but the shortcake don't work.

How can I work with types fields inside a shortcode?

can you help me to solve this?

#1387305

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Andre,

Thank you for getting in touch.

" Can I use the elementor page Builder in content templates too like the wp Bakery Page Builder?"

Unfortunately no you won't be able to use elementor builder to create templates with our content templates. You will need to use elementor to create your page templates.

"I use types fields inside other shortcodes like this [amazon fields="[types field='isbn' output='raw'][/types]" value="star_rating"] and I have test it with a created elementor theme and paste it to text field but the shortcake don't work."

Im not so clear on this issue. Could you provide further clarity on this.

Thank,
Shane

#1387311

Hi Shane,

thanks for the fast answer 🙂

"Unfortunately no you won't be able to use elementor builder to create templates with our content templates. You will need to use elementor to create your page templates."

ok thank you.

"Im not so clear on this issue. Could you provide further clarity on this."

yes, I use content template and inside the template I use different shortcodes from other plugins. And inside these shortcodes I use types field as values.

[kleo_button title="Buch bei Amazon anschauen" href="versteckter Link field='isbn' output='raw'][/types]?ie=UTF8&tag=test-21&linkCode=as2&camp=1638&creative=6742&creativeASIN=[types field='isbn' output='raw'][/types]" target="_blank" style="primary" size="lg" position="center" ]

I have a link and at the end from the link I have hang on a types field value. In this example is it a ISBN number from book so each link is different.

but I don't know how can I make it on elemenemntor page template because these shortcodes with types field values are don't work.

hope I have better declared because my english is horrible 😉

best regards
Andre

#1387321

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Andre,

So this particular shortcode.

[kleo_button title="Buch bei Amazon anschauen" href="<em><u>versteckter Link</u></em> field='isbn' output='raw'][/types]?ie=UTF8&tag=test-21&linkCode=as2&camp=1638&creative=6742&creativeASIN=[types field='isbn' output='raw'][/types]" target="_blank" style="primary" size="lg" position="center" ]

This does not work when you're using it in the elementor template. I suspect that this isn't unique to our types shortcode but it is because of the changes wordpress made to its shortcode API some years ago which disallows for shortcodes to be used as parameter in HTML.

This shortcode i suspect produces HTML.

To work around this you will need to create a content template and add this content template. From there you can call the template in your elementor template with [wpv-post-body view_template="template-slug"] where you will replace the template-slug with your actual template slug.

Please let me know if this helps.
Thanks,
Shane

#1388297

Hi Shane,

thanks that worked for me 🙂

best regards
Andre

#1388299

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Andre,

Great Happy I was able to point you in the right direction.

If there are no further queries on this you can go ahead and mark this as resolved.

Thanks,
Shane