Plugin with which you can easily place puzzles on a given page using a shortcode. It has many settings that can also be easily changed in a given shortcode.
Download the repository as a ZIP package and upload it in the Wordpress administration panel.
All you need to do is put the shortcode in the place where you want to put the puzzle.
All pictures should be placed in the images
folder in the plugin directory (wp-content/plugins/wp-puzzle/*
).
All pictures should be in 800px X 600px format!
Sample shortcode:
[puzzle image="sample.jpg"]
- Ability to set the ID name of the div that contains the puzzle canvas.
- The width of the canvas on which the puzzles are placed. It also includes size outside the main frame with buttons and texts.
- The height of the canvas on which the puzzles are placed. It also includes size outside the main frame with buttons and texts.
- The background color of the main frame.
- The background color of the rest of the page
- Color of text and buttons.
- The image to be loaded from the "images" plugin directory
- Number of horizontal elements the puzzle consists of.
- Number of vertical elements the puzzle consists of.
- A field with a value of true and false. It allows you to center the puzzle on the page.
- Text above the puzzle.
All options with default settings:
[puzzle div_id="puzzle" width="1024" height="768" frame_color="null" frame_outerColor="null" text_color=#679b95" image="sample.jpg" horizontal_pieces="6" vertical_pieces="4" align_center="true" label_text="Puzzle - tap or shift tap to rotate"]
Plugin distributed under the GNU General Public License v3.0 License. See LICENSE.txt
for more information.
Puzzle javascript code released under the ZIM.js license.