Title: View code opens new page with code reveal
Last modified: April 14, 2026

---

# View code opens new page with code reveal

 *  [dansart](https://wordpress.org/support/users/dansart/)
 * (@dansart)
 * [4 weeks ago](https://wordpress.org/support/topic/view-code-opens-new-page-with-code-reveal/)
 * Hei
   Thanks for the plugin. I noticed, that when the coupon code is hidden and
   it requires a click to show, it opens a new tab at the same time with the URL
   defined, or the same page again if only a # is used.Should it not just reveal
   the code and maybe on a second click go to the website?Tested on Brave and Firefox.

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fview-code-opens-new-page-with-code-reveal%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

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

 * 0 replies
 * 1 participant
 * Last reply from: [dansart](https://wordpress.org/support/users/dansart/)
 * Last activity: [4 weeks ago](https://wordpress.org/support/topic/view-code-opens-new-page-with-code-reveal/)
 * Status: not resolved