Return to Snippet

Revision: 46254
at May 15, 2011 03:00 by psteinweber


Initial Code
/*--------------------------------------------------*/
/* custom comment text */
/*--------------------------------------------------*/
 
function my_comments_link() {
  if (!is_single() && !is_page()) {
    echo '<p class="to_comments"><span class="bracket">{</span> <a href="';
    the_permalink();
    echo '#comments" rel="nofollow">';
    comments_number(__('<span>Diskussion starten</span>', 'thesis'), __('<span>ein Kommentar, jetzt mitdiskutieren</span>', 'thesis'), __('<span>%</span> Kommentare, jetzt mitdiskutieren', 'thesis'));
    echo '</a> <span class="bracket">}</span></p>';
  }
}

remove_action('thesis_hook_after_post', 'thesis_comments_link');
add_action('thesis_hook_after_post', 'my_comments_link');

Initial URL

                                

Initial Description

                                

Initial Title
Thesis: custom comment text

Initial Tags
wordpress, text

Initial Language
PHP