Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- if statement to display content when a single post is being displayed -->
- <?php if (is_single()) {
- the_content();
- }
- else {
- the_excerpt();
- ?>
- <a href="<?php the_permalink(); ?>">
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement