We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Implement button clicks in the built-in WordPress editor – Verge3D Plugin

Home Forums General Questions Implement button clicks in the built-in WordPress editor – Verge3D Plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #79705
    calbrecht
    Customer

    Hi,

    I have installed the Verge3D WordPress plugin and followed the example on the installation guide you have. I have created a very simple example where when the button on the wordpress page is clicked the Cube object in the 3D scene hides. The scene loads on the page, thats ok.

    But unfortunately it looks like the click event isn’t working for some reason.
    I don’t know what I’m missing.

    I have all set exactly as described in the https://www.soft8soft.com/docs/manual/en/introduction/Wordpress-Plugin.html#installation

    Besides the event puzzle is there anything else that needs to be set or created in the verge project? anything to be added in the project.js?

    Thanks for the help!

    #79711

    Hi,
    There are no specific puzzles required for making it work. The most probable cause of this misbehavior might be specifying a wrong value for the “query selector” puzzle, hence it does not return anything. You might use the print to console puzzle to verify that the proper element is returned by the query selector.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.