WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Yet Another Related Posts Plugin] YARPP and my page number?

[Plugin: Yet Another Related Posts Plugin] YARPP and my page number?

  • zhp800204
    Member

    @zhp800204

    First,thanks for your great plugin,I have a small question,when I upgrade to the newest version,the “page break” number in my posts are gone(the “page break” is the function in wp when we write a new post),please tell me why and how to fix it.

    You can e-mail me,ross800204@gmail.com

    Thank you for your wonderful plugin again.

Viewing 15 replies - 1 through 15 (of 25 total)
  • From why version to what version did you upgrade? Are you using YARPP 3’s new templating system? I assume the you’re referring to the pagination page number in your theme… Can you tell me where that’s defined and what code you’re using?

    Also, if it’s a case that no output at all is printed after the related posts, this would indicate a php error. Please check your php error log to see if there’s anything from YARPP.

    Dear mitchoyoshitaka,

    from me – also at first: Thanks a lot for this plugin. I have just started working with it and tuning it.

    This is also my problem:

    No pagination WITH the YARPP plugin activated. Only the first page until the page break is shown.

    When I deactivate YARPP the pages are shown perfectly.

    You say to check the php error log. Do you need that to reconstruct this error? If yes, how can I view this error log?

    @lenea – are you displaying the related posts on the archive/index page of your site or on the single page?

    As I said for @zhp, if there is no output at all in the source after the related posts (you can check this by viewing the source of your page in your browser) it may be a syntax error and you should check the PHP error log. The PHP error log is stored on the server and its location depends on your PHP setup. If you’re on a hosting service you can normally ask the provider.

    Hi, i’m having the same problem as these other two members, however I looked and the problem isn’t a PHP error. (LOVE the plugin by the way!)

    It really is as Lenea described. I installed the latest version of YARPP (latest as of 6/16/09) with WordPress version 2.8. In my posts where I have a page break (that is, where I have <!–nextpage–> ), the pagination code is not displayed when viewing the post. I have no links to the other pages in the post, so I get just the first page. YARPP itself displays just fine.

    When I deactivate YARPP the pagination on my post works just fine and the links to each page are displayed correctly. This leads me to believe there is some sort of conflict between YARPP and the way pagination works.

    The theme I’m using is a slightly customized version of the WordPress default theme. So if you were test with that version I’m pretty sure you’d see the same behavior.

    Thanks!

    I, too, am having a conflict with YARPP and the pagination nextpage feature in some of my single page posts. Using 3.0.7.

    When I disable YARPP, the pagination works correctly.

    If I keep YARPP enabled, when I MOVE the wp_link_pages function call ABOVE the_content, then the pagination works correctly (it displays above the content — not where I would like it to be, at the bottom of the page, but at least it is displaying at the same time that YARPP is on the page). When I move the wp_link_pages function below the_content again, the pagination disappears.

    My guess is that YARPP is exiting the loop, so anything else after YARPP in the site template that must also reside in the loop is getting gonged. This is on the Single Page loop, if that matters.

    If this is truly the case, then where in the YARPP code can we place the wp_link_pages call so that the pagination occurs immediately before YARPP? My site is currently set to automatically include YARPP, so my next step would be to try adding YARPP manually instead. I would prefer not to have to do this, however, if a better option is available.

    Suggestions appreciated.

    ReflectionMedia
    Member

    @reflectionmedia

    yup! there are clearly some pagination issues for this plugin. i’m using the thematic theme.

    Hi all— thank you all for bringing this up. In particular, WebG2, thanks for mentioning the wp_link_pages function you’re using… this helped me pin down the issue.

    I just released what I believe is a fix for this pagination issue as 3.0.8b1. If you guys could download it and give it a try, I would really appreciate it!

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.0.8b1.zip

    mitcho

    There was a bad bug in 3.0.8b1, so I pushed 3.0.8b2:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.0.8b2.zip

    DieterWelzel
    Member

    @dieterwelzel

    Hi,
    Great plugin and I love it.
    I have another issue.
    Use my blog in german with wp 2.8.2, yarpp 3.0.8 also as 3.0.8b2 and realized an empty option page.
    Any idea what´s the reason and maybe fix this?
    Best regards,
    Dieter

    @dieterwelzel are you using the DISQUS plugin by chance? There’s a workaround in the FAQ:

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/faq/

    @reflectionmedia, @webg2 et al… could someone confirm that pagination is working again with 3.0.8 beta 2?

    Thanks!

    Media un autre regard
    Member

    @media-un-autre-regard

    Hey, I had the same probleme with the pagination. I installed the new version but the problem is the same!
    I’m sad because i really like this pluggin but for the moment i can’t use it.
    I hope it’ll work soon
    Thanks

    @media, could you tell me what template tag you’re using in your template to display the pagination? Is it wp_link_pages or something else?

    willard97
    Member

    @willard97

    How can I disable YARPP for specific posts or pages? I just created a “Thank You” confirmation page for my email subscribers and I don’t want to show them Related Posts on that pages is it’s irrelevant.

    Can I use a custom field and false value to disable?

    Media un autre regard
    Member

    @media-un-autre-regard

    @mitcho I’m not a programmer so i can’t answer you as precisely as you can expect. But i’m simply using WordPress 2.8.2. And to create pages i’m just typing <!–nextpage–> in my posts.
    At this moment i’m using the 3.0.8 version of your pluggin. The same problem still exists.
    Thank you

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] YARPP and my page number?’ is closed to new replies.