Widgets & Shortcodes

As every good plugin, Writer Helper proposes widgets and shortcodes to help you display your books on your website.

Shortcodes

Publish your book

[writerhelper id=2]

Surely the most important one, this shortcode is displayed on the “My Books” page for each book.

Only published chapters will be displayed.
If a chapter with a different status (except trashed) exists between two published chapters, only the published chapters before a “not published” chapter will be displayed.

List of your “published” books

[writerhelper_books]

This shortcode allows you to display a list of published books or books containing published chapters.

Display a book info

[writerhelper_bookinfo id=2]

This shortcode displays the info of a selected book.
Useful to promote your “coming soon” books.


Widgets

Last publications

Display the last published books or chapters.
You can choose the number of elements to display.

Library

List of published books or books containing published chapters.

Search books

Search field to look for a published book or book containing a published chapter.
Search only in books’ title.

Book’s summary

Display the summary of a selected book.

Book’s info

Display book’s info.

Book’s summary when a book is displayed

Display the summary of the book displayed on the page via [writerhelper] shortcode.
If no book is displayed, nothing is displayed.

N.B.: This widget must be placed on the right sidebar of the page because the [writerhelper] shortcode sets up the book id to use.

Book’s info when a book is displayed

Display the info of the book displayed on the page via [writerhelper] shortcode.
If no book is displayed, nothing is displayed.

N.B.: This widget must be placed on the right sidebar of the page because the [writerhelper] shortcode sets up the book id to use.