Created
April 21, 2013 18:13
-
-
Save vividvilla/5430489 to your computer and use it in GitHub Desktop.
Implement Google Plus Commenting to WordPress blog without using Plugin - Twenty eleven theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The template for displaying Comments. | |
| * | |
| * The area of the page that contains both current comments | |
| * and the comment form. The actual display of comments is | |
| * handled by a callback to twentyeleven_comment() which is | |
| * located in the functions.php file. | |
| * | |
| * @package WordPress | |
| * @subpackage Twenty_Eleven | |
| * @since Twenty Eleven 1.0 | |
| */ | |
| ?> | |
| <script src="https://apis.google.com/js/plusone.js"> | |
| </script> | |
| <div class="g-comments" | |
| data-href="<?php the_permalink(); ?>" | |
| data-width="800" | |
| data-first_party_property="BLOGGER" | |
| data-view_type="FILTERED_POSTMOD"> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment