Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //For Sticky post
- // Display a thumb tack in the top right hand corner if this post is sticky
- if (is_sticky()) {
- echo '<i class="fa fa-thumb-tack sticky-post"></i>';
- }
- //Style
- <style>
- .sticky-post {
- position: absolute;
- top: 1rem;
- right: 3rem;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement