• Resolved Henry

    (@henrybaum)


    I’m trying to create a custom sidebar for MBT using a plugin. The developer of the main plugin for this says it’s incompatible:

    When I run is_page() function on Genres taxonomy archive it returns “true” and when I run is_archive() it returns “false”. It’s not rendered as archive it’s just regular page. So not only our plugin but also any other plugin that specifically works on archive pages will not work with this plugin taxonomies.

    https://www.ads-software.com/support/topic/not-working-for-some-custom-taxonomies/#post-10029603

    Is there a solution for this?

Viewing 1 replies (of 1 total)
  • Plugin Author zookatron

    (@zookatron)

    Hi Henry,

    I’ve responded to the ticket you submitted to our support system as well, so you can reply there if you have further questions.

    For everyone else that may benefit from this answer being here as well:

    This behaviour of MyBookTable archives being treated as pages is caused by MyBookTable’s “Compatability Mode”. This is turned on by default because most themes are unable to display MyBookTable pages correctly unless we make use of their generic “page” template and insert our content there, which requires telling the theme that it is just a “page”, rather than an archive.

    You can turn off “Compatability Mode” by going to the MyBookTable > Settings entry on your WordPress Admin Menu, and unchecking the Compatability Mode box. This may cause display issues with your theme because it does not know how to properly render the MyBookTable pages. You can fix these issues manually by following the instructions on our wiki about fixing theme problems, which will allow you to have both properly displaying pages and the use of plugins that require archive identification such as the Custom Sidebar plugin.

    ~Tim

Viewing 1 replies (of 1 total)
  • The topic ‘Using a Custom Sidebar’ is closed to new replies.