Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Find this: -->
- <?php echo get_the_excerpt() ?>
- <!-- Change to something like: -->
- <?php if ( post_password_required() ) : ?>
- <p> My custom message </p>
- <?php else : ?>
- <?php echo get_the_excerpt(); ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement