guru4ever
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to hide the query string values passed through anchor taglink is href=”localhost/development/pr0ducts?action=submit&id=4
and i have tried .htaccess rewrite it doesn’t work for me
hi keesiemeijer,
Thanks. now i got it.. am having one more question. am using custom post type . in that am given capability-type as page . what is the best practice whether to use post or page in custom post-type capability.need help
Regards,
Guru4everHi keesiemeijer,
thanks for the reply , i have tried what you suggest it works.but it displays all the posts in that category.i want to display particular posts under the category bannertop. post slug name is “calendar”. help needed.<?php $args = array( 'post_type' => 'sample_content', 'tax_query' => array( array( 'taxonomy' => 'site-categories', 'field' => 'slug', 'terms' => 'bannertop' ) ) ); query_posts($args); ?> <?php?> <?php while ( have_posts() ) : the_post(); ?> <h3><?php the_title()?></h3> <?php the_content()?> <?php endwhile; wp_reset_query(); ?>
Thanks in advance—
Guru4everForum: Everything else WordPress
In reply to: Best Practices for wordpressHi ,
Roy,fonglhThanks for the comments. but i need some clear comments guys .am new to wordpress.am designing site as a normal site not as a blog . if am inserting a paragaraph in home page left column with 4 lines . right column also contains different paragraphs and heading . in this scenario what i want to use posts or pages . if am using posts it displays in the blog section . as i mentioned earlier blog is part of my website.
Thanks in advance.
Guru4everForum: Everything else WordPress
In reply to: Best Practices for wordpressif am using posts it shows all the contents in the blog section
Forum: Themes and Templates
In reply to: hiding unapproved comments in twentyelevenHi,
Finally i have solved the issue. i have just hide the unapproved comments message . in themes function.php
<?php if ( $comment->comment_approved == ‘0’ ) : ?>
<em class=”comment-awaiting-moderation”><?php _e( ‘Your comment is waiting for approval.’, ‘carnatic’ ); ?><?php endif; ?>
<div class=”comment-content”><?php comment_text(); ?></div></footer>
intead of above code i have done small modification check below..
<?php if ( $comment->comment_approved == ‘0’ ) : ?>
<em class=”comment-awaiting-moderation”><?php _e( ‘Your comment is waiting for approval.’, ‘carnatic’ ); ?><?php else :?>
<div class=”comment-content”><?php comment_text(); ?></div>
<?php endif; ?></footer>
Thanks
Forum: Themes and Templates
In reply to: hiding unapproved comments in twentyelevenno i don’t want the message is displayed. it will be problem if somebody posts some unwanted comments that’s why am trying to hide the messages.any idea…
Forum: Themes and Templates
In reply to: hiding unapproved comments in twentyelevenI have tested by logging out of admin act but still the message is displaying …