Echo Title in wp_link_pages
-
Hello,
I am trying to create multi-paged posts with a link at the bottom that says “Continue Reading POSTNAME – Part 1,2,etc…”
I cant figure out how to echo the title/postname in this link. So far I have
<?php wp_link_pages(‘before=Continue Reading – &after=‘); ?>
I keep thinking that this must be simple but cant seem to figure out. Have tried putting
<?php wp_link_pages(‘before=Continue Reading <?php the_title(); ?> – &after=‘); ?> and tried with “echo” in there as well… What am I missing. Any help would be greatly appreciated. Thanks
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Echo Title in wp_link_pages’ is closed to new replies.