0
votes
1answer
141 views

Wrap posts p tags in div

I am trying to set up blog posts so that when an image is added it is wrapped in one div set to float right and when text is added it is wrapped in another div set to float left. So that all images ...
0
votes
3answers
424 views

How can I add Wordpress Audio Player as featured audio in Audio Blog Posts?

I'm creating a Wordpress blogging theme and have started doing the individual files for each post-format. In doing this I've encountered a problem for the functionality to the audio format. I would ...
0
votes
0answers
43 views

In a page I need to display posts “standard” and post “videos” with post formats

I have created a filter to display "standard" posts in a page by selecting category and it works well but it deletes "video" posts. I need to create another filter to display the "video" posts from ...
0
votes
0answers
116 views

Rewrite a specific Post Format to URL slug

I'll cut to the chase. I am using Post Formats on my WordPress 3.6 site, specifically 'Video', which I want to include in the URL slug. I'm pretty well verse in WordPress plugin writing etc, but ...
0
votes
0answers
72 views

How to keep Wordpress from re-formatting my code posts?

As you can see from the image above, it's changing '{print $5}' to '{print $&;5}' I tried the following article about "stop changing my quotes" And then even installed the "Advanced ...
2
votes
1answer
470 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 ...
3
votes
1answer
269 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 ...
4
votes
4answers
5k 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
2answers
164 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 ...
0
votes
2answers
627 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 ...
1
vote
2answers
601 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
3answers
233 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
771 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
53 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 ...
2
votes
2answers
749 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 ...