I’m using the following code in my template:
<?php the_content('Custom text »'); ?>
However, the custom text is not rendering, but it’s rendering “Continue reading ‘posttitle’ »”. If I use the_excerpt it does render the correct text, however I need more control by using the More tag. I’m using it in a custom WPQuery loop using the following query:
$the_query = new WP_Query( 'category_name=featured&posts_per_page=2&paged=1' );
Anyone have any idea why the text is not rendering? Am I missing something in my template?
- The topic ‘Custom read more text not working’ is closed to new replies.