Insert html5 page into WordPress page problem (3 posts)

  1. richardpd
    Posted 4 years ago #

    I want to insert an html5 chess game page from a local directory into my WordPress theme 'PlayChess' page but no matter what I have tried the chessboard/game refuses to display.
    I am trying this in my localhostserver WebMatrix and online at the site http://www.buryknightschess.org.uk

    I have tried inserting the html code directly and using plugins eg PageView & HtmlImport and EmbedIFrame.

    If I link to the demo site the html5 chess game is hosted at on sourceforge in my WP page, the game displays properly. I do not want to use this though as I have modified/improved the code for my use & it works fine from my local directory in my browser & via IIS7/webmatrix localhost outside of WordPress. I just cannot get it to display in my WordPress theme page (WP theme modified 2011)!

    If anyone has any helpful ideas of anything I might try to get this local html5 file with JScript in it working properly in my WordPress theme page I would be very grateful for such advice. Meantime as ever I will continue wrangling with this myself-thanks

  2. richardpd
    Posted 4 years ago #

    My further investigation shows that most of my template header links are returning 404 errors eg

    <script type="text/ecmascript" src="/html5/common/xhr.js"></script>
    <script type="text/ecmascript" src="chess.js"></script>
    <link type="text/css" rel="stylesheet" href="/html5/css/chess.css" />
    <link type="text/css" rel="stylesheet" href="/html5/skins/gnomechess.css" />

    I have tried:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    and these links return 404 codes!

    I do not know why this is happening? Can anyone help please?

  3. richardpd
    Posted 4 years ago #

    I still have this problem and it is not confined to my localhostserver. The same referencing /404 problem is occuring online-see

    I am most grateful for helpful replies

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.