Wordpress blog - Need help for "Next page" php code

2 replies
Hi,

I need some help for my wordpress blog.

I bought a customised wordpress blog in the WSO and the designer is uncontactable

The link for the next page is missing.

I can only view the first page of blog posts on the home page
and there seem to be no hyper link at the bottom of the blog for blogname.com/page/2

Would like to know what code to add and exactly where do I add them.

Here is the index.php

HTML Code:
<?php get_header(); ?>

<div id="content">
<div id="content1">
    <div id="contentleft">
    
        <div class="postarea">


        <?php include(TEMPLATEPATH."/breadcrumb.php");?>

        <div class="oldman">

            <div class="icn">

            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

            <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
                        
        <?php edit_post_link('Edit This', '<p>', '</p>'); ?>

            

 <span class="pstd"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/coments.jpg" width="9" height="10" alt="comments" />&nbsp; <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></span><br /><br />

           

               



            <?php the_content(__('Read more'));?>

 

            

            <div class="postmeta" style="margin-bottom:30px; margin-top:10px;">

                Filed Under: <?php the_category(', ') ?><br />Tagged: <?php the_tags('') ?>

            </div>

                     

            <!--

            <?php trackback_rdf(); ?>

            -->

             

            <?php endwhile; else: ?>

            


            <p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>

            

        

        

        <div class="adsense-post">

    

            <!--To activate your Google AdSense ad, go to your WP dashboard and go to Presentation -> Revolution Options and enter your Google Adsense ID.-->

        

            <script type="text/javascript"><!--

            google_ad_client = "<?php  = get_option('rev_adsense_468'); echo ; ?>";

            google_ad_width = 468;

            google_ad_height = 60;

            google_ad_format = "468x60_as";

            google_ad_type = "text";

            google_ad_channel = "";

            google_color_border = "FFFFFF";

            google_color_bg = "FFFFFF";

            google_color_link = "<?php  = get_option('rev_adsense_468_link'); echo ; ?>";

            google_color_text = "000000";

            google_color_url = "666666";

            //-->

            </script>

            <script type="text/javascript"

              src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

            </script>

                        

        </div>

            

        <div class="comments">

    

            <h4>Comments</h4>

            <?php comments_template(); // Get wp-comments.php template ?>

            

        </div>

        

    </div>

</div>

 

 </div>    



</div>

<?php include(TEMPLATEPATH."/sidebar.php");?>
      <div class="clearfloat"></div> 
        
</div>
</div>
<!-- The main column ends  -->


<?php get_footer(); ?>
Thanks in advance.

John
#blog #code #next page #php #wordpress

Trending Topics