Title: Shortcode in HTML
Last modified: March 6, 2021

---

# Shortcode in HTML

 *  Resolved [benporg](https://wordpress.org/support/users/benporg/)
 * (@benporg)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/shortcode-in-html-3/)
 * Hi there
 * I am using the “YITH WooCommerce Product Add-ons” plugin.
    I am trying to add
   a popup to a product addon’s description like this:
 * [https://www.sofysofas.co.za/wp-content/uploads/2021/03/screenshot12-scaled.jpg](https://www.sofysofas.co.za/wp-content/uploads/2021/03/screenshot12-scaled.jpg)
 * On the frontend, when I click on the “Learn more’ link, it redirects to a blank
   page with this URL: about:blank#blocked
    You will find the link just above the
   add to cart button.
 * Please let me know if you need more info?
    Thanks for your help in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-in-html-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-in-html-3/#post-14148037)
 * Hello,
 * Thanks for reaching here.
 * You are passing our shortcode in your `<a>` tag. it’s wrong.
    please refer to
   the below step.
 * 1. You are using the page then please try the below shortcode.
    `[popup_anything
   id="6654"]`
 * 2. You are using the PHP core file then please try the below shortcode.
    `<?php
   echo do_shortcode('[popup_anything id="6654"]'); ?>`
 * Thanks,
    -  This reply was modified 5 years ago by [Ketan Patel](https://wordpress.org/support/users/patelketan/).
 *  Thread Starter [benporg](https://wordpress.org/support/users/benporg/)
 * (@benporg)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-in-html-3/#post-14149243)
 * Thanks Ketan!
 * I tried both, and they both only show the shortcode on the frontend:
    [https://www.sofysofas.co.za/wp-content/uploads/2021/03/screenshot4-scaled.jpg](https://www.sofysofas.co.za/wp-content/uploads/2021/03/screenshot4-scaled.jpg)
 * I am trying to add it here in the backend (plugin: YITH WooCommerce Product Add-
   ons):
    [https://www.sofysofas.co.za/wp-content/uploads/2021/03/screenshot5-scaled.jpg](https://www.sofysofas.co.za/wp-content/uploads/2021/03/screenshot5-scaled.jpg)
 * Any suggestions?
 *  [Riddhi Shukla](https://wordpress.org/support/users/ridhimashukla/)
 * (@ridhimashukla)
 * [5 years ago](https://wordpress.org/support/topic/shortcode-in-html-3/#post-14153376)
 * Hi,
 * Thank you for your update…
 * I have checked your shared screenshot in which you have added popup shortcode
   in some description option but that box not supporting shortcode display.
 * You have to add your shortcode either any content section like add in product
   edit content area or directly in you file using `do_shortcode()`.
 * Please check and add shortcode in proper section so it will work for you!!
 * Thank You!!

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

The topic ‘Shortcode in HTML’ is closed to new replies.

 * ![](https://ps.w.org/popup-anything-on-click/assets/icon-128x128.gif?rev=2874277)
 * [Popup Maker and Popup Anything - Popup for opt-ins and Lead Generation Conversions](https://wordpress.org/plugins/popup-anything-on-click/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-anything-on-click/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-anything-on-click/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-anything-on-click/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-anything-on-click/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-anything-on-click/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Riddhi Shukla](https://wordpress.org/support/users/ridhimashukla/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/shortcode-in-html-3/#post-14153376)
 * Status: resolved