[Resolved] [Plugin: Embed Chessboard] Change display
I added this question in an aged thread it seems…sorry about that so I try again here:)
This is a very nice chess plugin! Thank you! I am planning to use this in a future upgrade of my chess clubs homepages. What I would like, is a possibility to change the layout in a way that puts the chessboard to the left and the moves to the right, not as at present where the board displays above the moves. Is there any way that we can achieve this?
We use version 1.11 on 2.9.2
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:
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:
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
heighttag option; otherwise the plugin will estimate height assuming a vertical layout.
Please post here or email me the URL of your site!
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!
- The topic ‘[Resolved] [Plugin: Embed Chessboard] Change display’ is closed to new replies.