It could be done.
Reason why the plugin default is with the moves underneath the chessboard is that most wordpress templates leave a rather narrow column for the article, making it difficult to fit chessboard and games horizontally.
Said that, if you really want to do that, follow these instructions:
1. locate the file:
wp-content/plugins/embed-chessboard/embedchessboard.php
2. locate the line with this code:
$replacement .= "&fp=13&hl=f";
3. change the above to:
$replacement .= "&fp=13&hl=t";
it’s just changing an ‘f’ to a ‘t’
Done. This should get you an horizontal layout.
For better understanding of all the parameters look at:
http://pgn4web.casaschi.net/board-generator.html
Issue with a manual fix is that you’d need to manually repeat the fix every time you upgrade the plugin.
Also, you’d need to manually set the height tag option; otherwise the plugin will estimate height assuming a vertical layout.
Please post here or email me the URL of your site!
pgn4web
Thread Starter
aruwal
(@aruwal)
Hi and thanks a lot for quick reply and providing me with this option! I already implemented it on my page and it works great! I do have a problem locating where to change the heightparameter.Im afraid that I dont read code at all and I am very new to all this so I would really appreciate further advice. I have sent you a mail with a link to the adress.
With the right height it will fit my page perfectly. Smooth, elegant and classic. Thanks again!
Harald
As of version 12, the plugin has a configuration option (admin panel, settings menu, embed chessboard item) to configure vertical/horizontal layout, as well as tag option such as [pgn layout=horizontal] … [/pgn]
pgn4web