=== Multisite Language Switcher Comments === Contributors: DSmidgy Tags: multilingual Requires at least: 3.2 Tested up to: 3.6 Stable tag: 0.1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Extension for Multisite Language Switcher plugin. Stores all comments into first blog in multisite setup and displays them on all joined pages. == Description == This is extension for Multisite Language Switcher plugin http://wordpress.org/plugins/multisite-language-switcher/ All comments posted on translation-joined pages gets stored into first blog. Then all comments are displayed on all translation-joined posts. THIS PLUGIN IS NOT YET READY FOR PRODUCTION USE (read FAQ) == Installation == You need to edit the comments.php in your theme folder. This needs to be edited in twentyeleven theme:
* add ID, $comments ); ?> at the beginning, after "// You can start editing here"
* add at the end, before last [/div]
* replace "have_comments()" with "get_comments_number( $mslsJoinedComments->getPostId() ) > 0"
* replace "get_comments_number()" with "get_comments_number( $mslsJoinedComments->getPostId() )"
* replace "get_comment_pages_count()" with "get_comment_pages_count( $mslsJoinedComments->getComments() )"
* replace "wp_list_comments( array( 'callback' => 'twentyeleven_comment' ) )" with "wp_list_comments( array( 'callback' => 'twentyeleven_comment' ), $mslsJoinedComments->getComments() )"
== Frequently Asked Questions == To do:
* notifications are always send in the first blog's language
* page count does not work on translated posts
* some glitches, because the plugin has not been thoroughly tested yet
== Changelog == = 0.1 = * First version = 0.1.1 = * Fixing readme file