Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chris Reynolds

    (@jazzs3quence)

    You can create your own template files in your theme for single book reviews by creating a file called single-book-review.php in your theme folder. The plugin will check for the existance of a single book review template and use that instead of the default template if it exists.

    If you don’t want to use the default book list at /book-reviews/ all you need to do is create a page and use the [book-review] shortcode. Documentation for the parameters is on the main plugin page and in the changelog. I’m hoping to add to the shortcode documentation this week.

    Thread Starter irenn

    (@irenn)

    Thanks
    How do I get rid of widgets on /book-reviews page? Is there a way I can change the template it is using?

    Plugin Author Chris Reynolds

    (@jazzs3quence)

    You can’t get rid of the page. It is just the default archive page for book reviews that is handled by WordPress. You can choose not to use it or link to it, but it isn’t possible to remove it entirely. You can change the template it is using by customizing your own archive-book-review.php file.

    Plugin Author Chris Reynolds

    (@jazzs3quence)

    I just reread your question and realized you weren’t talking about getting rid of the /book-reviews page, just the book reviews widget on that page. Sorry about that…

    The easiest way I can think of for doing this is using either Jetpack’s conditional widgets functionality or the plugin Widget Logic to add some conditional logic to that widget. The tricky bit here is that the book-review page isn’t a real page, it’s an archive page, so you’d need to set it to not display on book-review archive pages.

    https://www.ads-software.com/plugins/widget-logic/
    https://jetpack.me/support/widget-visibility/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘template and links’ is closed to new replies.