Title: HTML code instead of a short code?
Last modified: March 10, 2023

---

# HTML code instead of a short code?

 *  [9marky9](https://wordpress.org/support/users/9marky9/)
 * (@9marky9)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-instead-of-a-short-code/)
 * Hello,
   I am using YOP Poll for a survey and it works perfectly. I have included
   it as a widget in the sidebar. But now I use a translation service. This one 
   can’t translate the poll because the shortcode is replaced only on the page. 
   If I embed the survey as HTML, then it works. But: somehow the code is not complete.
   Is there an output as HTML code in the plugin?
 * Regards
   Markus
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-code-instead-of-a-short-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-instead-of-a-short-code/#post-16553736)
 * Hello
 * Unfortunately adding html code for a survey/poll won’t work because it has a 
   hidden token that’s being generated every time a poll is displayed.
 * And without this token the survey/poll won’t work.
 * Can you let us know what translation service you are using so we can take a look
   and see the options they have?
 *  Thread Starter [9marky9](https://wordpress.org/support/users/9marky9/)
 * (@9marky9)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-instead-of-a-short-code/#post-16558480)
 * Hi,
 * thanks for your answer.
   I use Gtranslate Pro. The GT-Team have checkt my problem,
   but they can’t solve it. I have copied the HTML code of the survey from the page
   and pasted it into the sidebar (HTML widget). This way the survey is then visible,
   but it does not work. If I use only the short code, then the survey does not 
   appear at all.
 * 🙁
   RegardsMarkus
 *  [airdrummer](https://wordpress.org/support/users/airdrummer/)
 * (@airdrummer)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-instead-of-a-short-code/#post-16606082)
 * it’s probably because the shortcode is expanded after gtranslate runs…i’ve got
   a similar problem with notification emails being sent with unexpanded shortcodes:-\

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

The topic ‘HTML code instead of a short code?’ is closed to new replies.

 * ![](https://ps.w.org/yop-poll/assets/icon-256x256.png?rev=3524390)
 * [YOP Poll](https://wordpress.org/plugins/yop-poll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yop-poll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yop-poll/)
 * [Active Topics](https://wordpress.org/support/plugin/yop-poll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yop-poll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yop-poll/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [airdrummer](https://wordpress.org/support/users/airdrummer/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/html-code-instead-of-a-short-code/#post-16606082)
 * Status: not resolved