Post Formats allow for various types of posts to be styled or formatted based on their meaning.

learn more… | top users | synonyms

0
votes
2answers
722 views

Specific Post Format Image Thumbnail

I have a post thumbnail set for standard posts (when an image is featured) but for image format posts I'd like to have a separate, dynamically resizing (i.e. image resizing in the functions php via ...
5
votes
4answers
2k views

Is it possible to remove the “standard” post format?

I'm using post formats heavily on a project, but have no current need for the standard option. Beyond being an unnecessary bit of UI, it actually causes broken behavior if it does get mistakenly ...
0
votes
1answer
450 views

Exclude post format from get_posts

The title basically says it all. I know I can use the following to get posts from the aside post format: $args = array( 'post_type'=> 'post', 'post_status' => 'publish', 'order' ...
0
votes
2answers
549 views

Adding link post format to theme and permalink to rss feed

I have been in the process of adding the link post format to the thematic theme via a child theme. To be honest, this is the first time I have done any sort of theme work with WordPress. I have been ...
1
vote
1answer
969 views

Post Format single-loop.php using get_template_part

I have set up to use post formats gallery and video in addition to the standard. I am editing the loop-single.php to give it different layouts for each post format, but I'm to include ...
0
votes
2answers
190 views

Cafe Food Menu upload

A funky cafe changes their menu every month, and they're not comfortable with using the default Wordpress editor to make a Wordpress page look the same as their Word doc. Example word doc here. Can ...
3
votes
2answers
1k views

Does Wordpress generate an automatic page for post formats?

I want a page to view only a specific post format (e.g. aside). Do I have to create my own page and run a custom query, or does Wordpress have an automatic page generated for me (like the ...
0
votes
1answer
198 views

Smart post format loop problems

Hi i'm trying to adopt the get_template_part() method for looping post formats as in: if ( have_posts() ) : while ( have_posts() ) : the_post(); if( ! get_post_format() ) { ...
2
votes
1answer
134 views

What is the recommended behavior for the post formats?

I will be modifying a theme to add post types to it here soon. I know there are post formats and I realize I could make the behavior be whatever I want. However, I would like them to be used for how ...
1
vote
2answers
649 views

Tumblr-like Post Types for WordPress

Is there any way to get Tumblr-like post types for WordPress? Ones where when you select a post type, it gives you different fields in the post editor for that type. For instance, if there was a link ...
0
votes
1answer
272 views

“post-format” code snippets list [closed]

What is it about? This Q shall become a collection of code snippets about post-formats and their use cases. What to add? Please add snippets/functions/classes/project-links about... Pulling & ...
3
votes
3answers
8k views

Custom Post Formats for Custom Post Types

The weight of opinion seems to favour using custom post types instead of custom post formats. I have several custom post types that I want to style in 4 different formats in a way that is not public ...
1
vote
1answer
339 views

Displaying icon image for WordPress post formats, is there a cleaner way to do this?

The code I am currently using in the loop is in this code snippet: https://gist.github.com/1316622 This just seems messy, and long. I am thinking the best method would really be to use CSS ...
5
votes
3answers
175 views

What difference does it make if I enable support for video post format?

I am sorry if this is stupid. I can't seem to figure out what special things it does. If I embed a youtube video(embed/iframe) it works for both standard and video format. Surely, I am missing ...
0
votes
1answer
463 views

Remove Title, Editor and Meta Box Support Based on Post Formats

Been looking around and can't find this. Is it possible to remove, let's say, the title area on post format: "quote"? Or the editor on post format: "image"? I noticed this page in the Codex: ...
1
vote
0answers
173 views

In Loop, if a Gallery, Only Pull First Image [closed]

I'm trying to create a loop that only displays the post types: "photo" and "gallery". If it's a gallery I would like to display only one of the images, preferably the first. I'm a little confused ...
1
vote
1answer
931 views

Display Post Format as a String

I hope this isn't a stupid question, but I can't find an answer. I just want to display (in the loop) what post format a post is in. I'm trying to avoid using a bunch of if / else if conditions. I'm ...
0
votes
1answer
243 views

Almost Done… Post Format Code

I would REALLY appreciate some help with this, I have been working on it for a while and am so close to done I can taste it. I need each post format excerpt to have the same excerpt code as the ...
0
votes
1answer
641 views

WordPress Post Format If Statement?

Right now my excerpts are doubling when I use post formats. I would like to have a default excerpt when no post format is selected. Checkout an example: http://themeforward.com/demo2/ For my ...
1
vote
1answer
1k views

Custom Post Formats

Here's my use case: a client will be making numerous blog posts, some of which are portfolio pieces of his recent work. This sounds like a perfect use case for a Post Format, but no "portfolio" post ...
6
votes
3answers
925 views

How to filter by post-format in admin?

I need to filter my posts by Post-Formats in admin ? How can I do that ? For now, Wordpress allows to filter by Categories and Dates.
0
votes
1answer
228 views

How can I correctly redirect user to the submitted post and define a template for each new post in Wordpress?

What I want to do is to create a simple front-end post submit form, for every different type of post I will include in my Wordpress app. For example there will be articles, events, quick messages and ...
0
votes
1answer
440 views

How does one go about converting custom post type to post format?

I have a blog which uses custom post type 'aside' for aside posts. Now that wordpress has custom post formats, I want to use the 'aside' post format instead. Is there a way to convert post typess to ...
1
vote
1answer
667 views

Filtering post-formats from the loop using new WP-Query();

Hi i am currently building upon a theme that i have build previously for my blog. The following code is to point to the latest post (the featured post). As this will have a different styling than all ...
1
vote
1answer
59 views

WordPress As A Shared Items Collection

I'm planning on using WordPress to create an arcive of my starred/shared/favourited items on a few services, such as: Twitter Favourites YouTube Favourites Google Reader Starred Items Stack ...
7
votes
3answers
4k views

How to set a default format for a custom post type?

I created a custom post type for my blog, to allow easier separation of content. This new post type supports different post formats, but most of them will be galleries. register_post_type('atelier', ...
1
vote
1answer
202 views

Filtering out specific post formats from certain pages

I'd like to filter out certain post formats from certain page templates. Specifically, I'd like to exclude link post types from the front page, so I can put them in a side bar, but still keep them in ...
0
votes
3answers
240 views

A better code for no post format?

As suggested on this site, I am using this code to style an excerpt if no post format is selected/if it is a standard post. <?php $format = get_post_format(); if ( false === $format ) { echo 'This ...
1
vote
3answers
866 views

How to Link to all posts that have the Standard Post Format

Why doesn't this work?! <?php echo get_post_format_link('standard');?> :( Any hints? All the other formats work.
2
votes
2answers
509 views

Auto-embed link info from URLs in link post format?

Would it be possible to make the link post format work the way links are shared in Facebook, i.e. auto-populate a title, description, and thumbnail? A plugin for BuddyPress (Buddypress Links, see ...
0
votes
1answer
269 views

3.1 post formats and specific categories/custom taxonomies

Is there a way to have a specific custom taxonomy for new 3.1 post formats? Let's say for example we want to categorize the "gallery" post format with two categories —only available for those kind ...
0
votes
1answer
54 views

Help Combine These Two PHP Codes

I have my WordPress post format codes: <?php if ( has_post_format( 'image' )) { echo 'This is a image post'; } ?> And my code to grab the first image from a post... <a href="<?php ...
0
votes
2answers
1k views

how to get list of post formats supported by theme?

After adding support for a selection of post formats like this: add_theme_support( 'post-formats', array( 'aside', 'video' ) ); how can I then get the list of supported post formats back? I'm ...
0
votes
2answers
3k views

If post-format == 'gallery' conditional

I'm working on trying to get my homepage template to display post-format 'gallery' a little different than the other formats but having no luck so far. Here is a snippet 'inside the loop' that shows ...
4
votes
2answers
962 views

Post Format Archive template name for theme folder?

What should I call the archive file for a post format? Ex archive-gallery.php? (doesn't work) I would like to create a list of all the gallery formats with a preview and some custom taxonomies thrown ...
2
votes
1answer
1k views

Post Formats in the context of the Database 'Save Post' function

I am trying to pick up an in-depth understanding of how post-formats relate to posts 'in the database' - i.e. what meta information when compiled together constitutes a post format. And yes, I do ...
0
votes
1answer
233 views

How can I convert everything from category X to have post format Link

My "links" come in from Windows Live Writer, from a perl based delicious sync directly to the database and who knows where from. They all have in common that the category is 'Daily-Links'. So I think ...
3
votes
1answer
627 views

How to exclude posts of a certain format from the feed

I want to exclude posts from aside post-format in the feed. I have already checked up here about how to exclude posts from a certain post format from the loop but how to exclude posts from a post ...
0
votes
1answer
552 views

Wordpress 3.1.2 Bug: add_theme_support() and video post format registering twice

Ive been experiencing a problem with the new WordPress 3.1.2 update. When i use add_theme_support(); and register an array of post formats, it registers all of them fine, but when it comes to the ...
4
votes
3answers
3k views

Different post format options per custom post type?

I want to add post formats for each post type. For example, I have a post type 'Gallery'. I want to add 'images', 'galleries' and 'videos' in this post. In normal posts I want to use another list of ...
0
votes
2answers
1k views

Formatting Standard Post Format

I'm looking to display an image for all the "standard" post formats on my site. I have done some research on how to add quote, video, photo, etc and have been able to implement these images into the ...
7
votes
2answers
2k views

post formats - how to switch meta boxes when changing format?

Problem After realizing that post formats are pretty popular, but only a extremly rough drawn concept, i see that users will run into possible traps. Post format ... uses post meta fields & ...
1
vote
1answer
300 views

post formats - how to get the relevant content part?

The following post formats got a specific type of content part that should get displayed: Audio Video Link Questions: A) What is the exact content (element) that is meant to get displayed for ...
0
votes
1answer
571 views

post formats - where's the difference: “aside” vs. “status”?

As stated in a previous Q, i'm currently getting into post formats and what to do with them. After searching for quite a time through search results and a lot of blog posts, i realized that there's ...
5
votes
6answers
4k views

Is it possible to rename a post format?

Since WP 3.1, it's been possible to use Tumblr-style post formats. I want to use the 'aside' option in a theme, but I want it to have a different title in the WP admin area. So, for example, when a ...
8
votes
3answers
4k views

has_post_format() vs. get_post_format()

I just stepped into the concept of post formats and was wondering why there are two out of 3 functions from the post format "API" offer absolutely the same functionality. Consider the following two ...
0
votes
1answer
611 views

Help altering a query to exclude all but standard post format

I feel like I've been banging my head against the keyboard for a week with this problem. I'm trying to change my current query on my home page to show only posts that are set as standard posts using ...
3
votes
1answer
547 views

Post format selector in Thematic child theme post class

I'm having a very hard time implementing post formats in my Thematic child theme. I am able to add post format theme support and add content via the big conditional statement, but the .format-video, ...
6
votes
4answers
2k views

Display/query post formats

WP 3.1 has everyone excited, if somewhat confused, about post formats. Enabling new post formats The issue of enabling post formats has been covered at length. It's as simple as adding this line to ...
3
votes
2answers
616 views

Adding post-formats to Twenty Ten child theme

So I have been building a child theme for a site. Wanted to add post formats to a twentyten child theme. Now, the goal of my child theme is to copy over the absolute least amount of code/templates ...