开发者

WordPress 404 errors trying to display html5/javascript game in WordPress page

I am trying to display html5/javascript code (as custom WP template) in a WordPress site to show html5 chess game. However I am plagued by referencing problems giving 404 errors. This can be seen online @ http://www.buryknightschess.org.uk/play-chess/

I am grateful for help & advice to fix these errors to get the pagereferencing correct & display this game in my WordPress page.

(BTW this game comes from html5chess @ sourceforge & I can link to the demo there in my WordPress page & that displays properly. However I have edited the code from there & I would like to hard code this into my WordPress page if possible!). Thanks

UPDATE: I am making progress now in that I have managed to get my chessboard displaying & working in WebMatrix localhost server. I use a custom WordPress page template with php code to point to WP theme root directories & now these links are correct it works! I do need minor css adjustments to centre the pieces on squares/divs but I can play around wi开发者_开发知识库th that & other minor page edits. Next stage is to make these edits on the online website but I am more confident of success now. Initially I thought it maybe WordPress blocking JavaScript calls but I think it is simply a matter of adding the JS links correctly! I will post again when I have it working online.


Just reviewing my StackExchange posts and checking whether my queries have been answered. This post is very old & remained as an unanswered post except I have answered it in my edit to my post above and so my post here now is simply to confirm I answered my own question!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜