Disable Genesis post title link

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:

<?php
add_filter( 'genesis_link_post_title', '__return_false' );
view raw functions.php hosted with ❤ by GitHub

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *