Skip Navigation

[Resolved] execute own shortcode inside marker_title-tag of wpv-map-marker

This thread is resolved. Here is a description of the problem and solution.

Problem:
Custom shortcode is not working inside the marker_title tag. The shortcode is:

[wpv-map-marker map_id="map-all-stations" marker_id="[wpv-post-id]" marker_title="[own-shortcode]" marker_field="wpcf-st-adresse"]

Solution:
Please Register the custom shortcode in Toolset >> Settings >> Front-end Content >> Third-party shortcode arguments. Screenshot here: https://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/2017/06/536541-Register_Custom_Shortcode.png?x72603

Relevant Documentation:
https://toolset.com/documentation/user-guides/shortcodes-within-shortcodes/

This support ticket is created 7 years, 5 months ago. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Mario 7 years, 5 months ago.

Assisted by: Noman.

Author
Posts
#536460

I am trying to: execute own shortcode 'own-shortcode' inside the marker_title tag.

[wpv-map-marker map_id="map-all-stations" marker_id="[wpv-post-id]" marker_title="[own-shortcode]" marker_field="wpcf-st-adresse"]

I expected to see: output of own-shortcode

Instead, I got: nothing

Shortcodes coming from WP like custom fields work very well, inside the marker_title-tag.

Should own shortcodes work inside marker_title-tag or is it more a feature request.
Thanks for your answer.

#536541

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Register_Custom_Shortcode.png

Hi Mario,

Thank you for contacting Toolset Support. I believe the shortcode should work in marker_title field.

Can you please make sure that you have registered the custom shortcode in Toolset >> Settings >> Front-end Content >> Third-party shortcode arguments (see attached screenshot: Register Custom Shortcode.png)

More info: https://toolset.com/documentation/user-guides/shortcodes-within-shortcodes/

Have a great day, Thank you

#536572

Thank you so much Noman, i relly forget registering.