[Résolu] [cred-post-parent get='title'] is visible on the front end
This support ticket is created Il y a 7 années et 1 mois. 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.
I have a system that has been working for quite some time, using types, views and cred, to allow me to define custom post types, and for users to leave reviews (where the reviews are child posts of the parent CPT).
This was working fine, but I have just noticed that the Cred form now shows the shortcode on the page, rather than pulling in the title of the parent post, as it used to do.
E.g. this code produces the output in the screenshot attached.
<h2>Submit your review for <strong>[cred-post-parent get='title']</strong></h2>
[cred_field field='form_messages' value='']
<div class="cred-field cred-field-post_title">
<label class="cred-label">Brief summary in less than 10 words?</label>
[cred_field field='post_title' post='review' value='' urlparam='']</div>
<div class="cred-field cred-field-post_content">
<label class="cred-label">Tell everyone what you think about [cred-post-parent get='title']</label>
[cred_field field='post_content' post='review' value='' urlparam='']</div>