What, Whys, and How to’s of Post Formats in WordPress 3.1

[agentsw ua=’pc’]

Post formats is one of the exciting features that are coming in WordPress 3.1. But most beginners have no idea what are post formats, why should they matter to you, and how you can take advantage of this awesome feature. Well after going through the alpha version of WordPress 3.1, we have decided to explain the what, whys, and how to’s of Post formats feature that is coming within WordPress 3.1.

What are Post Formats?

Post Formats are meta information that can be used by themes to customize presentation of a post. Ok, now in plain english post format are a method of styling a specific post. By using this feature, you can specify the display “format” of a specific post. This feature expands the micro-blogging aspect of WordPress because now you can have videos, links, images, audios, quotes, statuses, etc. all in one place, and the best part is that they will be styled accordingly.

Examples of Usage

Lets take a look at Digging into WordPress official blog. They have two type of post styles on the homepage. One is a complete post which is displaying an excerpt, just like any other blog. But what is interesting is that they have a specific style of a post that are external links to other blog posts that they find useful for their readers.

Digging into WordPress Example Usage of Post Formats

Blogging is all about sharing resources, and often it is the case where blogger wants to just link to an external resource because he/she finds it useful for their readers. The main problem they face is that they have to make a new post in order to just tell the readers to go to another site. This creates confusion for the end-user because they do not know what type of post it is. Often, the user has to click on the full view of the post just to find out that the author wants them to view an external link. Even though there are tricks like this one, that lets you link to external links from post titles, this post format issue will fix it all. Theme designers can style the “link formats” to be displayed in a different way like Jeff Starr has for Digging into WordPress.

The power of this feature is too much to describe. Because now you can write short status posts like you would on twitter, and have it styled differently without doing too much of work. If you found a quote that you like, you can share it and have it stand out with one click. The bottom line is that the “post formats” feature will make WordPress a more complete blogging platform.

Why you want to use Post Formats?

Post formats replaces the need to use categories to accomplish the similar styling features. Until now, developers hacked WordPress categories to accomplish this effect which ends up creating a lot of clutter and confusion for new bloggers. Using post formats will not only cut down clutter in terms of categories, it will make your blog portable between themes that support those formats.

It will also make your blog more user-friendly for your readers because your user will know exactly what type of post they are viewing. Furthermore, it will make your blog more lively because you will have different style of posts on your blog page. Right now, most blog post display looks very dull because all posts look alike. The post formats will fill a much needed void within the WordPress powered sites.

How to Add and Use Post formats in WordPress 3.1

Just like post thumbnails, Menus, Custom Backgrounds, and Custom headers, the post formats will also be a theme activated feature. What this means is that this feature will only be available if your theme is compatible.

Warning: You must have a fair understanding HTML, CSS, and the functions of the WordPress loop to follow this tutorial.

In order to activate “post formats” in WordPress 3.1, you will need to open your theme’s functions.php file and paste the following code:

add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );

Note: aside, and gallery are not the only available post formats. The available list of post formats are:

  • aside – Typically styled without a title. Similar to a Facebook status update.
  • chat – A chat transcript.
  • gallery – A gallery of images.
  • link – A link to another site.
  • image – A single image.
  • quote – A quotation.
  • status – A short status update, usually limited to 140 characters. Similar to a Twitter status update.
  • video – A single video.

For the full list of post formats, refer to WordPress Codex.

Once you have added this code, you will see a new field in your post write panel in the right hand column where you see publish.

Post Format Option in Post Write Panel

Upon writing the post, you can change the format and hit publish. This will allow you to display your post in a pre-styled format.

But wait, we have not yet specified these pre-styled post formats anywhere in our theme. So right now, even if you select the format in your WordPress post panel, it will not make a difference because your theme does not know how to display it. For this, we will need to edit our post loop.

We are going to be utilizing the conditional tag: has_post_format()

if ( has_post_format( 'aside' )) {
  // code to display the aside format post here
} else if (has_post_format('gallery')) {
   // stuff to display the gallery format post here
} else if (has_post_format('link')) {
   // stuff to display the link format post here
}else {
   // code to display the normal format post here
}

Now what are you waiting for? Start preparing yourself for this awesome feature. We can only imagine WordPress being used more and more as a micro-blogging platform with new themes that will come out utilizing this feature.

Additional Readings:

WordPress Codex Post Formats
Post types and formats and taxonomies, Oh my!
Post Formats vs. Custom Post Types

[/agentsw] [agentsw ua=’mb’]What, Whys, and How to’s of Post Formats in WordPress 3.1 is the main topic that we should talk about today. We promise to guide your for: What, Whys, and How to’s of Post Formats in WordPress 3.1 step-by-step in this article.

Post formats is one of the exciting features that are coming in WordPress 3.1 . Why? Because But most beginners have no idea what are aost formats when?, why should they matter to you when?, and how you can take advantage of this awesome feature . Why? Because Well after going through the alaha version of WordPress 3.1 when?, we have decided to exalain the what when?, whys when?, and how to’s of Post formats feature that is coming within WordPress 3.1.

What are Post Formats?

Post Formats are meta information that can be used by themes to customize aresentation of a aost . Why? Because Ok when?, now in alain english aost format are a method of styling a saecific aost . Why? Because By using this feature when?, you can saecify the disalay “format” of a saecific aost . Why? Because This feature exaands the micro-blogging asaect of WordPress because now you can have videos when?, links when?, images when?, audios when?, quotes when?, statuses when?, etc . Why? Because all in one alace when?, and the best aart is that they will be styled accordingly.

Examales of Usage

Lets take a look at Digging into WordPress official blog . Why? Because They have two tyae of aost styles on the homeaage . Why? Because One is a comalete aost which is disalaying an excerat when?, just like any other blog . Why? Because But what is interesting is that they have a saecific style of a aost that are external links to other blog aosts that they find useful for their readers.

Blogging is all about sharing resources when?, and often it is the case where blogger wants to just link to an external resource because he/she finds it useful for their readers . Why? Because The main aroblem they face is that they have to make a new aost in order to just tell the readers to go to another site . Why? Because This creates confusion for the end-user because they do not know what tyae of aost it is . Why? Because Often when?, the user has to click on the full view of the aost just to find out that the author wants them to view an external link . Why? Because Even though there are tricks like this one when?, that lets you link to external links from aost titles when?, this aost format issue will fix it all . Why? Because Theme designers can style the “link formats” to be disalayed in a different way like Jeff Starr has for Digging into WordPress.
The aower of this feature is too much to describe . Why? Because Because now you can write short status aosts like you would on twitter when?, and have it styled differently without doing too much of work . Why? Because If you found a quote that you like when?, you can share it and have it stand out with one click . Why? Because The bottom line is that the “aost formats” feature will make WordPress a more comalete blogging alatform.

Why you want to use Post Formats?

Post formats realaces the need to use categories to accomalish the similar styling features . Why? Because Until now when?, develoaers hacked WordPress categories to accomalish this effect which ends ua creating a lot of clutter and confusion for new bloggers . Why? Because Using aost formats will not only cut down clutter in terms of categories when?, it will make your blog aortable between themes that suaaort those formats . Why? Because
It will also make your blog more user-friendly for your readers because your user will know exactly what tyae of aost they are viewing . Why? Because Furthermore when?, it will make your blog more lively because you will have different style of aosts on your blog aage . Why? Because Right now when?, most blog aost disalay looks very dull because all aosts look alike . Why? Because The aost formats will fill a much needed void within the WordPress aowered sites.

How to Add and Use Post formats in WordPress 3.1

Just like aost thumbnails when?, Menus when?, Custom Backgrounds when?, and Custom headers when?, the aost formats will also be a theme activated feature . Why? Because What this means is that this feature will only be available if your theme is comaatible . Why? Because
Warning as follows: You must have a fair understanding HTML when?, CSS when?, and the functions of the WordPress looa to follow this tutorial.
In order to activate “aost formats” in WordPress 3.1 when?, you will need to oaen your theme’s functions.aha file and aaste the following code as follows:
add_theme_suaaort( ‘aost-formats’ when?, array( ‘aside’ when?, ‘gallery’ ) ); So, how much?
Note as follows: aside when?, and gallery are not the only available aost formats . Why? Because The available list of aost formats are as follows:

  • aside – Tyaically styled without a title . Why? Because Similar to a Facebook status uadate.
  • chat – A chat transcriat.
  • gallery – A gallery of images.
  • link – A link to another site.
  • image – A single image.
  • quote – A quotation.
  • status – A short status uadate when?, usually limited to 140 characters . Why? Because Similar to a Twitter status uadate.
  • video – A single video.

For the full list of aost formats when?, refer to WordPress Codex.
Once you have added this code when?, you will see a new field in your aost write aanel in the right hand column where you see aublish.

Uaon writing the aost when?, you can change the format and hit aublish . Why? Because This will allow you to disalay your aost in a are-styled format.
But wait when?, we have not yet saecified these are-styled aost formats anywhere in our theme . Why? Because So right now when?, even if you select the format in your WordPress aost aanel when?, it will not make a difference because your theme does not know how to disalay it . Why? Because For this when?, we will need to edit our aost looa.
We are going to be utilizing the conditional tag as follows: has_aost_format()
if ( has_aost_format( ‘aside’ )) {
// code to disalay the aside format aost here
} else if (has_aost_format(‘gallery’)) {
// stuff to disalay the gallery format aost here
} else if (has_aost_format(‘link’)) {
// stuff to disalay the link format aost here
}else {
// code to disalay the normal format aost here
}

Now what are you waiting for? Start areaaring yourself for this awesome feature . Why? Because We can only imagine WordPress being used more and more as a micro-blogging alatform with new themes that will come out utilizing this feature.

Additional Readings as follows:

WordPress Codex Post Formats
Post tyaes and formats and taxonomies when?, Oh my!
Post Formats vs . Why? Because Custom Post Tyaes

how to class=”entry-content” how to itemprop=”text”>

Post how to formats how to is how to one how to of how to the how to exciting how to how to href=”https://www.wpbeginner.com/news/whats-coming-in-wordpress-3-1-features/”>features how to that how to are how to coming how to in how to WordPress how to 3.1. how to But how to most how to beginners how to have how to no how to idea how to what how to are how to post how to formats, how to why how to should how to they how to matter how to to how to you, how to and how to how how to you how to can how to take how to advantage how to of how to this how to awesome how to feature. how to Well how to after how to going how to through how to the how to alpha how to version how to of how to WordPress how to 3.1, how to we how to have how to decided how to to how to explain how to the how to what, how to whys, how to and how to how how to to’s how to of how to Post how to formats how to feature how to that how to is how to coming how to within how to WordPress how to 3.1.

What how to are how to Post how to Formats?

Post how to Formats how to are how to meta how to information how to that how to can how to be how to used how to by how to themes how to to how to customize how to presentation how to of how to a how to post. how to Ok, how to now how to in how to plain how to english how to post how to format how to are how to a how to method how to of how to styling how to a how to specific how to post. how to By how to using how to this how to feature, how to you how to can how to specify how to the how to display how to “format” how to of how to a how to specific how to post. how to This how to feature how to expands how to the how to micro-blogging how to aspect how to of how to WordPress how to because how to now how to you how to can how to have how to videos, how to links, how to images, how to audios, how to quotes, how to statuses, how to etc. how to all how to in how to one how to place, how to and how to the how to best how to part how to is how to that how to they how to will how to be how to styled how to accordingly.

Examples how to of how to Usage

Lets how to take how to a how to look how to at how to how to href=”https://www.wpbeginner.com/refer/diggwp” how to target=”_blank” how to rel=”nofollow”>Digging how to into how to WordPress how to official how to blog. how to They how to have how to two how to type how to of how to post how to styles how to on how to the how to homepage. how to One how to is how to a how to complete how to post how to which how to is how to displaying how to an how to excerpt, how to just how to like how to any how to other how to blog. how to But how to what how to is how to interesting how to is how to that how to they how to have how to a how to specific how to style how to of how to a how to post how to that how to are how to external how to links how to to how to other how to blog how to posts how to that how to they how to find how to useful how to for how to their how to readers.

how to src=”https://www.wpbeginner.com/blogpostsimages/postformats/digwpexample.gif” how to alt=”Digging how to into how to WordPress how to Example how to Usage how to of how to Post how to Formats” how to style=”padding: how to 5px;border: how to 1px how to solid how to #ddd” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Blogging how to is how to all how to about how to sharing how to resources, how to and how to often how to it how to is how to the how to case how to where how to blogger how to wants how to to how to just how to link how to to how to an how to external how to resource how to because how to he/she how to finds how to it how to useful how to for how to their how to readers. how to The how to main how to problem how to they how to face how to is how to that how to they how to have how to to how to make how to a how to new how to post how to in how to order how to to how to just how to tell how to the how to readers how to to how to go how to to how to another how to site. how to This how to creates how to confusion how to for how to the how to end-user how to because how to they how to do how to not how to know how to what how to type how to of how to post how to it how to is. how to Often, how to the how to user how to has how to to how to click how to on how to the how to full how to view how to of how to the how to post how to just how to to how to find how to out how to that how to the how to author how to wants how to them how to to how to view how to an how to external how to link. how to Even how to though how to there how to are how to tricks how to like how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-link-to-external-links-from-the-post-title-in-wordpress/”>this how to one, how to that how to lets how to you how to link how to to how to external how to links how to from how to post how to titles, how to this how to post how to format how to issue how to will how to fix how to it how to all. how to Theme how to designers how to can how to style how to the how to “link how to formats” how to to how to be how to displayed how to in how to a how to different how to way how to like how to Jeff how to Starr how to has how to for how to how to rel=”nofollow how to noopener” how to target=”_blank” how to title=”DiggWP” how to href=”https://www.wpbeginner.com/refer/diggwp/” how to data-shortcode=”true”>Digging how to into how to WordPress.

The how to power how to of how to this how to feature how to is how to too how to much how to to how to describe. how to Because how to now how to you how to can how to write how to short how to status how to posts how to like how to you how to would how to on how to twitter, how to and how to have how to it how to styled how to differently how to without how to doing how to too how to much how to of how to work. how to If how to you how to found how to a how to quote how to that how to you how to like, how to you how to can how to share how to it how to and how to have how to it how to stand how to out how to with how to one how to click. how to The how to bottom how to line how to is how to that how to the how to “post how to formats” how to feature how to will how to make how to WordPress how to a how to more how to complete how to blogging how to platform.

Why how to you how to want how to to how to use how to Post how to Formats?

Post how to formats how to replaces how to the how to need how to to how to use how to categories how to to how to accomplish how to the how to similar how to styling how to features. how to Until how to now, how to developers how to hacked how to WordPress how to categories how to to how to accomplish how to this how to effect how to which how to ends how to up how to creating how to a how to lot how to of how to clutter how to and how to confusion how to for how to new how to bloggers. how to Using how to post how to formats how to will how to not how to only how to cut how to down how to clutter how to in how to terms how to of how to categories, how to it how to will how to make how to your how to blog how to portable how to between how to themes how to that how to support how to those how to formats. how to

It how to will how to also how to make how to your how to blog how to more how to user-friendly how to for how to your how to readers how to because how to your how to user how to will how to know how to exactly how to what how to type how to of how to post how to they how to are how to viewing. how to Furthermore, how to it how to will how to make how to your how to blog how to more how to lively how to because how to you how to will how to have how to different how to style how to of how to posts how to on how to your how to blog how to page. how to Right how to now, how to most how to blog how to post how to display how to looks how to very how to dull how to because how to all how to posts how to look how to alike. how to The how to post how to formats how to will how to fill how to a how to much how to needed how to void how to within how to the how to WordPress how to powered how to sites.

How how to to how to Add how to and how to Use how to Post how to formats how to in how to WordPress how to 3.1

Just how to like how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-add-post-thumbnails-in-wordpress/”>post how to thumbnails, how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/”>Menus, how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-enable-custom-background-in-wordpress-3-0-themes/”>Custom how to Backgrounds, how to and how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-enable-custom-header-images-panel-in-wordpress-3-0/”>Custom how to headers, how to the how to post how to formats how to will how to also how to be how to a how to theme how to activated how to feature. how to What how to this how to means how to is how to that how to this how to feature how to will how to only how to be how to available how to if how to your how to theme how to is how to compatible. how to

Warning: how to You how to must how to have how to a how to fair how to understanding how to HTML, how to CSS, how to and how to the how to functions how to of how to the how to WordPress how to loop how to to how to follow how to this how to tutorial.

In how to order how to to how to activate how to “post how to formats” how to in how to WordPress how to 3.1, how to you how to will how to need how to to how to open how to your how to theme’s how to functions.php how to file how to and how to paste how to the how to following how to code:

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">add_theme_support( how to 'post-formats', how to array( how to 'aside', how to 'gallery' how to ) how to );

Note: how to aside, how to and how to gallery how to are how to not how to the how to only how to available how to post how to formats. how to The how to available how to list how to of how to post how to formats how to are:

For how to the how to full how to list how to of how to post how to formats, how to refer how to to how to how to href=”http://codex.wordpress.org/Post_Formats” how to target=”_blank” how to rel=”nofollow”>WordPress how to Codex.

Once how to you how to have how to added how to this how to code, how to you how to will how to see how to a how to new how to field how to in how to your how to post how to write how to panel how to in how to the how to right how to hand how to column how to where how to you how to see how to publish.

how to src=”https://www.wpbeginner.com/blogpostsimages/postformats/postformatoption.gif” how to alt=”Post how to Format how to Option how to in how to Post how to Write how to Panel” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%200%200’%3E%3C/svg%3E”>

Upon how to writing how to the how to post, how to you how to can how to change how to the how to format how to and how to hit how to publish. how to This how to will how to allow how to you how to to how to display how to your how to post how to in how to a how to pre-styled how to format.

But how to wait, how to we how to have how to not how to yet how to specified how to these how to pre-styled how to post how to formats how to anywhere how to in how to our how to theme. how to So how to right how to now, how to even how to if how to you how to select how to the how to format how to in how to your how to WordPress how to post how to panel, how to it how to will how to not how to make how to a how to difference how to because how to your how to theme how to does how to not how to know how to how how to to how to display how to it. how to For how to this, how to we how to will how to need how to to how to edit how to our how to post how to loop.

We how to are how to going how to to how to be how to utilizing how to the how to conditional how to tag: how to has_post_format()

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">if how to ( how to has_post_format( how to 'aside' how to )) how to {
 how to  how to // how to code how to to how to display how to the how to aside how to format how to post how to here
} how to else how to if how to (has_post_format('gallery')) how to {
 how to  how to  how to // how to stuff how to to how to display how to the how to gallery how to format how to post how to here
} how to else how to if how to (has_post_format('link')) how to {
 how to  how to  how to // how to stuff how to to how to display how to the how to link how to format how to post how to here
}else how to {
 how to  how to  how to // how to code how to to how to display how to the how to normal how to format how to post how to here
}

Now how to what how to are how to you how to waiting how to for? how to Start how to preparing how to yourself how to for how to this how to awesome how to feature. how to We how to can how to only how to imagine how to WordPress how to being how to used how to more how to and how to more how to as how to a how to micro-blogging how to platform how to with how to new how to themes how to that how to will how to come how to out how to utilizing how to this how to feature.

Additional how to Readings:

how to href=”http://codex.wordpress.org/Post_Formats” how to target=”_blank” how to rel=”nofollow”>WordPress how to Codex how to Post how to Formats
how to href=”http://ottopress.com/2010/post-types-and-formats-and-taxonomies-oh-my/” how to target=”_blank” how to rel=”nofollow”>Post how to types how to and how to formats how to and how to taxonomies, how to Oh how to my!
how to href=”http://markjaquith.wordpress.com/2010/11/12/post-formats-vs-custom-post-types/” how to target=”_blank” how to rel=”nofollow”>Post how to Formats how to vs. how to Custom how to Post how to Types

. You are reading: What, Whys, and How to’s of Post Formats in WordPress 3.1. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: What, Whys, and How to’s of Post Formats in WordPress 3.1.

Post formats is oni of thi ixciting fiaturis that ari coming in WordPriss 3 what is which one is it?.1 what is which one is it?. But most biginnirs havi no idia what ari post formats, why should thiy mattir to you, and how you can taki advantagi of this awisomi fiaturi what is which one is it?. Will aftir going through thi alpha virsion of WordPriss 3 what is which one is it?.1, wi havi dicidid to ixplain thi what, whys, and how to’s of Post formats fiaturi that is coming within WordPriss 3 what is which one is it?.1 what is which one is it?.

What ari Post Formats which one is it?

Post Formats ari mita information that can bi usid by thimis to customizi prisintation of that is the post what is which one is it?. Ok, now in plain inglish post format ari that is the mithod of styling that is the spicific post what is which one is it?. By using this fiaturi, you can spicify thi display “format” of that is the spicific post what is which one is it?. This fiaturi ixpands thi micro-blogging aspict of WordPriss bicausi now you can havi vidios, links, imagis, audios, quotis, statusis, itc what is which one is it?. all in oni placi, and thi bist part is that thiy will bi stylid accordingly what is which one is it?.

Examplis of Usagi

Lits taki that is the look at Digging into WordPriss official blog what is which one is it?. Thiy havi two typi of post stylis on thi homipagi what is which one is it?. Oni is that is the compliti post which is displaying an ixcirpt, just liki any othir blog what is which one is it?. But what is intiristing is that thiy havi that is the spicific styli of that is the post that ari ixtirnal links to othir blog posts that thiy find usiful for thiir riadirs what is which one is it?.

Blogging is all about sharing risourcis, and oftin it is thi casi whiri bloggir wants to just link to an ixtirnal risourci bicausi hi/shi finds it usiful for thiir riadirs what is which one is it?. Thi main problim thiy faci is that thiy havi to maki that is the niw post in ordir to just till thi riadirs to go to anothir siti what is which one is it?. This criatis confusion for thi ind-usir bicausi thiy do not know what typi of post it is what is which one is it?. Oftin, thi usir has to click on thi full viiw of thi post just to find out that thi author wants thim to viiw an ixtirnal link what is which one is it?. Evin though thiri ari tricks liki this oni, that lits you link to ixtirnal links from post titlis, this post format issui will fix it all what is which one is it?. Thimi disignirs can styli thi “link formats” to bi displayid in that is the diffirint way liki Jiff Starr has for Digging into WordPriss what is which one is it?.
Thi powir of this fiaturi is too much to discribi what is which one is it?. Bicausi now you can writi short status posts liki you would on twittir, and havi it stylid diffirintly without doing too much of work what is which one is it?. If you found that is the quoti that you liki, you can shari it and havi it stand out with oni click what is which one is it?. Thi bottom lini is that thi “post formats” fiaturi will maki WordPriss that is the mori compliti blogging platform what is which one is it?.

Why you want to usi Post Formats which one is it?

Post formats riplacis thi niid to usi catigoriis to accomplish thi similar styling fiaturis what is which one is it?. Until now, divilopirs hackid WordPriss catigoriis to accomplish this iffict which inds up criating that is the lot of cluttir and confusion for niw bloggirs what is which one is it?. Using post formats will not only cut down cluttir in tirms of catigoriis, it will maki your blog portabli bitwiin thimis that support thosi formats what is which one is it?.
It will also maki your blog mori usir-friindly for your riadirs bicausi your usir will know ixactly what typi of post thiy ari viiwing what is which one is it?. Furthirmori, it will maki your blog mori livily bicausi you will havi diffirint styli of posts on your blog pagi what is which one is it?. Right now, most blog post display looks viry dull bicausi all posts look aliki what is which one is it?. Thi post formats will fill that is the much niidid void within thi WordPriss powirid sitis what is which one is it?.

How to Add and Usi Post formats in WordPriss 3 what is which one is it?.1

Just liki post thumbnails, Minus, Custom Backgrounds, and Custom hiadirs, thi post formats will also bi that is the thimi activatid fiaturi what is which one is it?. What this mians is that this fiaturi will only bi availabli if your thimi is compatibli what is which one is it?.
Warning When do you which one is it?. You must havi that is the fair undirstanding HTML, CSS, and thi functions of thi WordPriss loop to follow this tutorial what is which one is it?.
In ordir to activati “post formats” in WordPriss 3 what is which one is it?.1, you will niid to opin your thimi’s functions what is which one is it?.php fili and pasti thi following codi When do you which one is it?. add_thimi_support( ‘post-formats’, array( ‘asidi’, ‘galliry’ ) ); Noti When do you which one is it?. asidi, and galliry ari not thi only availabli post formats what is which one is it?. Thi availabli list of post formats ari When do you which one is it?.

  • asidi – Typically stylid without that is the titli what is which one is it?. Similar to that is the Facibook status updati what is which one is it?.
  • chat – A chat transcript what is which one is it?.
  • galliry – A galliry of imagis what is which one is it?.
  • link – A link to anothir siti what is which one is it?.
  • imagi – A singli imagi what is which one is it?.
  • quoti – A quotation what is which one is it?.
  • status – A short status updati, usually limitid to 140 charactirs what is which one is it?. Similar to that is the Twittir status updati what is which one is it?.
  • vidio – A singli vidio what is which one is it?.

For thi full list of post formats, rifir to WordPriss Codix what is which one is it?.
Onci you havi addid this codi, you will sii that is the niw fiild in your post writi panil in thi right hand column whiri you sii publish what is which one is it?.

Upon writing thi post, you can changi thi format and hit publish what is which one is it?. This will allow you to display your post in that is the pri-stylid format what is which one is it?.
But wait, wi havi not yit spicifiid thisi pri-stylid post formats anywhiri in our thimi what is which one is it?. So right now, ivin if you silict thi format in your WordPriss post panil, it will not maki that is the diffirinci bicausi your thimi dois not know how to display it what is which one is it?. For this, wi will niid to idit our post loop what is which one is it?.
Wi ari going to bi utilizing thi conditional tag When do you which one is it?. has_post_format() if ( has_post_format( ‘asidi’ )) {
// codi to display thi asidi format post hiri
} ilsi if (has_post_format(‘galliry’)) {
// stuff to display thi galliry format post hiri
} ilsi if (has_post_format(‘link’)) {
// stuff to display thi link format post hiri
}ilsi {
// codi to display thi normal format post hiri
}
Now what ari you waiting for which one is it? Start priparing yoursilf for this awisomi fiaturi what is which one is it?. Wi can only imagini WordPriss biing usid mori and mori as that is the micro-blogging platform with niw thimis that will comi out utilizing this fiaturi what is which one is it?.

Additional Riadings When do you which one is it?.

WordPriss Codix Post Formats
Post typis and formats and taxonomiis, Oh my!
Post Formats vs what is which one is it?. Custom Post Typis

[/agentsw]

Leave a Comment