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
568 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
1answer
10 views

Post Format problem

I'v tried really a lot of solutions, and the one that works, it works half a way. Inside single.php I'v added <?php while ( have_posts() ) : the_post(); ?> <?php if( ...
3
votes
1answer
353 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
0answers
12 views

Is there a way to query for standard post formats along with other formats in a single query?

Let say I want to query for standard post formats along with video post formats excluding all the other formats. I can imagine the query like this: $query = new WP_Query( array( 'post_type' ...
0
votes
0answers
10 views

Display the_date() but force the_time() behavior if format is different

In my blog, there are two post formats, standard and link. For standard posts, the date of publishing is always shown at the end of the post, no matter what, and never above its title. For link ...
4
votes
2answers
1k 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 ...
11
votes
2answers
5k views

Is There a Difference Between Taxonomies and Categories?

I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in ...
0
votes
1answer
23 views

Exclude post format from navigation

I would like to exclude the post format "image" from the navigation at the bottom of my single posts. How would I be able to amend the following code to exclude the "images" post format? if ( ! ...
0
votes
0answers
13 views

Display the video of a post_format Video

I've a post with post_format = video, in which the content are a video and a text (in the default editor). I need to display the video and the text separately. How can do it? For now, I've this code: ...
0
votes
0answers
22 views

Change post template the proper way

I'm trying to create an option on edit posts screen (backend) to select different post template based the selection and I need your opinions guys if that is the proper way. Here is what I've tried so ...
0
votes
1answer
35 views

Make tag archive display post are ordered by post format

I would like to set up an archive page for tags where posts are displayed separated depending on post format, first post-format-aside then an archive with all posts except the posts already displayed, ...
0
votes
0answers
9 views

Utilizing 'link format' in WordPress without losing SEO value?

In many WordPress themes that support formats, applying the link format to a post makes its title point to a URL (examples can be found: Daring Fireball and MacSparky). In the theme I'm using, the ...
0
votes
0answers
19 views

How to Edit Layout of a Particular Post Format?

I am looking to edit my theme layout of the aside post format. I have already included the add_theme_support() function to include the aside option when creating a post. However, the layout of an ...
1
vote
1answer
63 views

previous_post_link/next_post_link disappear when excluding by post_format

I am trying to exclude aside post formats from my next and previous links, but for some reason, using get_term_by is not returning me the term_id for the post_format taxonomy. I see this taxonomy ...
0
votes
0answers
22 views

content-aside.php not being recognised

I am new to WordPress and I have hit a very frustrating block. I am trying to set up post formats, which I have done, and can select from the admin panel, but none of them will recognise my ...
0
votes
1answer
33 views

Wordpress export tool doesn't export post-format value of custom post type?

I already created a custom post type with post-format support declared. register_post_type('portfolio', array( 'labels' => array( 'name' => __('Portfolio', "xxx"), ...
0
votes
0answers
17 views

Theme development- photo gallery post type?

I am in the early stages of developing a theme and was looking at how to create a photo gallery post type where all of the images are contained in a slider which is inserted in place of a featured ...
0
votes
0answers
31 views

Why is my custom post type shown in the wrong place?

I'm using a template which shows the post formats pretty nice, but I don't think the WordPress way of making post formats is very user friendly. Therefore I have created my own custom post types by ...
1
vote
1answer
29 views

How do I use this PHP library to access OpenGraph data in a child theme?

I'm fleshing out post formats in a child theme. For link-type posts, if a featured image hasn't been set, I'd like to fetch the OpenGraph image associated with the link and display it. I've found ...
1
vote
1answer
434 views

Database location in Wordpress

I have created my website in WordPress and want to transfert it in my domain created with ipage. I am not able to locate the WordPress database. Can you help me? How is the format or extention of DB ...
0
votes
0answers
27 views

How to treat post formats?

I'm currently working on another WordPress theme, supporting post formats. Adding post formats support to theme is easy, obviously — just few lines of code in functions.php. However from user's ...
0
votes
1answer
157 views

Is possible to add post-formats to custom-post-type?

I was wondering if there is some way to put together the custom-post-types and post-formats so I can code a new post type and offer some variations as post-formats. I'm involved in a company ...
0
votes
2answers
55 views

Adding new post format on plugin activation

I am adding a new post format on my plugin activation using this code: wp_insert_term( 'post-format-interviews_ans', 'post_format' ); It's not working. The rest of the plugin activation code, like ...
1
vote
1answer
154 views

Displaying all Video Post Formats to Page

I am creating a video-archive page for all the posts_format with video. Currently, I have: <?php $format = has_post_format('video', $post_id); ?> <?php if($layout != "fullwidth") { ...
1
vote
2answers
76 views

Post titles below the post format content

I've been trying to figure out this problem for a while now: <article class="post"> <div class="entry-header"> <h2 class="entry-title"><a href="<?php ...
0
votes
0answers
57 views

'Preview Changes' in CPT with Post Formats throws 404 error

I've tested a few custom post type plugins (having post formats support). ISSUE: While editing any CPT entry if I want to view those changes and click on 'Preview Changes' button, it throws a 404 ...
0
votes
0answers
119 views

add_meta_box() and post formats

function myplugin_add_meta_box() { add_meta_box( 'myplugin_sectionid', __( 'My Post Section Title', 'myplugin_textdomain' ), 'myplugin_meta_box_callback', 'post' ); } add_action( ...
0
votes
1answer
34 views

Post formats and template hierarchy

I want to use post formats but the theme (WP-Bootstrap by 320Press) on which my current template is based doesn't make use of the content.php template, only single.php. Is it possible to edit the ...
3
votes
1answer
215 views

Display posts for a single post format

I saw a a url path to display all posts of a particular 'format' a few weeks ago, but I've lost the link. Does anyone know the path? It will be something like mywebsitex.com/format/image Works ...
-2
votes
2answers
102 views

Post Format Status [closed]

I'm new at wordpress theme development. We inspected too many themes but didn't see any common culture at post format status. I wanted to ask how you're using this format, both front side and admin ...
0
votes
2answers
104 views

Style post formats differently on the home page

I was wondering how I can style different post formats differently on the home page. I set up all the formats and grabbed this code from a tutorial website, that displays all the different formats on ...
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 ...
0
votes
1answer
48 views

Category template not displaying all post formats

When I visit a category page that lists all posts in that category, the divs that are to hold the content are empty. The template is clearly only set to display the standard post format, but none of ...
1
vote
0answers
28 views

Usage of post_formats

During the process of developing my first serious theme I stumbled over a basical question: how should I use the post_formats? I know what post_formats are useful for. But for learning purpose I ...
1
vote
1answer
316 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
219 views

Taxonomy - Exclude post format from showing on page

Im trying to set up a taxonomy to hide a post_format on a particular page. I have created the below which stops that post_format from displaying on the page but it also hides it in the 'Posts' page ...
0
votes
3answers
72 views

Getting Twitter Content on My Blog

I'm the editor of a niche blog that posts lots of great content. We also post links to other sites/resources in our Twitter feed. What's frustrating to me is that outside content on our Twitter feed ...
0
votes
1answer
45 views

Change standard post format metabox

I added a meta box to my theme (WordPress admin) for video, image, gallery and chat, but I can't add a meta box for the standard post. When I add post type support for "Standard", the standard post ...
0
votes
2answers
92 views

Post archive for certain post format

I am using the following code for a custom archive of all posts: $taxonomy = 'category'; $param_type = 'category__in'; $term_args = array( 'orderby' => 'slug', 'order' => 'ASC' ); ...
0
votes
0answers
68 views

CPT unsaved draft gives error 404 - when Post Formats support enabled

I've a plugin for Portfolio CPT (can be downloaded from here: http://bit.ly/1tEj5bC), using this plugin, every thing works fine. But when i edit any portfolio entry and click on 'Preview Changes' ...
0
votes
1answer
50 views

An archive page without post format (just standard post)

I'm trying to get posts with not marked with any type of post types (aside, audio etc). But I didn't find any solution to do this. I thought doing this with custom fields but site has a lot of ...
0
votes
1answer
51 views

Display post format post in the sidebar

I am trying to pull posts with the post-format of "quote" on my sidebar. I'm getting the code to spit out the else statement but that's about it so far. I am working in the roots theme if that helps ...
0
votes
1answer
924 views

Add URL field to the link post format

I'm building a blog where 95% of posts will be of "link" post format. I'd like to specify the URL explicitly when adding a new "link" post. In a separate field between the title and the content. (Not ...
0
votes
1answer
167 views

How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1

I want to exclude photo and video categories (ID's 1 and 2 respectively) from my custom taxonomy page. Any suggestions on how can I exclude these two categories from the loop? <?php /** * ...
0
votes
1answer
135 views

Use different post formats on different post types

I added post-formats support like below. add_theme_support( 'post-formats', array( 'gallery', 'link', 'quote', 'audio', 'video' ) ); I also added post-formats support to custom post type like ...
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', ...
0
votes
1answer
127 views

Query only the posts with a post format of “audio”

I'm trying to query only the posts that have a post format of audio. I'm pretty sure I'm doing this wrong. Can I get a little help? <?php get_header();?> <section id="content"> ...
0
votes
1answer
845 views

How to query posts of standard post format. For real

So, I have been looking EVERYWHERE. I tried every kind of combination. So far, nothing. I have to query two posts to show on my front page, of post post-type, not in one category but, most ...
2
votes
2answers
166 views

Strip shortcode from specific post types (formats)

I am trying to remove the shortcode from a specific post type, in this case link. I used this code on my functions.php but it removes the shortcode from the_content for every post type. <?php ...
1
vote
1answer
281 views

How to exclude post formats from wordpress recent posts in a tabs widget

hey guys so i have a problem is that what i want is just standard recent posts only to show and i using a function in my the theme function file to show the recent post the code of the function ...