Polldaddy doesn’t show up on own theme
The wp_footer() function has to be called in footer.php, just before closing the page with </body>.
The wp_footer() function has to be called in footer.php, just before closing the page with </body>.
From what you’ve mentioned, this could be done by adding a new field to the user_meta on the back end. Then, you could use an approach similar to what’s documented here for front end editing by users: How to edit a user profile on the front end?
Most of the times when someone uses the words “WordPress” and “community” together the answer is Buddypress. Regarding your requirements I would say: social media login, user panel can be handled well by plugins, but content rating, output content based on ratings sounds like something that has to be custom-coded. But this also depends on … Read more
I would modify your design a bit so you can leverage the data as well prevent logic mistakes that may ruin your stats. First I would store up and down votes as two separate meta values. The reason is that you can then display both if you desire, as well as calculate votes as a … Read more
As stated in the comments below the question, Comments don’t have ratings in WordPress I went on and inspected the HTML source for one of my posts and figured out which plugin generated the rating based on the CSS class name. I should have known better. The plugin is Tasty Recipes by WP Tasty. I … Read more
i bet there are a lot but i have used Comment Rating plugin before and its very good just for that.
The only difference you need is the place where the IP address will be stored. Instead of a post meta use an option. So, where the script says … $voter_ips = get_post_meta($postid, “voter_ips”, true); … use … $voter_ips = get_option( “wpse_59080_voter_ips”, true ); … and where it updates a post meta you should update the … Read more
Instead of redefining wp_star_rating() for the front end, you should be able to just use the built-in function. From the Codex page for wp_star_rating(): In order to use this function on the front end, your template must include the wp-admin/includes/template.php file and enqueue the appropriate dashicons CSS font information. (emphasis mine) A code sample is … Read more
You can store the ratings as user meta. When a rating is added, add it to the user’s ratings using add_user_meta(): add_user_meta( $user_id, ‘_ratings’, $rating, false ); The last parameter tells it to add the current rating to the meta as a new item, not to replace the existing. All ratings can then be retrieved … Read more
Here’s something I’d use if I want to do that without using plugins Create a custom field as rating and provide the value while doing post. Suppose I gave a rating of 6, Now wordpress save it into the database as. meta_key => rating meta_value => 6 Now to show the rating on post I’ll … Read more