Changeset 727733
- Timestamp:
- 06/18/2013 04:26:29 AM (13 years ago)
- Location:
- gplus-comments/trunk/includes
- Files:
-
- 2 edited
-
lib/hooks.php (modified) (3 diffs)
-
templates/container.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gplus-comments/trunk/includes/lib/hooks.php
r725556 r727733 39 39 if (!(is_singular() && (have_comments() || 'open' == $post->comment_status))) { return; } 40 40 41 /*42 if (file_exists(TEMPLATEPATH . '/container.php'))43 {44 return TEMPLATEPATH . '/container.php';45 }46 else47 {48 */49 41 return GPLUS_COMMENTS_TEMPLATES . '/container.php'; 50 /*51 42 } 52 43 */ … … 83 74 { 84 75 print "\n<script>jQuery('#comment-tabs').tabs();</script>\n"; 85 /*86 <script type="text/javascript">87 (function() {88 var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;89 po.src = 'https://apis.google.com/js/client:plusone.js';90 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);91 })();92 </script>93 */94 76 } 95 77 add_action('wp_footer', 'gplus_comments_enqueue_scripts', 4269); … … 135 117 136 118 119 // [bartag foo="foo-value"] 120 function bartag_func( $atts ) { 121 extract( shortcode_atts( array( 122 'foo' => 'something', 123 'bar' => 'something else', 124 ), $atts ) ); 125 126 return "foo = {$foo}"; 127 } 128 add_shortcode( 'bartag', 'bartag_func' ); 137 129 138 130 139 131 132 -
gplus-comments/trunk/includes/templates/container.php
r727315 r727733 49 49 } 50 50 $active = ' class="active"'; 51 foreach ($tab_order as $tab)51 foreach ($tab_order as &$tab) 52 52 { 53 $tab = trim($tab); 53 54 echo "<li ".$active."><a href='#".$tab."-tab'>"; 54 55 if(!$options['hide_icons'])
Note: See TracChangeset
for help on using the changeset viewer.