Title: Does not work in draft
Last modified: February 7, 2017

---

# Does not work in draft

 *  [luisolarte](https://wordpress.org/support/users/luisolarte/)
 * (@luisolarte)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/does-not-work-in-draft/)
 * I have a template that I have developed where I adapt the contents of my theme,
   and now I want to implement an evaluation system with your plugin, I found a 
   problem when the status of my post is draft, the following line of code does 
   not work:
 *  echo do_shortcode (‘[mr_rating_result]’);
 * However, if my post is published the same line of code works fine. Is there some
   line of code where you validate the status of the posts ?, and if there is, how
   could you change it so that they can be qualified in both status?
 * [https://www.dropbox.com/s/mmdh9dbhjii4d8w/Captura%20de%20pantalla%202017-02-07%20a%20las%2016.27.06.png?dl=0](https://www.dropbox.com/s/mmdh9dbhjii4d8w/Captura%20de%20pantalla%202017-02-07%20a%20las%2016.27.06.png?dl=0)
 * [https://www.dropbox.com/s/7pwcqm46hu1fhkm/Captura%20de%20pantalla%202017-02-07%20a%20las%2016.28.28.png?dl=0](https://www.dropbox.com/s/7pwcqm46hu1fhkm/Captura%20de%20pantalla%202017-02-07%20a%20las%2016.28.28.png?dl=0)
 * [https://www.dropbox.com/s/gqx7gagmc7tna87/Captura%20de%20pantalla%202017-02-07%20a%20las%2016.28.51.png?dl=0](https://www.dropbox.com/s/gqx7gagmc7tna87/Captura%20de%20pantalla%202017-02-07%20a%20las%2016.28.51.png?dl=0)
 * Tanks for your time.

The topic ‘Does not work in draft’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multi-rating_d6dfe6.svg)
 * [Multi Rating](https://wordpress.org/plugins/multi-rating/)
 * [Support Threads](https://wordpress.org/support/plugin/multi-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/multi-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multi-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multi-rating/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [luisolarte](https://wordpress.org/support/users/luisolarte/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/does-not-work-in-draft/)
 * Status: not resolved