Tag Archives: post type
This widget allows you to display scheduled posts or custom post type. You can limit number of posts to display and toggle to display thumbnail, link to the post and change the order of the posts.
This snippet automatically track views of posts, pages and custom post types. You can use get_post_views function having optional $post_id parameter to fetch the number of views of any post, page or custom post type. You can also add “Views” column in admin panel for each post type.
This all in one post listing widget has all the options you can think list your posts or custom post types in sidebar. Either you are planing to show popular or recent or random posts, this widget can fulfil your desire. You can toggle the display of post title, post content, post thumbnail, number of posts and post author line. You can even limit the post content by number of characters and selection of posts from all categories or some of the selected categories.
Add following snippet to “functions.php” Snippet Result It will change the default hover title (‘Enter Title Here’) to the ‘Please Specify Post Title’. +1 You can use the same code to make it work with the custom post types. Just add another case with the custom type and specify its title.