Old Post

Discussion in 'Local Business WordPress Theme' started by cancer72, Jun 25, 2013.

  1. cancer72

    cancer72 New Member

    Joined:
    Jun 15, 2012
    Messages:
    10
    Likes Received:
    0
    In my blog i have set primary page as blog. If you go here http://paolofauci.it/test/ there aren't a link for old post at end of page. How i can resolve it? Thank you
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
  3. cancer72

    cancer72 New Member

    Joined:
    Jun 15, 2012
    Messages:
    10
    Likes Received:
    0
    I have do it, but don't work. I do it in search.php, archive.php and index.php of my themes and have put wp-paginate.css in theme folder. May you help me?

    <nav id="nav-single"> <span class="nav-previous">

    <?php if(function_exists('wp_paginate')) {
    wp_paginate();
    } ?>
    </span> <span class="nav-next">

    <?php if(function_exists('wp_paginate')) {
    wp_paginate();
    } ?>
    </span> </nav>
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    You are using blog template as a front page. So
    Go to the Appearance > Editor > loop,php and add plugin pagination code there.
    Then only it will work for front page.
     
  5. cancer72

    cancer72 New Member

    Joined:
    Jun 15, 2012
    Messages:
    10
    Likes Received:
    0
    In loop i have only this .

    PHP:
     <!-- Start the Loop. -->
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <!--post start-->
    <div class="post">
        <h1 class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
        <ul class="post_meta">
          <li class="post_date">&nbsp;&nbsp;<?php echo get_the_time('M, d, Y'?></li>
          <li class="posted_by">&nbsp;&nbsp; <?php the_author_posts_link(); ?></li>
          <li class="post_category">&nbsp;&nbsp; <?php the_category(', '); ?></li>
          <li class="post_comment">&nbsp;&nbsp;<span></span><?php comments_popup_link('No Comments.''1 Comment.''% Comments.'); ?></li>
        </ul>
        <div class="post_content"><?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>
                            <?php inkthemes_get_thumbnail(115110); ?>
                        <?php } else { ?>
                            <?php inkthemes_get_image(115110); ?>
                            <?php
                        
    }
                        
    ?>
                    <?php the_excerpt(); ?>
                    <div class="clear"></div>
                    <?php if (has_tag()) { ?>
                        <div class="tag">
                            <?php the_tags('Post Tagged with '', '''); ?>
                        </div>
                    <?php ?>
          <a class="read_more" href="<?php the_permalink(); ?>">Leggi</a> </div>
         
    </div>
      <!--End post-->
        <?php endwhile;
    else: 
    ?>
        <div class="post">
            <p>
                <?php _e('Sorry, no posts matched your criteria.''local-business'); ?>
            </p>
        </div>
    <?php endif; ?>
    <!--End Loop-->
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Please provide the following information listed below.

    Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:

    Send this information on our email at [email protected]
    We will solve your issue.
     
  7. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Issue resolved, Please check your website.
     

Share This Page