Home › Forums › Support › Possible to put anchor text/link beside date? This topic has 5 replies, 2 voices, and was last updated 3 years, 12 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 7, 2019 at 8:55 am #1028544 Carol In this theme, is it possible to add a phrase that’s hyperlinked to comments beside the date? Like this: Thank you. X80Ws+031v45 October 7, 2019 at 9:44 am #1028577 LeoStaff Customer Support Hi there, Try this PHP snippet: add_filter( 'generate_post_date_output', function( $output ) { echo $output; if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo '<span class="comments-link">'; comments_popup_link( __( '0 comment', 'generatepress' ), __( '1 Comment', 'generatepress' ), __( '% Comments', 'generatepress' ) ); echo '</span>'; } } ); Adding PHP: https://docs.generatepress.com/article/adding-php/ Let me know if this helps π October 7, 2019 at 9:54 am #1028586 Carol Great! Can I make the text bold? I edited the text, but how to make it bold? add_filter( ‘generate_post_date_output’, function( $output ) { echo $output; if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ‘<span class=”comments-link”>’; comments_popup_link( __( ‘0 comment’, ‘generatepress’ ), __( ‘ Leave a Comment’, ‘generatepress’ ), __( ‘% Comments’, ‘generatepress’ ) ); echo ‘</span>’; } } ); October 7, 2019 at 9:57 am #1028587 LeoStaff Customer Support Edit this block of existing CSS: .tags-links a, .cat-links a { font-weight: 600; } to this: .tags-links a, .cat-links a, .comments-link a { font-weight: 600; } October 7, 2019 at 10:08 am #1028590 Carol You’re the Best! Thank you so much! π October 7, 2019 at 3:34 pm #1028838 LeoStaff Customer Support No problem π Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In