unlimit3d1
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Fixing WordPress
In reply to: Pagnitation stops working after adding a second loopWorks perfectly, thank you very much 🙂
Forum: Fixing WordPress
In reply to: Pagnitation stops working after adding a second loopTrying to paginate the second loop.
The code looks like this:<?php query_posts('category_name=news &posts_per_page=3');?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php the_title(); ?> <?php the_excerpt ();?> <?php endwhile; endif; ?> <?php wp_reset_query(); ?> <?php $my_query = new WP_Query('cat=-13,-15');?> <?php if(have_posts()): while(have_posts()):the_post();?> <?php the_time('F j, Y'); ?> <?php $category = get_the_category(); if($category[0]){echo '<a>term_id ).'">'.$category[0]->cat_name.'</a>';}?> <?php comments_popup_link( 'Няма коментари', '1 коментар', '% коментара', 'comments-link', 'Коментарите за тази публикация са изключени');?> <?php if (function_exists('has_post_thumbnail') && has_post_thumbnail()) the_post_thumbnail();?> <?php the_title(); ?> <?php the_excerpt ();?> <?php endwhile; endif;?> <?php posts_nav_link(); ?>Paginate works now, but displays categories which i don’t want to display.
Forum: Fixing WordPress
In reply to: Pagnitation stops working after adding a second loopNo, it’s not that…
Forum: Fixing WordPress
In reply to: Pagnitation stops working after adding a second loopThanks for the replay but, can you be a little more specific how exactly to do that… i am a new to wordpress development
When i use this
<?php $my_query = new WP_Query('cat=-13,-15');?>
page navigation works but displays categories which i don’t want to displayForum: Themes and Templates
In reply to: replay link dont'work….sorry for bothering 🙂 , I figured out
Viewing 5 replies - 1 through 5 (of 5 total)