ThemeNcode Docs

Bookshelf Shortcode

Estimated reading: 1 minute


This shortcode allows you to display selected PDF viewers using a BookShelf Style. It comes with a few parameters.

  • viewer_id: This is the list of comma-separated id’s of the viewer you want to embed. Use maximum 5 id’s or each shelf
  • open_type: This parameter defines how the viewers should appear, you can choose between link & popup.
  • link_target: It is applicable if you’ve used link in open_type parameter. Select _parent for same tab or _blank for new tab
  • shelf_type: Style of Shelf, currently applicable values are style-1, style-2, style-3, style-4
  • css_class: You can use any css class if you want to apply custom styles to the shelf.

An example of this shortcode:

[pvfw-book-shelf viewer_id="1,2,193,398,348" open_type="popup" link_target="_parent" shelf_type="style-2" css_class="my-custom-shelf"]

Use this on any page or post.

Leave a Comment