"Older posts" and "Newer posts" not appearing

  • hubchau

    #799

    Hi,

    I have 15 articles in my blog. And the number of articles to be shown is set to 5.

    But the link at the bottom of the page that allows me to go to “older posts” doesn’t appear as if the instructions :

    <div class=”post-nav clearfix”>

    <p id=”previous”><?php previous_post_link(); ?></p>

    <p id=”next-post”><?php next_post_link(); ?></p>

    <?php do_action(‘graphene_post_nav’); ?>

    </div>

    were never read.

    Can you help me ?

    http://yachtclub.ece.fr

    Thank you very much

    Kim

    #13598

    Weird as it sounds. But I dont think the French Graphene Theme Language files are correct.

    Try install this plugin: CodeStyling Localization And check if all lines is translated

    in Your Language.

    I Just might be wrong, but it looks so.

    Kim

    hubchau

    #13599

    Hey Kim,

    thanks for your help.

    So I installed the plugin, went to the modification page for the French language. Everything was translated except two lines :

    &laquo; Previous page and Next page &raquo;

    So I translated them but it didn’t change anything which is normal because my issue is not about pages but posts.

    Kim

    #13600

    I was looking for translation of:

    Older posts &laquo; and &raquo; Newer posts

    Do You have them?

    Kim

    hubchau

    #13601

    Yes. Everything is well translated …

    hubchau

    #13602

    One more thing : if I go directly on the 2nd or third page, the “newer posts” link appears, but not the “older posts” one. It’s really weird…

    http://yachtclub.ece.fr/page/2/

    With Firefox, if I look at the source code of the 2nd page, I can see this :

    <div class="post-nav clearfix">
    <p id="previous"></p>
    <p id="next-post"><a href="http://yachtclub.ece.fr/" >Articles plus récents &raquo;</a></p>
    </div>

    So it looks like the function in the loop which is supposed to check if there are previous posts doesn’t work…

    Kim

    #13603

    Are You using a Child Theme? Its more easy to find errors.

    Hmm I see some child page errors..

    If You are using Firefox, try install Firebug http://www.getfirebug.com

    for more control options.

    And maybe check links with this plugin: Broken Link Checker

    By the way.. There can also be something with your permalinks:

    I mean what syntax or plugin are You using?

    WordPress 3.1.1 address permalinks:

    http://wordpress.org/news/2011/04/wordpress-3-1-1/

    Off Topic:

    A Gravatar thing: http://en.gravatar.com/

    If You like Your own Gravatar 🙂

    Kim

    hubchau

    #13604

    I don’t know what is a child theme, so I don’t think I’m using one. What do you mean by “child page errors” ?

    I installed Firebug but except from checking the source code, I don’t know what to do.

    As for Broken Link Checker, it did show me some broken links inside my posts but nothing about my previous or next posts links.

    EDIT : I set the number of posts by page high enough so that they all show up on the home page. I will keep it that way as I long as I can’t find a solution to my problem 🙂

    Kim

    #13605

    Sorry no one told you this: (Please, Just read first post)

    With Firebug You can Right+Click on any text, color & element, then find the CSS code in right panel of Firebug. Try put in some changes there..

    Well, When You update the theme changes in core files will be gone without a Child Theme.

    Kim

    Admin

    Syahir Hakim

    #13606

    Hi hubchau,

    Are you still having this problem? Please let me know so I can investigate it further.

Viewing 10 posts - 1 through 10 (of 10 total)

  • You must be logged in to reply to this topic.