Post Formats allow for various types of posts to be styled or formatted based on their meaning.
1
vote
1answer
26 views
Get post only from 'standard' post format
I use the following codes to get posts only from 'image' post format and it works.
<?php if( has_post_format('image')){ ?>
<?php the_post_thumbnail(); ?>
<?php } ?>
I also need ...
0
votes
2answers
60 views
How can I make a page for post formats (specifically quotes) in wordpress 3.5
I am trying to create the ability for the end user to add quotes (testimonials) as posts. So far, so good. I have enabled the 'quote' post-format in my theme. So the ability exists to enter said ...
0
votes
1answer
33 views
Video post format, extra content breaks video embed
I am using the content-video.php include to show the latest video post on my homepage. The include only shows the video from the post and not the rest of the content, which works well.
My problem is, ...
0
votes
0answers
26 views
Conditional logic for the new 3.6 structured post formats
Currently i have couple of custom fields in a custom metabox for post format options, like link url, video embed code etc... This works fine in version 3.5 and below.
Now, with the new soon to be ...
0
votes
0answers
23 views
If Not Custom Format Types, Then What? [closed]
I'm designing a site that has a custom post type called "Releases." There are however multiple types of releases: there are App releases and Album releases. Obviously, each of these types of releases ...
0
votes
1answer
32 views
How can I add a filter to a particular post format?
I have several post formats and I want to use add_filter selectively, applying the filter to some of the post formats but not all. When I do this in my functions.php file it affect all the post ...
0
votes
0answers
20 views
Private feedback on users
I am trying to find a way for users to write private/anonymous feedback on each other (similar to ebay or amazon but private, and so that users can view feedback on them and feedback they have sent).
...
0
votes
0answers
20 views
Change post_format with form in admin
I have a custom administrative area, where I have a list of posts displayed from different authors. I am trying to be able to change the post_format for one of the posts, based on the click of a ...
0
votes
1answer
18 views
Convert many posts from having a specific meta_key to use a post_format
I have 350 posts that were using a plugin-provided option stored in a meta_key ("custom_post_template", to be precise).
I want to convert these posts to assign them a specific post_format ...
0
votes
1answer
102 views
Filter image and text from post format
I have a site that requires a lot of styling for post formats, I have never dealt with formats before but essentially what I want is : if post format is image... do this loop, if format is standard ...
0
votes
3answers
150 views
How to filter posts by format and category via url?
I figured out I can filter posts by format just by doing /type/{format} e.g. /type/gallery/ in the url.
Looking for a way to filter by categories on top of this, something like ...
0
votes
1answer
15 views
Mass post format changer?
Hi I am working on a site that has over 1500 posts. Many of those posts are in the gallery post format, but I need to change them to the "Standard" format to work with the clients current theme.
Is ...
0
votes
1answer
100 views
Displaying cf post formats with oembed
Currently using CF Post Formats ( http://alexking.org/blog/2011/10/25/wordpress-post-formats-admin-ui ) and using the following code to automatically embed a URL that has been input into the 'Audio' ...
0
votes
2answers
54 views
Is it possible to filter the display name for post formats for display in the Formats meta box?
I've got a few special needs in terms of post formatting, but do not want (and cannot) break out of the standard Post Format paradigm per best practices.
I've come up with a mapping of WordPress ...
1
vote
1answer
31 views
How to recognise on which site the content is being rendered?
I've created a child theme basing on twenty twelve.
Since I present the content a little bit different on home and on the archive page, I'd like to know inside content-[format].php on which page the ...
2
votes
1answer
148 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
42 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
144 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 ...
2
votes
1answer
86 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
0answers
12 views
Working with Post Formats/Custom Post types Etc [duplicate]
Possible Duplicate:
Understanding Post Formats/Custom Post types Etc
-If you see another question very similar, thats not it. This is the one, the other question is going to be deleted.-
I ...
0
votes
1answer
223 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
122 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
41 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
425 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
198 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
68 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
91 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
226 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
210 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 ...
0
votes
0answers
11 views
Is there a way to have a plugin create a custom theme format? [duplicate]
Possible Duplicate:
How do I add a new custom post format?
Programmatically, I'm wanting to make a special affiliate offer theme format (but via plugin) that lets one use any theme, but if ...
2
votes
0answers
151 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
42 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
48 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 ...
1
vote
2answers
241 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 ...
1
vote
3answers
2k 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
53 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
191 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
284 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
122 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
428 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
269 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 ...
1
vote
1answer
448 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
221 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
305 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
56 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 ...
1
vote
3answers
645 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
373 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 ...
3
votes
4answers
1k 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
248 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
445 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 ...
