[Résolu] we need a 3rd party plugin shortcode to run in a content template
This support ticket is created Il y a 2 mois et 1 semaine. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Tell us what you are trying to do?
We noticed that 3rd party plugin shortcode only runs when it is in the body of an actual post, does not run when used in a content template. How can we insert a shortcode in a content template?
Hello. Thank you for contacting the Toolset support.
Well - you can obviously add custom shortcode or any third-party shortcode to content template and it should run.
Can you please tell me how exactly you added the thid-party shortcode and to what content template and send me problem URL where I can see the issue and what is your expected results.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I followed your example and created a shortcode in Toolset > Settings > Custom Code, and inserted it in the Content template.
The result is the code itself as text, and not the grid that was supposed to be rendered.
[mrp account_id=64879 listing_def=search-1407220 context=recip perm_attr=tmpl~v2]
But if we insert the code directly in the post, then it renders the content correctly: lien caché
How can we make the shortcode be rendered when in the content template?
I tried to wrap the shaortcode with custom shortcode and I find that its not working. However - as I demonstrated the normal shortcode was working fine.
Can you tell me this shortcode belongs to what? any theme or plugin? is there any document related to this? if so, can you please share and and also check with the shortcode author that if this shortcode is mean to use using third-party plugin like Toolset and if so, is there any dependency or any special requirements need to fullfill in order to run with Toolset content template?
The shortcode is generated by "myRealPage IDX Listings" plugin.
Description: Embeds myRealPage Listings into WordPress. Create a post or page and use shortcode button to launch Shortcode Wizard and generate a shortcode.
Well - I do not have any exposure with the plugin you shared as well as I do not see any related doc about the shortcode you are using.
I suggest you should get back to "myRealPage IDX Listings" plugin support and check with them how to use the shortcode they offer with Toolset content template and is there any special requirement to run the shortcode with content template.