When using Jetpack’s related posts comments shows in wrong place (Code request)
-
Hey guys from WpDevArt. We recently installed your facebook comments plugin on our network and we noticed that when sites have the related posts from jetpack active, the comment box shows in the wrong place (should be after the related posts as is the default comments).
We would like to propose a code change to give us and your users the ability to manipulate the priority.
At the __construct from front_end.php, we added the possibility do check a filter before defining the priority:
... $priority = 10; if(has_filter('wpdevart_comment_the_content_priority')) { $priority = apply_filters('wpdevart_comment_the_content_priority', $priority); } add_action('the_content',array($this,'insert_facebook_comment_in_content'), $priority); ...
This way we are able to change the priority as needed without messing with the default plugin behaviour.
Do you guys believe it’s possible to incorporate this code? We really appreciate if you could do it.
Thank you and congrats on the amazing plugin. ??
- The topic ‘When using Jetpack’s related posts comments shows in wrong place (Code request)’ is closed to new replies.