Introduction: Instructables Wordpress Plugin
Version 2 released
Want to have a list of Instructables by Author or KeyWord on your WordPress based site? I've created other solutions in the past but now I have created a free WordPress plugin to make this easier for more people. If you do not use WordPress or want to do it yourself see my older instructable on how to do this. This plugin will always be free and opensource.
It's official!!! The plugin has been published to WordPress.
Display a user's projects:
[instructablesUP username="MrRedBeard" num="2" thumb="true" tileview="true"]
Replace the username "MrRedBeard" with another username and keep the quotes. Replace "2" for the num to change the number of projects you want displayed. If you do not want thumbnails of the projects then change thumb to false.
Display a list of projects by keyword:
[instructablesKW keyword="tent" num="3" thumb="true" tileview="true"]
Replace the keyword "tent" with another word and keep the quotes. Replace "3" for the num to change the number of projects you want displayed. If you do not want thumbnails of the projects then change thumb to false.
I welcome and would love your feedback and suggestions. PM or post below.
- Updated 20170715:
- You can now define and store instructables feeds
- Added editor support
- Added ability to display a group's instructables
- Added ability to have multiple keywords
Added function to display a user's favorites
Made functions more efficient and removed redundancies
- Can now display in tiles.
Step 1: Lets Expand This Plugin Together
I will be setting up a github project for this plugin and welcome others to contribute. The code will be fully documented for ease of understanding. If you do not have experience with WordPress plugin development no worries I am currently writing an Instructable on writing your first WordPress plugin.
I am using php's simplexml_load_file() to grab xml feeds from Instructables. This may not work with all hosting platforms so let me know if you get errors. The following are a few of the XML feeds published by Instructables. Play with these and create variations. If you find something useful or just cool let me know in the comments.
I already include the keyword and username feeds. Would you use any of the others or expand upon theme?
The XML Feeds
- XML Recent Instructables
- XML of FEATURED Instructables
- XML of a user's groups
- List of a user's collections
Feed from of projects by members you subscribe to - https://www.instructables.com/member/MrRedBeard/rss.xml?show=subscriptions
Removed from Instructables
A member's followershttps://www.instructables.com/member/MrRedBeard/rss.xml?show=FOLLOWERS
Who a member followshttps://www.instructables.com/member/MrRedBeard/rss.xml?show=FOLLOWING
Other URL tricks
- Intro #step0
- Step 1 #step1
Profile Image - div class="user-image" img src