Taxonomy search filters

You could make use of add_query_arg() and remove_query_arg() here. For example http://yourdomain.com/?country=india&institute=pune-university would show results of Pune University in India. You could add s=symbiosis to search in the filtered results too. Basically this url would help you out -> http://codex.wordpress.org/Function_Reference/add_query_arg

Fetching Image from other post/page with custom type

You can achieve that in many ways , but providing that you use a relatively new wordpress, you should use the_post_thumbnail(). you define it in functions.php , like so : add_theme_support( ‘post-thumbnails’ ); //thumnails set_post_thumbnail_size( 150,230, true ); // defaultpost thumbnails add_image_size( ‘your-custom-name-2’, 400, 9999 ); // some size thumbnail add_image_size( ‘your-custom-name-2’, 400, 300,false ); … Read more

Post show up as post and pages

I just wanted to post the solution here instead of deleting just in case this ever helps anyone else. The problem was this 1 small function I had tucked away in a setting file… /** * change number of posts shown per page in admin area */ function admin_pagination(){ global $wp_query; $per_page = 5; $wp_query->query(‘showposts=”. … Read more

category filter doesn’t work

this is the problem, starting at line 46: $args = array( ‘post_type’ => ‘post’ ); $post_query = new WP_Query($args); if($post_query->have_posts() ) { while($post_query->have_posts() ) { $post_query->the_post(); //stuff endwhile; endif; you’re not using the original query for the page, which contains just posts from the current category, and you’re replacing it with a new query that’s … Read more

Background tiles not working in iPad2 but ok everywhere else

As it turned out I learned something quite useful and should have stopped back to post the answer here. After quite a lot of searching I found 2 articles: http://www.teknocat.org/blog/web-dev…-scaling-quirk which linked to: http://www.defusion.org.uk/archives/…iphone-safari/ To summarize: there’s a size-limit for background images/graphics that will be properly rendered by iphones/pads. Widths and heights can vary but … Read more