petesocke
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PostRatings] ratings are gone after updating the pagesolved
Forum: Plugins
In reply to: [WP-PostRatings] ratings are gone after updating the pagehey Lester, thanks a lot for your answer.
the guys of the affiliatetheme fixed the issue.
Forum: Plugins
In reply to: [WP-PostRatings] ratings are gone after updating the pageone more information:
i use wp-postratings in combination with affiliatetheme.io. they have integrated the advanced custom fields plugin. could there be the problem, that they use the same identifier for the custom fields?
by using another theme the problem isnt here. so that is a problem with the theme.
- This reply was modified 7 years, 5 months ago by petesocke.
Forum: Plugins
In reply to: [WP-PostRatings] lost ratings after edit post/pagethe problem seems to be that if i edit the post, there will be a delete and den a replublish… so the function resets all ratings.
Forum: Plugins
In reply to: [WP-PostRatings] lost ratings after edit post/pagethere is a bug in your plugin:
add_action('publish_post', 'add_ratings_fields'); add_action('publish_page', 'add_ratings_fields');
we fixed it:
add_action('transition_post_status', 'add_ratings_fields', 10, 4); function add_ratings_fields($new_status, $old_status, $post) { global $wpdb; $post_ID = $post->ID; if($new_status == "publish" && $old_status != "publish") {
now it works
Forum: Plugins
In reply to: [WP-PostRatings] lost ratings after edit post/pagethe problem is the function add_ratings_fields.
everytime i edit a post/page, this function resets alle ratings because it seems to be publishing the post/page.do you know why?
Forum: Plugins
In reply to: [WP-PostRatings] lost ratings after edit post/pageif i deactivate wp-postratings and edit a post/page…. the stars will NOT be deleted
Forum: Plugins
In reply to: [WP-PostRatings] lost ratings after edit post/pageHey, if i use the default theme twenty sixteen, it works
i am using WP Rocket
Forum: Plugins
In reply to: [Visualizer: Tables and Charts Manager for WordPress] annotations in the barsi think i still found the answer that it is not possible to display the value near the bars and charts…
like here: https://google-developers.appspot.com/chart/interactive/docs/gallery/columnchart
Search for Labeling columns, than you see what i mean.or is it possible in the pro version?
now it works… the problem was that i had a add_action in the functions.php that deregistrates the jquery code.