Title: Shortcode using scripts
Last modified: September 12, 2019

---

# Shortcode using scripts

 *  Resolved [kellybaya](https://wordpress.org/support/users/kellybaya/)
 * (@kellybaya)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/shortcode-using-scripts/)
 * Hello,
 * I refer to a [previous support answer](https://wordpress.org/support/topic/using-shortcoder-in-listings/)
   where you mentioned the following:
 * > Actually, in our last version, we restricted HTML outputs. This is for security
   > reason.
   > If you need to allow script, please open the below file,
   > /wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/
   > listing/
   > Search the below code in the above file:
   > <?php echo wp_kses_post( $description ); ?>
   > Replace the above code with the following code:
   > <?php echo $description; ?>
   > Finally, save the file and check.
 * I need to also acheive the same result but I can not locate any file in the folder
   which contains that code. Could you please come back to me with the file name?
    -  This topic was modified 6 years, 8 months ago by [kellybaya](https://wordpress.org/support/users/kellybaya/).

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

 *  Plugin Author [pluginsware](https://wordpress.org/support/users/pluginsware/)
 * (@pluginsware)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/shortcode-using-scripts/#post-11924637)
 * Plz search that code in the below file,
 * /wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/listing/
   acadp-public-listing-display.php
 * Thanks
 *  Thread Starter [kellybaya](https://wordpress.org/support/users/kellybaya/)
 * (@kellybaya)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/shortcode-using-scripts/#post-11927110)
 * Fantastic thank you for your quick reply!
 * To save this code from overwriting upon update I have placed this modified file
   into /wp-content/themes/child-theme/advanced-classifieds-and-directory-pro/public/
   partials/listing. It does not reflect my template changes that I have added to
   the description field.
 * As per support question [https://wordpress.org/support/topic/template-override-not-working-6/](https://wordpress.org/support/topic/template-override-not-working-6/),
   I also tried to place it in the folder /wp-content/themes/child-theme/acadp/listings/
   acadp-public-listings-list-display.php but this still is not reflecting. Do I
   need to do anything else?
 * Many thanks
    Kelly

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

The topic ‘Shortcode using scripts’ is closed to new replies.

 * ![](https://ps.w.org/advanced-classifieds-and-directory-pro/assets/icon-128x128.
   png?rev=1506527)
 * [Advanced Classifieds & Directory Pro](https://wordpress.org/plugins/advanced-classifieds-and-directory-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-classifieds-and-directory-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kellybaya](https://wordpress.org/support/users/kellybaya/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/shortcode-using-scripts/#post-11927110)
 * Status: resolved