Title: lizzydi's Replies | WordPress.org

---

# lizzydi

  [  ](https://wordpress.org/support/users/lisadix/)

 *   [Profile](https://wordpress.org/support/users/lisadix/)
 *   [Topics Started](https://wordpress.org/support/users/lisadix/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lisadix/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lisadix/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lisadix/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lisadix/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lisadix/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] Filterable Gallery doesn’t work anymore](https://wordpress.org/support/topic/filterable-gallery-doesnt-work-anymore-2/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/filterable-gallery-doesnt-work-anymore-2/#post-18894673)
 * Now it works again! Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Addons for Elementor] Filterable Gallery doesn’t work anymore](https://wordpress.org/support/topic/filterable-gallery-doesnt-work-anymore/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/filterable-gallery-doesnt-work-anymore/#post-18894203)
 * just realized, that i tagged the wrong Plugin. Created a new Post. Sorry!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/page/2/#post-18101100)
 * I have to put everything back to normal now (without the test button). I will
   try again tomorrow. Thank you very much for your help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/page/2/#post-18101086)
 * Unfortunately it’s still happening
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18101049)
 * But then I have the Problem, that it just shows the code written there, like 
   now. I tried the Code and the Paragraph “Widget”.
   Underneath I added a screenshot
   again
    -  This reply was modified 1 year, 7 months ago by [lizzydi](https://wordpress.org/support/users/lisadix/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18101033)
 * I put the Screenshots on the website underneath the buttons
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18101019)
 * I see, but I dont understand. How can that be? Here is a Screenshot, and i saved
   everything. Could the theme be interfering? Unfortunately my screenshots dont
   show
 * ![](https://wordpress.org/90e4454e-07af-4dca-bcf6-38bc5fab6d0a)
 * ![](https://wordpress.org/202c018b-9032-4d66-93bc-5588066e462f)
    -  This reply was modified 1 year, 7 months ago by [lizzydi](https://wordpress.org/support/users/lisadix/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18101003)
 * [https://futurelearning.space/](https://futurelearning.space/)
   I added the Click
   me button to test everything
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18100473)
 * Still doesn’t work. Is the CODE3 at the right place (see above)?
   usually, I would
   do this:
 *     ```wp-block-code
       <button id="demo" onclick="myFunction()">Click me</button>
       ```
   
 * where do I put CODE3?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18100240)
 * So as an example i have this html button and added the CODE3 inside the onclick.
   I also tried with “{{CODE3}}”. Where exactly do I place the CODE3?:
 *     ```wp-block-code
       <button id="demo" onclick={{CODE3}}>Click me</button>
       ```
   
 * and I have the value of CODE3 as:
 * `function myFunction() {
    document.getElementById("demo").style.color = "red";}
 * So when clicked, the text color of the button should turn red, right? (My actual
   intention is something else, but I want to test with something simpler.)
    -  This reply was modified 1 year, 7 months ago by [lizzydi](https://wordpress.org/support/users/lisadix/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18100073)
 * Or is this plugin just to show code? Not to execute?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Code Embed] add onclick event to button](https://wordpress.org/support/topic/add-onclick-event-to-button/)
 *  Thread Starter [lizzydi](https://wordpress.org/support/users/lisadix/)
 * (@lisadix)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/add-onclick-event-to-button/#post-18099893)
 * Thanks for the fast response! But when I do that my code is displayed as code
   on the page. I’m sorry I am a beginner! Do I put it somewhere inside the button
   code or where?
    -  This reply was modified 1 year, 7 months ago by [lizzydi](https://wordpress.org/support/users/lisadix/).

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