This widget displays a random book cover of a Smashwords author. It can be used by authors to display their work, by fans or by Smashwords affiliate partners on their own WordPress blog. If you use another system you might want to try our Smashwords Book Widget for Websites.
The author, affiliate and text can all be configured.
Please note: This widget is developed and maintained by UnleashYourAdventure. We developed it for us as well as our affiliate partners. We offer it as Open Source to give something back to the community. If you find it useful feel free to use it as well!
This plugin is not developed or supported by Smashwords.
Read more about how to become our affiliate partner and earn 50% of the ebook price.
Installation
- Search for the plugin under Plugins -> Add new -> Search or
download it and and upload it to your blog under Plugins -> Add new -> Upload - Activate the plugin through the ‘Plugins’ menu
- Decide where you want the widget to appear on your blog under Appearance -> Widgets
- Edit the settings in the widget on the same page (insert author name)
Thanks for the widget — it works great. Would really appreciate an option to left align in the next update, if possible.
Hi Martyn,
thanks for your suggestion.
I agree, having the widget left centered as default makes sense. I will change that in the next version.
Until then if you want you can change it manually. You need to edit the css file:
Plugins -> Installed Plugins -> Smashwords Book Widget -> edit -> SmashwordsBookWidget.css
Edit the following lines:
.swbw_slide {
text-align: left;
}
.swbw_slideshow {
margin: 0;
}
I hope that helps. Or you wait for the update. I will update the Widget within the next days.
Thanks Patrick,
I made the changes to the css and it looks great.
Hi Martyn,
the book widget is now left aligned by default (since version 1.5). The books appear in a gray frame. This is because there are different book sizes out there, I hope that makes for a better look.
Enjoy
Patrick
This is a great widget. Thank you very much for making it available.
I’d like to be able to display the books vertically in a sidebar. I’ve looked at the code in an attempt to “do it myself”, but I’m not experienced enough to change the display parameters to make a vertical display. Is this possible?
Hi Peter,
thank you for using our widget. You are right, a vertical version is missing. I added it. Please update to the newest version (1.06) and switch the layout to vertical in the settings.
Enjoy!
Patrick
Thank you so much for the time you’ve spent on this widget!
Hello, the “more books” link isn’t working for me. (Version 1.06)
It directs to http://mysite.com/?ref=UnleashYourAdventure
Any suggestions?
Thanks,
Markus
Also, would it be possible to have more books in a row?
Say I have 4 books and want two in one line and two in the next.
Servus Markus,
unfortunately I have not the time to implement this at the moment since I am developing a second widget for non WordPress users. But here are some ideas:
There is the option to have the books either vertical or horizontal aligned, Maybe you want to add the widget twice.
You can also modify the code, its Open Source under the MIT license. If you provide me a patch I will gladly include that option.
Viele Gruesse
Patrick
Servus Markus,
thanks for pointing that out. I checked the code and found the bug. I fixed it, the fix will be available in the next version (1.07).
Viele Gruesse
Patrick
Hmm, it’s still not working. (Version 1.09)
The more link is now “http://www.smashwords.com/profile/view/?ref=UnleashYourAdventure”, which should be “http://www.smashwords.com/profile/view/author?ref=UnleashYourAdventure”.
Liebe Grüße,
Markus
Servus Markus,
please try again with the newest version (1.12).
This is a persistent little bug!
Sorry for fixing it only half way.
Viele Gruesse
Patrick
Thanks,
It’s working perfectly now.
I love this widget. However, I am new to the blogging world at wordpress. I searched for the plug in option in my wordpress dashboard, but I cannot seem to find it.. Could you please tell me where to find the Plug in, I searched under several categories, but can’t seem to find it.
Hello Roy,
I’m glad you like the widget 🙂
First you need to install the widget under Plugins.
Afterwards you can add the widget to your WordPress blog under Appearance -> Widgets -> Available Widgets. From there you can drag it to a side bar of your choice. After dropping it to a side bar you can configure the widget. Its possible to add the widget more then once with different settings.
I hope this helps, if not please don’t hesitate to ask again.
Cheers Patrick
Love this widget but want to put it on a page on wordpress..is this possible…?
I have it on a sidebar but want it to have a page of its own..
Many thanks Brendan…
Irelands4u.com
Hi Brendan,
unfortunately WordPress doesn’t allow widgets on pages out of the box.
However there are some workarounds…
http://wordpress.org/support/topic/how-to-embed-a-widget-into-a-post-or-page
You also might want to try our Smashwords Widget for Websites:
http://unleashyouradventure.com/smashwords-book-widget-for-websites/
Cheers Patrick
My website is only displaying text, is there a way I can get it to show a book thumbnail.
Also as an Affiliate, do you automatically enter my ref to the book link?
Thanks
Hi Jo,
thanks for your interest in the widget! The widget shows only thumbnails of book covers, no text. Can you sent me a link where I can see the problem?
We have 2 versions of the widget:
Smashwords Book Widget for WordPress
Smashwords Book Widget for Websites
In the first one you can add your affiliate link (how is described in the link)
In the second one you cannot since we have to run and maintain it on our server
I hope that helps, if you have more questions feel free to comment agin or write us an email at unleashyouradventure [AT] googlemail.com
Patrick
This works greatly, thanks for sharing.
Plugin doesn’t work for me at all. Does it take a while for it to start working?
Hi Don, Sorry it took so long to write back, we have spent the last 2 weeks moving and our internet time has been neglected. Thanks for letting us know there is a problem. Smashwords has changed something and now Patrick is looking into it to get the widget up and running again!
Hi Don, it should work again. Di you experience any more problems? Cheers Patrick
Hello Patrick,
We have been using your Smashwords book widget for some time (with you as affiliate). It’s a great tool for our 6 books! With the latest Google update warning, I feel that I should make the books “nofollow” but I lack the coding skills to know just where to put the tag. If you could just show where I should place it, that would be very helpful!
Thanks for your time and help.
Hi Dee,
I’m glad you like our widget. Thank you!
I’m not sure I understand you correctly. You want to make the link to Smashwords a “nofollow” link?
You can also write me an email at unleashouradventure AT gmail.com for more details.
Cheers Patrick
hi
God of strength
Plugin works is really well and very good
Thank you
Thanks for a great Smashwords website widget. It’s been working flawlessly until Smashwords updated their web site this week. Consequently, I’m unable to get the book covers to show in the sidebar since the update. Is anyone else having this problem?
The latest update borks my sidebar and footers. I wonder if there might be a missing div somewhere.
Hi Peter,
I just fixed the plugin (again).
I hope it works now. We had the same problem.
Sorry for the bug.
Patrick
Thank you.
I fixed it, it should be working again with version 18.
Patrick
v1.18 works perfectly. Thanks again for a great plugin.