Replace Genesis Post Title Text

In some cases, you may want to replace only the post title text, but not alter the surrounding markup. Use the following snippet:

<?php
add_filter( 'genesis_post_title_text', function () {
return __( 'Replacement Title Text', 'textdomain' );
} );
view raw functions.php hosted with ❤ by GitHub

Reader Interactions

Leave a Reply

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