Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Member John Tanedo's Avatar
    Join Date
    Apr 2010
    Location
    Ca***an de Oro City, Philippines
    Posts
    72
    Member #
    21794
    Hey guys need help. . . still trying to figure out why the older post link on my blog page in my website isnt working. . .http://makeyourtheme.com/blog
    any ideas? any help would be much appreciated. . .
    I tried using this codes still theres no luck

    Code:
    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    if ($paged < 2) {
    query_posts("posts_per_page=1&offset=(3 * $paged) + 1");
    }
    ?>
                   
    <?php query_posts('&cat=-4&posts_per_page=3'); ?>
    
                      <?php if (have_posts()): ?>
    
                             <?php while (have_posts()): the_post();?>
    
                          <div <?php post_class() ?> id="post-<?php the_ID();?>">
                            <div class="latest">
                                <div class="blogtitle"><h2><a href="<?php the_permalink() ?> "><?php the_title();?></a></h2></div>
                             
                             <p class="dateposted">Posted on: <?php the_time('l, F jS, Y') ?> at <?php the_time() ?></p>
                             <p class="author">by:<?php the_author(); ?></p>
                             <hr />
                             <div class="excerpt"><?php the_excerpt();?></div>
                            </div>    
                                       
                           </div>
                            
                        <?php endwhile; ?>
    <?php next_posts_link('&laquo; Older Entries') ?>
             <?php previous_posts_link('Newer Entries &raquo;') ?>
                      <?php else: ?>
    
                      <?php endif;?>

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:52 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com