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 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.

This topic contains 2 replies, has 2 voices.

Last updated by Mario 3 years, 1 month ago.

Assigned support staff: 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)

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.