Support for Custom Post Types
-
Am digging into the code for your plugin in rating.php function spr_show_rating().
You currently don’t account for the fact that it could be a custom post type. The first if statement checks to see if it’s a single page. The second one checks to see if it’s an archive or the homepage (and in a loop?).
Should tailor the logic to allow for posts that are in the loop and not on the homepage.
If I find a workable solutions I’ll post here for inclusion.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Support for Custom Post Types’ is closed to new replies.