Tagged Questions
0
votes
2answers
359 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
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, ...
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 ...
0
votes
1answer
236 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
1answer
542 views
Post Format single-loop.php using get_template_part
I have set up to use post formats gallery and video in addition to the standard. I am editing the loop-single.php to give it different layouts for each post format, but I'm to include ...
1
vote
0answers
171 views
In Loop, if a Gallery, Only Pull First Image [closed]
I'm trying to create a loop that only displays the post types: "photo" and "gallery".
If it's a gallery I would like to display only one of the images, preferably the first.
I'm a little confused ...
1
vote
1answer
467 views
Filtering post-formats from the loop using new WP-Query();
Hi i am currently building upon a theme that i have build previously for my blog.
The following code is to point to the latest post (the featured post). As this will have a different styling than all ...