I would like to add the title of a post to the “edit entry” link at the bottom of the post (i.e. Edit post for Chocolate Chip Cookie Recipe » )
Among other things, I have tried
<?php edit_post_link('Edit post for <?php the_title(); ?>', '<p>', '</p>'); ?>
but the title never displays. I’ve also tried
single_post_titleto no avail.
- The topic ‘Add post title to edit entry link’ is closed to new replies.