• Plugin Author Kemory Grubb

    (@w33zy)


    The Book List shortcode
    This shortcode creates a graphical list of books belonging to a particular custom taxonomy. If the chosen custom taxonomy only has 1 reviewed book, nothing will be displayed when rendering the content of this shortcode on the frontend.

    The default shortcode. [rcno-book-list]

    The shortcode uses a couple of parameters that can be changed or left at the default values. If the default values are being used, then it is not necessary to include them in the shortcode. The default values are listed below:

    • id The post/review ID, defaults to the current review post.
    • taxonomy The custom taxonomy to display the book list for, defaults to the the “series” taxonomy.
    • number Whether to display the book series number. Defaults to “yes”, use 0 for “no”.
    • header The header text for the book list, defaults to “Books in this series:”

    Examples of the book list shortcode:

    [rcno-book-list taxonomy="publisher" number=0 header="Books by this publisher:"]
    [rcno-book-list taxonomy="author" header="Other books by this author:"]

    The Review Box shortcode
    This shortcode display the book review score box in reviews or regular posts. This shortcode only needs the ID parameter if it is inserted into a regular post. If the shortcode is used in a regular post, the ID of the review it is attached to is needed.

    The default shortcode. [rcno-review-box]

    The default values are listed below:

    • id The review ID, defaults to the current review post ID.

    Examples of the review box shortcode:

    [rcno-review-box id=656]

    The Review Score shortcode
    This shortcode display the book review score box in reviews or regular posts. This shortcode only needs the ID parameter if it is inserted into a regular post. If the shortcode is used in a regular post, the ID of the review it is attached to is needed.

    The default shortcode. [rcno-score-box]

    The default values are listed below:

    • id The review ID, defaults to the current review post ID.

    Examples of the review score box shortcode:

    [rcno-score-box id=776]

    The Purchase Links shortcode
    This shortcode display the book purchase links in reviews or regular posts. This shortcode only needs the ID parameter if it is inserted into a regular post. If the shortcode is used in a regular post, the ID of the review it is attached to is needed.

    The default shortcode. [rcno-purchase-links]

    The default values are listed below:

    • id The review ID the purchase link is attached to
    • label Whether to display the purchase links label. Defaults to ‘yes’, use 0 for ‘no’.

    Examples of the purchase links shortcode:

    [rcno-purchase-links id=4334 label=0]

    The Book Listing shortcode
    This shortcode creates a list of books based on the comma separated list of reviews provided in the “ids” parameter.

    The default shortcode. [rcno-book-listing ids='']

    The shortcode uses a couple of parameters that can be changed or left at the default values. If the default values are being used, then it is not necessary to include them in the shortcode.

    The default values are listed below:

    • ids This a list of review IDs, separated by commas
    • wordcount The word count of the book description being displayed. Defaults to 30
    • heading Adds a heading to the listing of book. Defaults to empty string (not shown)
    • readmore The text displayed in the “read more” button. Defaults to “Read more”

    Examples of the book listing shortcode:

    [rcno-book-listing ids="352,5557,695,4333" wc=50 heading="Best sellers this week"]
    [rcno-book-listing ids="8976,334,765" readmore="Read review"]

  • The topic ‘Available Shortcodes’ is closed to new replies.