In the case of a post type archive where we don’t want to link to the single post (testimonials, for example), we can easily remove the post title link using this line of code:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'genesis_link_post_title', '__return_false' ); |
Leave a Reply