Post Formats allow for various types of posts to be styled or formatted based on their meaning.
0
votes
0answers
21 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
24 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 ...
1
vote
3answers
1k 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
0answers
16 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
18 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
17 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
3answers
132 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 ...
2
votes
1answer
186 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
1answer
76 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
1answer
12 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
85 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
45 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
129 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
36 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
120 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 ...
0
votes
2answers
217 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
83 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 ...
3
votes
2answers
518 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 ...
1
vote
3answers
553 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.
0
votes
1answer
208 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 ...
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 ...
1
vote
1answer
108 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( ...
5
votes
3answers
2k 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
40 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
356 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.
...
3
votes
4answers
808 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',
...
0
votes
1answer
180 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
61 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
78 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 ...
1
vote
1answer
400 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 ...
0
votes
0answers
10 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
140 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
40 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>
...
0
votes
2answers
915 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 ...
5
votes
2answers
448 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.
1
vote
2answers
458 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 ...
1
vote
0answers
47 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
199 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 ...
0
votes
1answer
51 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 ...
1
vote
1answer
956 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 ...
0
votes
1answer
168 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
271 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
119 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 ...
2
votes
2answers
262 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
434 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
208 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
294 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', ...
0
votes
2answers
438 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
2answers
283 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 ...