Custom Post Types rendering Shareaholic Buttons
-
Hi.
I’m Josh, developer of Ultimate Tinymce.I have a feature in my plugin which uses a custom post type as a widget builder. The custom post type is registered to WP under a unique name (prefexed with an identifier).
A client brought to my attention the Shareaholic buttons are appearing in the widget areas, where the custom post type is being used as the widget content. Because of this, the buttons are appearing twice: once in the main content area (as expected); and a second time in the sidebar widget area (undesired).
I have downloaded and installed your plugin to test. After exploring the admin panel; I notice there is only the option to add share buttons to Posts or Pages.. but nothing about custom post types (such as mine, and many others I’m sure).
My question:
Would you consider adding an option to allow/disallow the buttons (and related content) to appear on custom post types?
Thank you very much!
EDIT:
I was just doing a little digging around in your code. I think (please excuse my directness; I know you know your plugin better than I) in the ‘utilities.php’ file, on line #289, is a function which identifies the webpage as “index, page, post, or category”.
I’m pretty sure this is where the issue is originating.
Again, thank you.
The topic ‘Custom Post Types rendering Shareaholic Buttons’ is closed to new replies.