Title: Compatibility with Custom Post Types?
Last modified: September 1, 2016

---

# Compatibility with Custom Post Types?

 *  Resolved [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/)
 * Hi! First, I have to say that this plugin is amazing! The best I’ve found =)
 * So, on my website, there will be a lot of bars and I would like to put YASR on
   it. It worked well when the bars were posted as posts, but as I needed custom
   fields to add to each bar (address, website, etc.), I had to make custom posts
   but the plugin is not working on these custom posts. Is there any way to fix 
   it or any ideas?
 * Working YASR (post) [http://goo.gl/FGJX2r](http://goo.gl/FGJX2r)
    Not working
   YASR (custom post): [http://goo.gl/gKZBqi](http://goo.gl/gKZBqi)
 * Thanks in advance! =)
 * [https://wordpress.org/plugins/yet-another-stars-rating/](https://wordpress.org/plugins/yet-another-stars-rating/)

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

 *  Thread Starter [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510548)
 * Update: I tried to auto-insert YASR with “use only in custom post types” option.
   Didn’t worked. =/
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510594)
 * Hello adans_ix, sorry for the delay of this answer!
 * This is pretty strange, I’ve just tested it on my dev machine and it works.
 * Can you please try to deactivate yours plugin 1 by 1 and let me know?
 * Best,
    Dario
 *  Thread Starter [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510597)
 * Hey, Dario! Thanks for the answer.
 * Yeah, I don’t know whats going on =/
    I use a plugin from the theme’s dev (Themify.
   me) to add custom post types and even with this plugin and YASR activated, it
   doesn’t work =/
 * plugins list:
    Disqus Comment System Google for WordPress Instagram Feed WD *
   Post Type Builder PTB Extra Fields WP GCalendar *Yet Another Stars Rating
 * *=activated
 * best,
    Adans
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510606)
 * So so strange…can you please try to hide the average in the settings…or simply
   delete and create a new multi set?
 *  Thread Starter [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510617)
 * Hey, Dario! Thanks for the reply.
 * Yeah, I actually tried both and also uninstalling YASR and it didn’t work =/
 * Sometimes I get the following error when I try to hide the average votes. Dunno
   if it helps:
 * > Warning: array_key_exists() expects parameter 2 to be array, null given in /
   > home/metal650/public_html/wp-content/plugins/yet-another-stars-rating/lib/yasr-
   > settings-functions.php on line 712
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/metal650/public_html/wp-content/plugins/yet-another-stars-
   > rating/lib/yasr-settings-functions.php:712) in /home/metal650/public_html/wp-
   > includes/pluggable.php on line 1167
 * Also, are you sure this page is working?
    [http://metalomaniacs.com/index.php/bar/bar_tax_test/](http://metalomaniacs.com/index.php/bar/bar_tax_test/)
 *  Thread Starter [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510647)
 * Also tried on different browsers. Any ideas? =/
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510649)
 * Sorry again for the delay.
 * Yep in the normal post it’s working…this is a non sense, the code is just the
   same. What happens if you try to change your theme?
 * I’ll check that warnings, thank you for sharing this!
 *  Thread Starter [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510651)
 * No problem. Thanks for the reply =)
 * So, changed the theme, got the same problem. (it’s live if you want to check.
   Just tell me if you check it out, so I can change the Theme again).
 * Maybe it’s a problem of compatibility with the plugin Post Type Builder from 
   [Themify](http://themify.me/post-type-builder) ? =/
 * I tried to deactivate every other plugin and nothing changed =/
 * again, thanks!
 *  Thread Starter [adans_ix](https://wordpress.org/support/users/adans_ix/)
 * (@adans_ix)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510652)
 * Well… o.o apparently I deleted YASR and PTB again and installed it again and 
   WORKED! O.o
    Anyway, thanks for your time! Now I can make everything I want. 
   AWESOME!
 * Many thanks, Dario!
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510653)
 * So glad to hear this 🙂

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

The topic ‘Compatibility with Custom Post Types?’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

## Tags

 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)
 * [post-type](https://wordpress.org/support/topic-tag/post-type/)

 * 10 replies
 * 2 participants
 * Last reply from: [dudo](https://wordpress.org/support/users/dudo/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/compatibility-with-custom-post-types/#post-7510653)
 * Status: resolved