Title: html code/shortcode inside a pods field &#8211; extend post
Last modified: August 7, 2022

---

# html code/shortcode inside a pods field – extend post

 *  Resolved [noorseerat](https://wordpress.org/support/users/noorseerat/)
 * (@noorseerat)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/html-code-shortcode-inside-a-pods-field-extend-post/)
 * hi
    I have added a pods field to product post type. I need to add script code
   for embedding images in this pods field. This then needs to display the embedded
   image in front end. But what’s happening is that the script is getting executed
   in the “Edit Product” page and nothing is displayed on the front end.
 * I’m able to add text pods fields etc and then display them successfully in front
   end. But how do I execute html/script code using pods? Please help

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/html-code-shortcode-inside-a-pods-field-extend-post/#post-15896679)
 * Hi [@noorseerat](https://wordpress.org/support/users/noorseerat/)
 * We have a `code` field for this.
    You can add your Javascript in that field and
   then output it on the frontend within `<script>` tags.
 * Cheers, Jory

Viewing 1 replies (of 1 total)

The topic ‘html code/shortcode inside a pods field – extend post’ is closed to new
replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/html-code-shortcode-inside-a-pods-field-extend-post/#post-15896679)
 * Status: resolved