Title: inserting Rating Widget php shortcode in TablePress
Last modified: August 22, 2016

---

# inserting Rating Widget php shortcode in TablePress

 *  Resolved [Wizd3m](https://wordpress.org/support/users/wizd3m/)
 * (@wizd3m)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/)
 * Hello,
 * I’m having just a bit of trouble getting the stars from my front posts (post 
   excerpts) to appear in a dedicated column in TablePress. More specifically, I’m
   having difficulty getting them to show when I log out. Here’s what I did:
 * In the User Ratings column seen here ([http://themasterfoundry.com/game-reviews-archive/](http://themasterfoundry.com/game-reviews-archive/))
   I’ve manually added the following shortcode for each of my game reviews by inputting
   the appropriate post ID number.
 * <?php rw_the_post_rating(2637, ‘front-post’); ?>
 * While I’m logged in, the stars display exactly as I want them too, showing the
   front-post ratings. I set them to show front post ratings as opposed to the blog
   post ratings so that I could have them be Read Only, while the blog ratings will
   remain interactive.
 * The problem I’m having is that when I log out of my website, the stars in that
   column don’t generate. Could anyone please recommend something? I feel like I’m
   so close to getting it all working.
 * Also, is there any way to adjust that previously posted php line directly to 
   make the starts Read Only? or larger/smaller? do those parameters exist? Nothing
   of the sort seems to be mentioned here: [http://rating-widget.com/support/wordpress/shortcodes/is-there-any-php-shortcodes-i-can-use-for-my-custom-posts-templates/#platform](http://rating-widget.com/support/wordpress/shortcodes/is-there-any-php-shortcodes-i-can-use-for-my-custom-posts-templates/#platform)
 * Thank you very much for your time and help!
 * Anton
 * [https://wordpress.org/plugins/rating-widget/](https://wordpress.org/plugins/rating-widget/)

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

 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/#post-5522976)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The is most likely related to the table output caching that TablePress uses. 
   To fix this, please try extending the Shortcode that you are using with another
   parameter, like
 *     ```
       [table id=6 cache_table_output=false /]
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Wizd3m](https://wordpress.org/support/users/wizd3m/)
 * (@wizd3m)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/#post-5522990)
 * Hello Tobias,
 * Thank you for the swift answer. Your Shortcode edit did the trick 🙂 This RatingWidget
   plugin and your TablePress plugin continue to impress!
 * Just wondering, will this Shortcode modification have any adverse effects on 
   the table/site as a whole?
 * Thanks again, I truly appreciate the help,
 * Anton
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/#post-5523000)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * No, this should not have any side effects. Your table is rather small, so that
   the benefits of the output caching are not that big anyways.
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!
 *  Thread Starter [Wizd3m](https://wordpress.org/support/users/wizd3m/)
 * (@wizd3m)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/#post-5523045)
 * Just did 🙂 Thank you again for your help and keep up the great work!
 * Anton
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/#post-5523050)
 * Hi,
 * thanks, I really appreciate that!
 * Best wishes,
    Tobias

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

The topic ‘inserting Rating Widget php shortcode in TablePress’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rating-widget_4db0e0.svg)
 * [Rating-Widget: Star Review System](https://wordpress.org/plugins/rating-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rating-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rating-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/rating-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rating-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rating-widget/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/inserting-rating-widget-php-shortcode-in-tablepress/#post-5523050)
 * Status: resolved