Skip Navigation

[Resolved] Third Party Shortcode not Working

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

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Ian 5 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1234468

Ian
shortcode.jpeg

I am trying to use a third party shortcode from the WordPress repository https://wordpress.org/plugins/shortcode-imdb/

The shortcode as used in my template is as follows:

[imdb show="transparent" data="detailed"][types field="imdb-name"][/types][/imdb]

I have added the shortcode to settings see attached

This is what is showing in the plugin cache [types field=\"imdb-name\"][/types] rather than the number

Here is the page with the issue hidden link see bottom left corner

This is what should be rendering hidden link

#1234777

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - what if you try to add a simple shortcode and check if that works first.

For example - add following shortcode:

function foobar_func( $atts ){
    return "foo and bar";
}
add_shortcode( 'foobar', 'foobar_func' );

And use it as follows:

[imdb show="transparent" data="detailed"]
[foobar]
[/imdb]

Do you see the [foobar] shortcode rendered normally?

#1235146

Ian

This is what the plugin is now storing in the cache

[foobar]

#1235501

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I seem that the [imdb] shortcode your are using is not parsing the shortcode. As you confirm that even normal shortcode is not parsed.

This looks like not an issue from Toolset but IMDB plugin. Can you please contact that plugin support and check with them how you can parse shortcode as per your requirement.

#1238193

Ian

The developer of this plugin was a great help and updated it so it would work nested within a Toolset shortcode.