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

learn more… | top users | synonyms

2
votes
1answer
573 views

Hide meta box based on post format

I'm currently using a version of this function - post formats - how to switch meta boxes when changing format? which hides all meta boxes until a corresponding post format is selected (Ie; If someone ...
2
votes
1answer
74 views

Target all posts that are NOT aside or link post formats

I want to add a post title to all of my posts apart from those that are marked as "aside" or "link" post formats. I'm currently using this code to hide the post title for aside posts; <?php if (! ...
0
votes
2answers
515 views

Apply post formats to a specific post type only?

I have the following code in functions.php to give me post format support and a custom post type 'photos'. But I would like the post formats to only apply to the 'photos' post type and not to the ...
3
votes
1answer
135 views

Is there a real life use case for post formats except for microbloging?

I am trying to write a guide for using wordperss and can't quiet figure how explain the usage of post formats. I read all the documentation available on the web and then played with twentytwelve and ...
0
votes
1answer
419 views

Understanding Post Formats/Custom Post types Etc

I don't understand what "Adding Post Type Support" is for when we have "Adding Theme Support"? For different post-formats this is the way I was shown before. This is then how I did it for the project ...
1
vote
1answer
604 views

How can I achieve something like has_post_format( 'standard' )?

In opposite to get_post_format, the conditional has_post_format() function returns a boolean value and should be the perfect function for a conditional check like: if ( has_post_format( array( ...
0
votes
1answer
56 views

Custom formatting

After some advice to get pointed in the right direction. I am knocking together a site for a friend who isn't the most technical minded so want to make the process easy and of course Wordpress offers ...
0
votes
2answers
2k views

Custom single.php files for different post formats

I have 3 custom post formats. One is for image, one for video, and, one for gallery besides the default post and they each have a view comments link on the bottom right corner at the end of the post. ...
0
votes
1answer
491 views

Exclude post formats in custom loop

I'm trying to exclude all post formats but standard from a page template loop that displays 4 latest posts. For some reason I can't get the query to work. This is my page template global $paged, ...
1
vote
1answer
134 views

Checking post format during xmlrpc_publish_post

WordPress apparently stores post format information outside of the $post object. During publish_post this isn't (usually) a problem because you can check on formats via get_post_format( $post->ID ) ...
1
vote
1answer
243 views

Assign post format to categories

I'm looking for a way to allow Wordpress (via a plugin?) to assign a specific post format to categories. (I can assign categories via a third party like IFTTT) Then all my posts in a certain category ...
0
votes
2answers
498 views

Include Post Format in permalink

I'm running the latest version of WordPress with pretty permalinks enabled. I'm looking for a way to include the Post Format type (eg: link, status, quote) in the post's permalink. When the post has ...
2
votes
1answer
666 views

How to change post format from Aside to Image for all posts?

I have a blog where all the posts had the post format Image. This morning I see that somehow they have all been changed to Aside. I'm still trying to figure out how this happened, but in the ...
3
votes
1answer
281 views

Change post format using custom field

I'm creating a theme using the CF Post Formats plugin. But I've run into some trouble I don't know how to solve. Here's what I want to be able to do: Create a new standard-format post Enter a url ...
0
votes
1answer
57 views

Post Format Link Validation Error

For link post formats to appear in my archive.php I'm using the following code: <a href="<?php echo wp_trim_words( get_the_content(), 100 ); ?>"> <?php the_content(); ?> </a> ...
1
vote
0answers
82 views

Difficulty with PHP function that displays a post's format in WordPress

I am working on a WordPress theme using Bones. I would like to be able to show some text just above the title of each post if the post is either featured, password protected or private. So far I came ...
2
votes
2answers
1k views

How do I remove the post format meta box?

Is it possible to remove the "Post Format" meta box from the edit/new post page? The blog in question has a lot of users that keep messing with that but it only uses the standard format post. I'm ...
4
votes
4answers
6k views

How do I add a new custom post format?

How do I add a new custom format while making a post in WordPress? The default formats are standard, aside, image, gallery... I want to add a new format of 'xyz' name. How can I do it?
0
votes
1answer
70 views

How can I prevent posts with no title showing up in my query?

How do I prevent posts with no title showing up in my query / loop ? ( I am doing aside, quote etc post-formats and I want to exclude title less posts from one particular loop) I have nothing on ...
0
votes
1answer
355 views

How do I get standard posts to open up in their own template when using get_template_part()?

It seems to me that twentyelven opens standard single posts using the file content-single.php yet when I try the same code and files they open for me in content.php here's the code I have in ...
-1
votes
1answer
389 views

How to query posts from single post format on Genesis framework

How to query posts from single post format on Genesis framework? I want to just show posts from gallery post format only. I tried this query: <?php $recent = new WP_Query( ...
0
votes
2answers
165 views

How to enqueue scripts depending on post formats?

So I'm trying to enqueue scripts used for some post formats like video and audio and I could find a way to check what post formats are going to be shown on the page. I tried print_r on some global ...
1
vote
1answer
813 views

Plugin to set all Posts in a certain Category to a certain Post Format

I want to setup my WordPress so that whenever I create a post with the category "Tweet", my wordpress installation automatically changes the post format from post to aside. This will help me because I ...
2
votes
2answers
411 views

Changing “Enter title here” based on post format

I'm wondering if is possible to change the text "Enter title here" based on the post format that you selected? For example: If you select the post format Quote than your text will be "Enter author's ...
2
votes
1answer
805 views

Link Featured Thumb to Attachment Page, If Possible

Are featured thumbs uploaded the same as other images and have their own attachment post url? I'm trying to utilize the 3.0+ post formats and am using the featured image when creating a post under ...
1
vote
2answers
491 views

Filter the_content() in the Quote Post Format to Display Quotes

I'm customizing a theme for a client and I want to leverage post formats. On the quote post format I would like the_content(); to be wrapped in a two spans that contains quotation marks that I ...
0
votes
1answer
416 views

Add Post Format Support to Twentyeleven Child Theme

On a Twentyeleven child theme's functions.php file I attempted to add video post format support using: add_theme_support('post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', ...
2
votes
0answers
86 views

Exclude Post Format from next_post and prev_post

Is there a way to exclude a specific Post Format from next_post and prev_post? I want my asides to show up in the regular list of posts on the main blog page, but when a user is navigating through ...
3
votes
4answers
2k views

Only get_posts of certain post formats

I'm trying to create a archive list with only my "normal" post format articles (not link, aside, quote, etc formats). How would I implement has_post_format( 'standard' ), or something similar, into ...
0
votes
2answers
651 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
396 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
528 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
818 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
185 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 ...
2
votes
2answers
932 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
195 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
126 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
615 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
256 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
6k 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
304 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
170 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
407 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
172 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
673 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
237 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
573 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
723 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.