Post Types or Item Types allow you to define the characteristics of a post.
It allows, for example, to have forum topics behave a little differently from blog posts or form category intros.
More importantly, post types allow to define custom fields for specific post types.
Post types are shared between all collections but for each collection you can define:
- Which post types are available
- Which one of the previous is the default to use for new posts
Standard Post Types
This is the default type which is used for regular blog posts, forum posts, photo posts or even manual pages.
By default, this type is used instead of “Post” by Manual collections. Is is optimized for online manuals written with the Markdown and Quick Links plugins.
By default, this type is used instead of “Post” by Forum collections. Is is optimized for discussion forums. You typically don’t want users to use HTML in forum posts.
Page or Standalone Page (name had changed in recent versions)
This is for creating pages (as opposed to posts). Pages do not appear in the regular flow of posts on your blog. They have to be specifically called from a menu or a widget in order to be displayed.
Intro posts are not displayed in the regular flow of blog posts either. Instead, depending on what you are looking at (the home page, a category, a tag page…) b2evolution will automatically select one intro post and display it on top of the regular list of posts. In many skins, the intro will be displayed with a slightly different style from a regular post. There are several types of intro posts. See below.
This is for marking posts containing a podcast episode. They will be treated specifically in RSS feeds which embed the podcast content.
This is for marking a link (as opposed to a real post). A link primarily utilizes the title and the URL fields. Some skins will display these differently from regular posts.
This is for creating a link roll in your sidebar for example. Posts with the Link type will never appear as blog content in the main area or your blog. They will only be displayed by widgets specifically targeting this type of posts.
This is for creating contextual ads in your sidebar for example. Posts with the Advertisement type will never appear as blog content in the main area or your blog. They will only be displayed by widgets specifically targeting this type of posts.
Intro posts will be displayed on top of certain pages of your blog. See Intro and Featured Posts.
There are several types of intro posts. Depending on the post type, an intro post will qualify for displaying on a specific page or not (some can display only on the main page, some can display only on a category page, etc.)
If in the end there are several posts of the same type competing to be displaying on the same page, the most “recent” one will win. This depends on the post ordering for your blog. If you are ordered in a different order, whichever intro posts that comes first in your ordering will win.
This intro post will be shown on the special front page if the current collection is configured to show such a Special Front Page.
This intro post will be shown on the homepage (unless there’s a more “recent” Intro-All post). It doesn’t matter which category this is in.
This intro post will be shown on your category (or sub-category) pages, depending on which categories you have selected for this intro post. (This is, unless there’s a more “recent” Intro-All post)
This intro post will be shown on your tag pages, depending on which tags you have assigned to this intro post. (This is, unless there’s a more “recent” Intro-All post)
This intro post will be shown on the other “sub” pages of your blog. This means: everything but the home page, category pages and tag pages. For example, it may appear on pages 2, 3, 4 etc. It may also appear on pages filtered by author. (This is, unless there’s a more “recent” Intro-All post). This is designed to be a “filler” when Intro-All is not appropriate. In most cases we recommend to use Intro-All.
This is designed to be used as a fallback intro for all pages that have no other Intro post. To ensure that it works properly, make sure its publication date is older than your other Intro-* posts (or better said: this post should be last in order in your current blog sorting order)
Remember that if several intro posts quality for the same page (for example: a category page that has 2 Intro-Cat, 1 Intro-Sub and 1 Intro-All candidates), it is the most “recent” Intro-* post that will be displayed. (Unless you changed the ordering of your collection).
Note: A category page typically selects all posts in its subcategories too. In that case, it may pick up intros for its subcategories too. To ensure proper order of selection, make sure the intro-cats of sub-categories are “older” than the intro cats of higher level categories (which should be more recent). — This odd behavior is supposed to be fixed in version 6.6.5.
Note: Contrary to popular belief, Intro-Sub is not designed specifically for sub categories. Sub-categories can be targeted by “Intro-Cat". Implementation of Intro-Sub and targeting of sub-categories was broken in b2evolution v4.x.
- On this page you may manage the types that you are able to assign to your items. These types let you personalize the default characteristics for your items.
- This applies to v5. You can define custom fields in Blog Settings > Features > Posts. Custom fields can contain numbers (floating point numbers with double precision) or text strings (varchars).