remove the text under the star ratings?

This topic contains 3 replies, has 2 voices, and was last updated by  arcab4 1 year, 6 months ago.

  • Creator
    Topic
  • #52366

    arcab4
    Participant

    how do i go about just displaying stars and removing all the text below it such as

    You have already voted…

    thanks!

    Topic Information
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #52367

    arcab4
    Participant

    the php code i am currently using is

    gdrts_posts_render_rating(array('echo' => true, 'name' => 'post', 'id' => 'the_ID()','method' => 'stars-rating' )); 

    following the instructions listed here

    https://support.dev4press.com/kb/article/manually-add-rating-block-with-php/

    thanks!

    #52378

    MillaN
    Keymaster

    The look of the rating block is controlled by the template. In main settings you have option to choose template, and you can set this template with the function too (second array with method parameters). So your example becomes:

    gdrts_posts_render_rating(
      array('echo' => true, 'name' => 'post', 'id' => 'the_ID()','method' => 'stars-rating'),
      array('template' => 'default');

    And, you need to modify the template to change what is displayed and how it is displayed. Here is the tutorial on templates, and how to make a copy of default one: https://support.dev4press.com/kb/article/rating-templates/.

    Regards,
    Milan

    Dev4Press - Premium plugins for WordPress.

    #52384

    arcab4
    Participant

    awesome. thanks! that worked after you get more familiar with the setup and syntax! Thanks!

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

You must be logged in to reply to this topic.