0
votes
1answer
117 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
1answer
84 views

WordPress add post format support not working

I am working on a theme and for some reason, add_theme_support( 'post-formats', ... ) is not working. In my theme's functions.php I have the following near the top: function mytheme_setup() { // ...
0
votes
3answers
301 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
3answers
111 views

Conditional for Post Format

I want to to show a specific content on the top of each post (on single page) depending of the post-type. If it's normal, show something, if it's gallery, show another. By now the code is like this: ...
0
votes
1answer
395 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
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. ...
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 ...
1
vote
1answer
282 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 ...
0
votes
1answer
236 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
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 ...
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 ...