• Resolved livingwithadd

    (@livingwithadd)


    How do I get comments back on my individual book pages? I imported books via the bulk import feature and the comment option was on each book page. When I went in and edited the books the comment option disappeared from each page.

    What code do I as to what file to get the comments back?

    Thanks!

    https://ww.wp.xz.cn/plugins/mybooktable/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter livingwithadd

    (@livingwithadd)

    Plugin Author Thomas Umstattd

    (@neovita)

    What theme are you using?

    I too am interested in how to enable comments on book pages as I currently can’t see how to do it.

    I am using the 2013 theme and the latest version of MyBookTable.

    Plugin Author Thomas Umstattd

    (@neovita)

    Comments are a function of the theme not the plugin. Try disabling “compatibility mode” this gives the theme more control over the page.

    Are you wanting book reviews? Because if that is the case I would recommend using the GoodReads integration instead.

    I sorted it. It is a function of the custom post type within the plugin that allows the theme to control the comments.

    In the file that creates the custom post type for the plugin, I changed

    'supports' => array('title')

    To
    'supports' => array('title', 'comments')

    Plugin Author zookatron

    (@zookatron)

    We do not have comments in the ‘supports’ option because most of the users we have actively do not want comments to show up on their book pages.

    However, editing the plugin directly is not recommended, as it will be overwritten by future plugin updates, and it is important to keep your plugins updated to keep your site secure. The recommended way to change something like this is by using the MyBookTable template system, which you can read more about on our wiki here: https://github.com/authormedia/mybooktable/wiki/Template-System-Overview

    You will probably want to insert a call to comments_template(); into the single-book/content.php template in order to achieve the effect you want.

    ~Tim

    Thread Starter livingwithadd

    (@livingwithadd)

    How do you know most people don’t want them?

    I don’t remember being asked if I would like this option before or after I paid for this plug-in.

    If most people don’t want them you could still give us the option in settings by have it turned off by default. As a paid customer I’m disappointed that this is not an options and you just assume people don’t want it.

    Plugin Author zookatron

    (@zookatron)

    We know because we have had many more support requests from people asking how to remove comments from their book pages. Many themes do not properly look at the ‘supports’ value and show the comments anyway, which many of our users have found undesirable.

    We have a “decisions not options” policy for our plugin, following the WordPress Philosophy. We actively try to keep the plugin as simple and easy to use as possible for new users, which sometimes means leaving out options that only a few of our users will ever want. As it is currently, this is something that would help very few people and would confuse many more, since like I said the ‘supports’ value is not always even used properly by themes. We do, however, want to allow the full range of flexibility to advanced users, and support whatever kind of customization you need via custom PHP development, as I said.

    Thanks Tim. That seems to work.

    Whilst it’s not the simplest of solutions for those not technically minded, the geek in me quite admires the template system you have implemented and the ability to utilise the backend data however we see fit.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Comments on Book Pages’ is closed to new replies.