Posts Code Snippets
Page 1 of 1- Author bio excerpt
- Get the first link in post
- Truncate Post Title – Updated
- Pagination for Twitter Bootstrap
- Set Featured Image automatically
- Automatically Set the Featured Image
- QR code with article link
- List all categories with posts
- Limit excerpt words
- Hide posts in the “uncategorized” category
- Exclude a custom post type from search
- Add ancestor class to single posts
- Add Post Class if Post has thumbnail
- Comment Count Shortcode
- Limit Search Results to Specific Post Types
- Exclude category from homepage
- Check if post has more than one image attached
- Pagination without plugin
- Delete posts from the Admin bar
- Post views without plugin
- Code in posts
- Post classes for the loop
- Add Odd/Even to Posts
- Check if last post
- Remove images from content
- Dynamic custom length excpert
- Improve the excerpt
- Delete Post From Front-End
- Split up images and text
- Recent posts with date
- Remove default inline style of wp-caption
- Include Future Posts in RSS Feed
- Display Number Of Posts
- Loop within the loop
- List posts by category
- Avoid Duplicate Posts in Multiple Loops
- Retrieve Last Year Archives Only
- Display posts from a category on a page
- Get post’s category name/ID
- Check if post is a child
- Adjust Vimeo Auto-Embed Size
- Redirect to URL from Title
- Remove Private/Protected from Post Title
- Display time ago(twitter style)
- Edit button on posts & pages
- List random posts
- Filter the Loop
- Add Taxonomies
- Shorten the Excerpt
- Add Post/Page Thumbnails