navi17
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] sitemap not working with nextgen gallery pluginWell i am not using any cache plugin.
Forum: Plugins
In reply to: [Yoast SEO] Sitemap ErrorI am also getting this error?
Can anyone help?
Forum: Fixing WordPress
In reply to: Bad request 400 error when i try to update permalinksSo what exactly the server issue.?
What should i told them? so that they can resolve?
Is there anything related to files/folder permissions?Thanks
JamesForum: Fixing WordPress
In reply to: Bad request 400 error when i try to update permalinksyes i have already contacted the host.
they already enable the mod_rewrite module.
But i still got the same error.Any other ideas?
Forum: Fixing WordPress
In reply to: Does Not Compute when I'm trying to edit the permalinksHEy chadcrider,
Can you please tell me how you resolved the bad request error.
I got the same error when i update permalinks. and my website is also hosted on hostica.Looking for your quick response?
Thanks
JamesForum: Fixing WordPress
In reply to: Related Posts by Custom TaxonomyHi,
I am using below code to display particular posts based on custom taxonnomy.
<?php //for in the loop, display all "content", regardless of post_type, //that have the same custom taxonomy (e.g. genre) terms as the current post $found_none = '<h2>No related posts found!</h2>'; $taxonomy = 'persona';// e.g. post_tag, category, custom taxonomy $param_type = 'persona'; // e.g. tag__in, category__in, but genre__in will NOT work $tax_args=array('orderby' => 'date'); $tags = wp_get_post_terms( $post->ID , $taxonomy, $tax_args); if ($tags) { foreach ($tags as $tag) { $args=array( $param_type => $tag->slug, 'post__not_in' => array($post->ID), 'post_type' => 'live', 'showposts'=> 4, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); ?> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <?php $found_none = ''; endwhile; } } } wp_reset_query(); // to use the original query again ?>
But i have one problem.
I have hierarchy structure for categories.
e.g main category-> sub category1->subcategory2
i have posts in each subcategory lets suppose one in sub category1 and one in subcategory2
But the problem is that when i click on main category it only displays one post but in fact there are two posts under it.
when i click on sub category the posts displays fine.Can anyone help?
Thanks
navi