/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*--------------------------------------------------*/ /* 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');