Пример #1
0
	<?php 
    if (function_exists('show_subscription_checkbox')) {
        ?>
	<p><?php 
        show_subscription_checkbox();
        ?>
</p>
	<?php 
    }
    ?>
    <p>
     <input name="submit" type="submit" id="sbutt" tabindex="5" value="<?php 
    _e('Submit Comment', 'arras');
    ?>
" />
     <?php 
    cancel_comment_reply_link(__('Cancel Reply', 'arras'));
    ?>
    </p>
   <?php 
    do_action('comment_form', $post->ID);
    ?>
  </form>
 <?php 
    if (function_exists('show_manual_subscription_form')) {
        show_manual_subscription_form();
    }
    ?>
 </div><!-- end #commentsform --></div>
 <?php 
}
/**
 * Provides Plugin Compatibility: Subscribe to Comments
 *
 * Adds the subscribe without commenting button
 *
 * @link http://wordpress.org/extend/plugins/subscribe-to-comments/ Subscribe to Comments Plugin Page
 */
function cleanyetibasic_show_manual_subscription_form()
{
    if (function_exists('show_manual_subscription_form')) {
        show_manual_subscription_form();
    }
}
function thematic_show_manual_subscription_form()
{
    if (function_exists('show_manual_subscription_form')) {
        show_manual_subscription_form();
    }
}
Пример #4
0
		<?php } elseif ( !comments_open() && pings_open() ) {
			// Only Pings are Open ?>

			<span id="trackback">
				<a href="<?php trackback_url(display) ?>" onclick="show('trackback');return false;" title="Trackback URI to this entry" rel="nofollow">Trackback</a> this entry.
			</span>
			<span id="trackback-hidden" style="display: none;">
				<input name="textfield" type="text" value="<?php trackback_url() ?>" class="inputbox" onclick="select();" />
				<input name="hide" type="button" id="hide" value="Hide" onclick="hide('trackback');return false;" />
			</span>
		<?php } elseif ( comments_open() && !pings_open() ) {
			// Comments are open, Pings are not ?>

			<p>There are <?php comments_number('leave a response','one response','% responses'); ?>.</p>
			<p>&darr; <a href="#comments">Jump to comments</a> or follow responses via <?php comments_rss_link(__("XML")); ?>.</p>
			<?php if (function_exists('show_manual_subscription_form')) { show_manual_subscription_form(); }; ?>
		<?php } elseif ( !comments_open() && !pings_open() ) {
			// Neither Comments, nor Pings are open ?>
		<?php } ?>
	</div>
	<? } ?>
	
	<?php /* Search Meta */ if ( is_search() ) { ?>
	<div class="box">
		<h4><?php _e('Search'); ?></h4>
		<p><?php _e('All keywords are searched for.') ?></p>
		<?php _e('If only one article contains the keywords you searched for, you will be taken directly to that article.') ?>
	</div>
	<?php } ?>

	<?php /* Dynamic Sidebar */ if ( !is_category() && !is_single() && !is_date() && !is_page() && !is_search() && !is_author() ) { ?>