Note: This guides assumes you have already successfully installed the plugin. If you’re unsure how to install a plugin, please see the WordPress documentation.
Once the plugin is installed, you will see a new menu item in your admin menu labelled “Patterns”. Choose Patterns > Settings and here you can set your primary craft (this saves you a little time each time you post a new pattern, by automatically selecting your primary craft for you) and also add some CSS styling if you need to tweak how the patterns are displayed. More settings will be available here soon.
Creating a pattern
Patterns -> Add new will bring you to a standard-looking post edit screen with a few important changes.
Writing the post
First of all, the text editor can be used just as you would in a normal post or page. The only difference here is placement of the pattern shortcode. If the shortcode is not used anywhere in the editor content, the pattern will be displayed at the end of the post when viewed on your site. If you’d like the pattern to be displayed in the middle of your post somewhere, add [pattern] where you’d like it to show up.
You can of course choose to leave the text editor completely blank, and only your pattern will be displayed with no accompanying text.
Writing the pattern
Now the exciting part! Below the main text editor you will find the pattern form. If for any reason this isn’t showing up, click “screen options” at the top right of your screen and make sure the Pattern Details box is checked.
Choose your craft, set a title (or leave the title blank if your pattern title is the same as your post title) and fill in whatever other information is relevant.
Instructions can be written all in one, or separated out into multiple steps with their own images.
When adding a new instruction, the “title” field will display as a subheading in your pattern. So for example you may give one instruction a title of “Body” and another “Finishing”. You can also leave the title field blank for intermediate steps that do not require a subheading to be displayed.
If an image is added to and instruction, bear in mind while writing the instruction text that the image will be displayed ABOVE the instruction text on your site. So for example you’ll want to use “see image above” rather than “see image below”.
The featured image displayed at the top of the pattern will be pulled from the featured image set on your pattern post.
Displaying patterns on other posts / pages
Sometimes you’ll find the need to display details of your pattern on a separate page to the pattern post itself. To do this, WP Craft Blogger provides a handy shortcode.
First you’ll need to find the ID of the pattern you’re trying to display. You can find this by editing the pattern in question, and finding the number in the URL as shown.
Now enter this shortcode on any other post / page where you’d like the pattern to be shown: [wpcb_pattern id=”XX”] replacing XX with your pattern ID.