Support » Plugin: EC Stars Rating » Sidebar Widget Working With Custom Post Types

  • I’ve installed the widget, and added the relevant PHP code into my template files, so that people can rate an “product”. This is a custom post type called… “product” …original hey! 😉

    Now I want to add the sidebar widget that shows the Top 5 posts, but where post type = “product”. Can you tell me how I can do this? I’ve played around with the ec-stars-rating-widget.php but with no success at the moment (

    http://wordpress.org/extend/plugins/ec-stars-rating/

Viewing 1 replies (of 1 total)
  • Plugin Author ecoal95

    (@ecoal95)

    That’s a good idea, will implement it in the next version, it’s just to play with the wp_query in line 85. Adding 'post_type' => 'product' should be enough, I’ll implement an option anyway

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar Widget Working With Custom Post Types’ is closed to new replies.