Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by zak666 · Oct 03, 2018 at 05:46 AM · webglpublishing

Publishing my game on wordpress? (Do not post Plugin solutions they do not work.)

Ok all the plugins act do not work any way to get my WebGL build of my game on wordpress so people can play my game :)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Oct 04, 2018 at 08:29 AM 0
Share

This is barely Unity related. This is just about ad$$anonymous$$istration of a web server. I'll move the question to the help room. However if this turns into an endless discussion, please create a thread on the forum. UnityAnswers is not meant for extensive discussions. One Question, and one or more answers that answer the question.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Dankey_Kang · Oct 03, 2018 at 06:08 AM

I did this recently and it worked well for me. Here is how I did it. When you make a webgl build you'll see three things in the top level folder structure. Two directories, called Build and Template and an index.html file. You'll upload the two directiories to your server, I put it in a folder I made for unity stuff in my child theme directory. Then open your index.html file and basically you're going to have to transplant some of the html and javascript into a custom page using your best judgement and make sure to change the Build and Template asset links to link appropriately to the ones hosted on your server. It might take some trial and error but luckily there isnt much html to go over. You may be able to add it to your wordpress site by other means but this is the way I got the job done.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image zak666 · Oct 04, 2018 at 04:44 AM 0
Share

Sounds like and Idea, In the folders under themes can't seem to find my Wordpress pages though, how did you open them to edit them? If I use the page eadit tool I just get a white page XD

alt text

alt text

whitepage.jpg (122.8 kB)
whitepage2.jpg (44.8 kB)
avatar image Dankey_Kang zak666 · Oct 04, 2018 at 07:49 AM 0
Share

There is some confusion I think. You are refering to the wordpress ad$$anonymous$$ interface. When I talk about the "theme" folder I mean in the backend, as in the servers files. This can be accessed using a FTP client, I use Filezillas. Are you familiar with using a FTP client?

avatar image Dankey_Kang Dankey_Kang · Oct 04, 2018 at 08:03 AM 0
Share

Basically, the idea I am thinking is this. You connect to your web server using a FTP client using your server credientials. Then you navigate the file structure to get to your uploads folder. You then create a folder in there called Unity or something and then upload your Build and Template folders to there. Then I would preferably look into using pluggin for properly adding script and link tags to your page, not sure if you can add them as you have in the page editor as they might get stripped by wordpress. Then you can add a small portion of the index file onto your page as you have.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

98 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error: The first play through is recorded to add a preview of the game (90%) and this recording doesn’t end (WebGL). 1 Answer

Web GL Publish does not work for me 2 Answers

WebGL gets ride of background? 1 Answer

webgl overrides privious build on unity play 0 Answers

Help fixing error when building WebGL 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges