I’d like to show the Post ID in the actual post title. So, for instance, post ID 3 could be shown in the title like this: “#3 This is the third post”.
Which piece of code do I have to add before
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
- The topic ‘Post ID shown in Post Title’ is closed to new replies.