Hi, I have a theme that has multiple post types and i would like to know of a method of disabling the display of the buttons only on the custom post types. Currently the displaying options has a generic “show on posts” option. Since that is checked it automatically displays on all custom post types which is not needed for the current site. Appreciate it if you could post a work around for it or an update!
I was able to prevent the scripts and css from loading in, and prevent markup from being written to the page by adding these lines of code to the functions.php of theme that my site switches to when displaying mobile pages.
You’ll probably need to figure out a way to make these lines only apply to a specific post type. My situation was a bit simpler, since I could just put it in the theme that applied.