Query multiple taxonomies with pagination

May be this will help: …….. …….. if(isset($_POST[‘genre’])) { $myquery = array( ‘showposts’ => 20 , ‘orderby’ => ‘title’, ‘order’ => ‘ASC’, ‘paged’ => $paged, ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘anime_genre’, ‘terms’ => $_POST[‘genre’], ‘field’ => ‘slug’, ‘operator’ =>’AND’ ) ) ); } query_posts($myquery); ……

How can I modify this blog loop to display custom post type posts?

Modify your code to use the correct query_posts call. Use query_posts(‘post_type=portfolio&offset=” . $offset); instead of query_posts(“offset=” . $offset); Below is your code modified: <?php /* Template Name: 2 Column Blog Template */ get_header(); ?> <section class=”container”> <!– 960 Container –> <?php $counter = 1; //start counter $grids = 2; //Grids per row global $query_string; //Need … Read more

Using post type archive page for taxonomy archive

Have you checked the WordPress Template Hierarchy Diagram To get an idea how wordpress choose the tempalte. I’m not sure but according to the WordPress Template Hierarchy, WordPress will choose default archive.php for custom taxonomy if no special template is specified. That means you cannot not have archive-product.php to use with Custom Taxonomy archive. In … Read more

wp_update_post call really slow when official Facebook plugin is installed

This is beacuse facebook plugins does some really intensive checks on every save_post and this slows down calls to wp_update_post and wp_save_post to a crawl ( about 2 seconds for each call ). If you want you can remove them remove_action( ‘save_post’, ‘fb_add_page_mention_box_save’ ); remove_action( ‘save_post’, ‘fb_add_friend_mention_box_save’ ); The crazy thing is that facebook does … Read more

404 Error for Custom Post type

Opps I take that back … you must be changing stuff at the same time as i was writing this .. so this answer may not be any help at first it seemed the URL’s were wrong the title url is linking to events the read more is linking to event eg .. http://www.gregtaylordesignstudio.com/absinthe/event/dead-divine-farewell-tour/ and … Read more