• I’d like on certain places to show Stars via the short code and text in other locations.

    Currently in the options it looks like you have to globally set short codes to use either the default text or choose stars. However, can’t seem to find a short code for controlling this so that you can use stars in one place and text another via a short code? Is their an undocumented shortcake to do this or any potential work around? Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Nuanced Media

    (@nuanced-media)

    This is currently not a built in function, however, could be added quite easily with the use of a custom parameter in the snippet shortcode and bit of modification to the php handler. The shortcode parameter would need to be interpreted by the shortcode handler in rich-reviews.php line 448, and then passed through to the handle_snippet() function. In this function in shortcodes/rr-snippet.php you would simply need the presence of your custom parameter to override the the default setting in the $options array. I would recommend just using a display_override parameter, where display_override="stars" implements the stars display and display_override="text" implements the numeric display. If you wanna take a crack at this yourself, feel free to ask any questions that arise, otherwise, I will try to get together a few snippets that you can implement when I have a moment.

    Cheers,
    Charlie Maxwell
    [NM_Developer]

    Thread Starter makemymark

    (@makemymark)

    Great, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘text_only=”true” Option?’ is closed to new replies.