Exemplo n.º 1
0
&title=<?php 
        the_title();
        ?>
" target="_blank"><img src="<?php 
        echo compat_get_plugin_url('wptouch');
        ?>
/themes/core/core-images/bookmarks/reddit.jpg" alt="" /> <?php 
        _e("Reddit", "wptouch");
        ?>
</a></li>
		</ul>
	</div>

<!-- Let's rock the comments -->
<?php 
        if (bnc_can_show_comments()) {
            ?>
	<?php 
            comments_template();
            ?>
<script type="text/javascript">
jQuery(document).ready( function() {
// Ajaxify '#commentform'
var formoptions = { 
	beforeSubmit: function() {$wpt("#loading").fadeIn(400);},
	success:  function() {
		$wpt("#commentform").hide();
		$wpt("#loading").fadeOut(400);
		$wpt("#refresher").fadeIn(400);
		}, // end success 
	error:  function() {
Exemplo n.º 2
0
			<?php 
        if (is_home() && is_sticky($post_ID) && $wptouch_settings['post-cal-thumb'] == 'nothing-shown') {
            echo '<div class="sticky-icon-none"></div>';
        }
        ?>
			<?php 
        if (is_home() && is_sticky($post_ID) && $wptouch_settings['post-cal-thumb'] != 'nothing-shown') {
            echo '<div class="sticky-icon"></div>';
        }
        ?>

 		<?php 
        if (!function_exists('dsq_comments_template') && !function_exists('id_comments_template')) {
            ?>
				<?php 
            if (wptouch_get_comment_count() && !is_archive() && !is_search() && bnc_can_show_comments()) {
                ?>
					<div class="<?php 
                if ($wptouch_settings['post-cal-thumb'] == 'nothing-shown') {
                    echo 'nothing-shown ';
                }
                ?>
comment-bubble<?php 
                if (wptouch_get_comment_count() > 99) {
                    echo '-big';
                }
                ?>
">
						<?php 
                comments_number('0', '1', '%');
                ?>