• Resolved Wizd3m

    (@wizd3m)


    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/) 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

    Thank you very much for your time and help!

    Anton

    https://ww.wp.xz.cn/plugins/rating-widget/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    (@wizd3m)

    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

    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 here in the plugin directory. Thanks!

    Thread Starter Wizd3m

    (@wizd3m)

    Just did 🙂 Thank you again for your help and keep up the great work!

    Anton

    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.