Issue with Custom Post Type
-
Is there any way to uncheck all of the post types and use a shortcode on the posts where I do want it to appear? The problem I have is that I wanted to use RTOC for one custom post type, Help Docs, and not use it for another custom post type, Events. When I had “Posts” checked in the settings, it worked beautifully on Help Docs, showing right where I added the shortcode. However, it also showed automatically on Events, where we cannot have it.
(Events are created with the Events Manager plugin, which is fairly popular, so there may be other users who have a similar problem. We don’t have any regular posts so that is not an issue, at least not yet.)
I tried to uncheck “Posts” but with everything unchecked, when I reloaded the settings page, all three were checked – Posts, Pages and Categories. So I checked “Categories” only. Then it did not show on the Events pages and it still showed on the Help Docs pages, which would have been great except that the open/close button had no text in it and no longer did anything, so now I could not toggle the menu closed.
This is one of the few table of contents plugins that keyboard-only users can use, so I would very much like to get it working on our site. Also, it correctly indexed the headings on a very complicated page, which another plugin failed to do. I may keep it and use CSS to make the RTOC not display on the Events custom post type, but I’d rather not if I don’t have to. The plugin is exactly what we need, except for this issue.
- The topic ‘Issue with Custom Post Type’ is closed to new replies.