Title: Shortcode output for schema
Last modified: June 10, 2022

---

# Shortcode output for schema

 *  Resolved [jodzeee](https://wordpress.org/support/users/jodzeee/)
 * (@jodzeee)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/shortcode-output-for-schema/)
 * I’m trying to output a post title and post content in the FAQ block. It works;
   however, the schema just shows the shortcode, not the actual text. Is there a
   way to fix this?
 *     ```
       <script type="application/ld+json">{
                   "@context":"http://schema.org/",
                   "@type":"FAQPage",
                   "mainEntity": [{"@type":"Question","name":"[rs_post_title id=\\\"6745\\\"]","acceptedAnswer":{"@type":"Answer","text":"<p>[mai_content id=\\\"6745\\\"]</p>"}}]}</script>
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-output-for-schema%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Imtiaz Rayhan](https://wordpress.org/support/users/imtiazrayhan/)
 * (@imtiazrayhan)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/shortcode-output-for-schema/#post-15728124)
 * [@jodzeee](https://wordpress.org/support/users/jodzeee/),
 * Right now, there’s no way to do that.
 * We will look into it and see if we can make it work.
 * If we succeed, we will include the fix in a future release.
 * Kind regards.
 *  Thread Starter [jodzeee](https://wordpress.org/support/users/jodzeee/)
 * (@jodzeee)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/shortcode-output-for-schema/#post-15728168)
 * Thank you, I appreciate it!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode output for schema’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-blocks/assets/icon-256x256.png?rev=2966061)
 * [Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor](https://wordpress.org/plugins/ultimate-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-blocks/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [jodzeee](https://wordpress.org/support/users/jodzeee/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/shortcode-output-for-schema/#post-15728168)
 * Status: resolved