• Resolved HawkEye of Manhattan

    (@themolio-design)


    Hello and congrats on a wonderful plugin that is very fast and compact with everything needed.
    I would like to change where the ratings are shown as they are shown on the very top of the page. I tried adding the following code in functions in a shortcode and to call that shortcode in my posts but it didnt work.

    function rating_function() {
      return '=function_exists('thumbs_rating_getlink') ? thumbs_rating_getlink() : ''';
    }
    add_shortcode('rating', 'rating_function');

    How would you recommend I can change the place where the ratings can be displayed? I believe the only thing missing thing from the plugin would be the shortcode adding to display the ratings so users can control where it will be added for example inside a post/page.

    Hope you can help, ive added a backlink to your plugin on my blogroll.
    James

    https://www.ads-software.com/plugins/thumbs-rating/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ricard Torres

    (@quicoto)

    Hi James,

    Check out the Installation instruction, you should use the B method to show the buttons: https://www.ads-software.com/plugins/thumbs-rating/installation/

    With this method you can place the snippet exactly where you want them to show up. You’ll have to put this somewhere in your single.php file or similar (depends on the theme).

    Best,

    Rick

    Thread Starter HawkEye of Manhattan

    (@themolio-design)

    Hi Rick,

    Thanks for your help. I tried B method but I cant really control where it appears within the post using that way. I can only control to show it on top of my content(post) or at the bottom of it.

    Would it be possible to have it as a shortcode to add within the post? to be able to inject any post with [thumbs_rating] and the thumbs rating to show up.

    Thanks in advance,
    regards
    James

    Plugin Author Ricard Torres

    (@quicoto)

    Hello James,

    Give me a couple of days and I’ll try to see if we can create a shortcode for the buttons.

    I’ll get back to you.

    Rick

    Thread Starter HawkEye of Manhattan

    (@themolio-design)

    Hello Rick,

    Of course, thanks for taking the time to make a great plugin you have created even better. I would recommend you have a donation link inside the plugin aswell in the control panel of it.

    James

    Plugin Author Ricard Torres

    (@quicoto)

    Nah, I don’t do it for money. Feel free to leave a review instead: https://www.ads-software.com/support/view/plugin-reviews/thumbs-rating

    Thanks

    Hey, this really seems like a much needed feature. Any news on when it will be implemented? It should be fairly, a simple execution of the B method in a shortcode should work. I couldn get it to work though.
    Any help?

    Thanks

    Plugin Author Ricard Torres

    (@quicoto)

    jack777,

    Soon! ??

    I’ll keep you guys posted.

    Rick

    Plugin Author Ricard Torres

    (@quicoto)

    The new and shiny Thumbs Rating 1.9 is out! It allows you to use the shortcode to show the buttons.

    Update from your WordPress admin and check out the installation tab.

    Let me know what you think!

    Rick

    Amazing work Rick works excellent thanks works perfect!!

    Thread Starter HawkEye of Manhattan

    (@themolio-design)

    Works perfect thank you Rick.

    I would like to change the VoteUP + 1 to a thumbs up image and the Vote Down -1 to a thumbs down image how could I do that as I am not very techy. Which files should I edit? I am sure many will ask this it would be nice adding it in the FAQ to make support for you easier.

    Regards
    James

    Plugin Author Ricard Torres

    (@quicoto)

    Jack777,

    Glad it works. Feel free to leave a review of the plugin ?? https://www.ads-software.com/support/view/plugin-reviews/thumbs-rating

    James,

    You’ll need to add some CSS to your theme’s stylesheet. It could be done in a thousand different ways. Take a look at the buttons, you’ll see there’s specific classes. Use them in your CSS to add a background image.
    Something like:

    .thumbs-rating-up{ background: url('path to the image'); }

    Rick

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Control where the rating is shown using shortcode’ is closed to new replies.