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.

Using Verge3D with custom HTML/CSS interface on WordPress

Home Forums Programming Using Verge3D with custom HTML/CSS interface on WordPress

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #84835
    Jimbaka
    Customer

    Hello dear Vergers,

    I ran into a problem with using a custom interface with the WordPress plugin.
    As suggested in the HTML interface tutorial, I created an HTML file (let’s call it UI.html) with some buttons and a embed Verge scene as:

    <main class=”viewer”>
    <object data=”myVerge3Dapp.html” type=”text/html”></object>
    </main>

    Very simple.
    Then I wanted to test it on my site, so I used the WordPress plugin to upload it onto my WP server. I uploaded whole folder including both myVerge3dapp.html and UI.html.

    As expected, it created the shortcode [verge3d id=”xxx”] and the URL: myVerge3dapp.html.
    How can I use UI.html instead of myVerge3dapp.html to create the shortcode?

    I found out that merging both .html files into one main file works, though it is not very convenient as it doesn’t work in Verge3D (puzzles, sneak peek).

    Cheers!

    • This topic was modified 21 hours ago by Jimbaka.
    #84840

    Hi,
    You might need to rename UI.html to index.html so the shortcode picks the proper HTML for your application. Also, this will make the index the first file to be shown in the App Manager.

    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.