Post Format Status [closed]

Post formats is an optional value added to WordPress posts which allows theme developers to define visual representation of a post. Theme developers can create themes with support for post formats. A number of post formats are available, however it is not possible for themes or plugins to introduce custom post formats. It is not … Read more

How to query posts from single post format on Genesis framework

The taxonomy should be post_format and term should be post-format-link. Also simple taxonomy queries are deprecated since 3.1 in favor of tax_query: $args = array( ‘posts_per_page’ => 5, ‘tax_query’ => array( array( ‘taxonomy’ => ‘post_format’, ‘field’ => ‘slug’, ‘terms’ => ‘post-format-link’ ) ) ); $recent = new WP_Query( $args );

Cafe Food Menu upload

Rock the custom fields? You could do this manually or by using a plugin such as magic fields or PODS. I’ve never used PODS but I’ve been eying it for a while and think this may be your best route. You could do something like creating a category called “breakfast” and one called “lunch” then … Read more

Exclude post formats in custom loop

$args=array( ‘paged’=>$paged, //Pulls the paged function into the query ‘posts_per_page’=> 4, //Limits the amount of posts on each page ‘post_type’=>’post_type’, //Set your allowed post types here ‘orderby’ => ‘title’, ‘order’ => ‘ASC’ ); query_posts($args); For more reference refer this. You can pass the allowed post_type array to post_type argument in arguments array.

WordPress Post Format If Statement?

I believe you just need to add some “elses” into your php, like so: if ( has_post_format( ‘aside’ )) { // do some stuff } elseif ( has_post_format( ‘chat’ )) { // do some other stuff } elseif ( has_post_format( ‘gallery’ )) { // do some other stuff } else { // this isn’t a … Read more