hbalagh
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Small issue with paginationNevermind, i realized i had this same issue a few years ago
<?php if (is_home()) { $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=-54&paged=$paged"); } ?>
was my answer
Forum: Plugins
In reply to: donations?i think i found what im looking for (donate-plus) if i can get it to work properly ??
Forum: Fixing WordPress
In reply to: 2nd Author templateanyone have any ideas?
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categoryhere is the page it was for, just if ur curious
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categorythank u so very much ??
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categoryits only showing 2 post which are the last two posted and i need it from category 37
<?php $args=array( 'showposts'=>5, 'caller_get_posts'=>1 ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { echo 'Recent Posts with comments'; while ($my_query->have_posts()) : $my_query->the_post(); ?> <?php if ($my_query->post->comment_count == 0 ) { ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> <?php } endwhile; } //if ($my_query) wp_reset_query(); // Restore global post data stomped by the_post(). ?>
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categoryi want it to show post w/o comments
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categorystill showing just the regular latest
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categorythis is the code that im using to display the last five questions asked, but in another area i want to alter it to show questions unanswered (no comments) if someone can help me i would be very thankful
<?php query_posts(array('orderby' => 'DESC', 'cat' => '37', 'showposts' => 5)); if (have_posts()) : while (have_posts()) : the_post(); ?> <li style="font-weight:bold; list-style:none; font-size:9pt; cursor: pointer; display:block; padding-top:10px;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><?php if (3==$post->post_author) { ; echo ' by BPDF member/guest'; } else {?> <?php } ?></li> <?php endwhile; else : ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: list post in sidebar with no comments in a specific categorycan u explain that a lil more im a lil lost lol
Forum: Fixing WordPress
In reply to: limiting words shown in the_contentthe info that is posted there is automatic so i can’t really do that
Forum: Fixing WordPress
In reply to: 2nd Author templateim sure there has to be a way
Forum: Fixing WordPress
In reply to: 2nd Author templateanyone?
Forum: Fixing WordPress
In reply to: Display # of post in category while viewing archivethank u
Forum: Fixing WordPress
In reply to: Post by author exclude categoriesnevermind i really dont need it