Support » Plugins and Hacks » Next-Previous Page?

  • Resolved worrypascanada

    (@worrypascanada)


    Hello,

    Some of my articles are multi pages, so I need visitors to see page numbers in order to follow or read through multi pages. Any plugin or codes for the above? Yes, I have seen several posts in this forum, but they are outdated and not helping.

    Example: http://patrimoineacadien.com/?p=24

    Thanks for your support and patience.

    WorrypasCanada.

Viewing 15 replies - 1 through 15 (of 31 total)
  • Continued from my previous post:

    What I don’t understand is why have <!--more--> as an option while writing an article if it just does not work?

    Thanks for your comments.

    Hi,

    I am still in need of a solution to resolve my issue with multi pages articles.

    Thanks for your kind support.

    Have you tried using the <!–nextpage–> tag?

    There is also a plugin pagepost
    http://www.coolcode.cn/show-115-1.html

    Site is in Chinese but you can see the zip download.

    The plugin allows you to split the content in pages using the tag
    <!–page:[title]–>

    You will have a navigation bar above and below the content.

    Thanks for your replies!

    Threestyler: <!–nextpage–>, without the pagepost plugin, this tag will not work.

    Cinematic: I have downloaded and installed the suggested plugin. With <!–nextpage–>, I can see the page numbers above and below, but when clicking page numbers, the next page does not show up… the URL is changing when clicking on page numbers. If I use the <!–page:[title]–> tag, I can’t see the page numbers.

    Thanks for your patience and your support.

    Hi,

    I have tried to post my issue on http://www.coolcode.cn/show-115-1.html , but was unsuccessful in filling the comment form. Can you help?

    Thanks!

    @worrypascanada: This is actually one of my favourite plugins, and I know it works with 2.3 but haven’t tested it with 2.5 yet.

    Anyway, the actual separator code is:
    <!--page-->

    The additional [title] tag was included later on so that visitors hovering over the link could see a title tag.

    Thanks Mosey,

    Revising my previous emails:

    With <!--page--> and pagepost plugin installed, I can see the page numbers above and below, but when clicking the page numbers, the next page does not show up… the URL is changing, but not the page. With <!--nextpage--> I can’t see these numbers.

    Thanks for your patience.

    Hi worrypascanada,
    Just out of interest, are these files also in the plugin folder?

    innerhtml.js
    phprpc_client.js

    If I use the <!–page:[title]–> tag, I can’t see the page numbers.

    Actually there shouldn’t be a problem if you divide your content with these tags. I have used it in wp 2.5.1 even with the title tags. There is a bar above and below with the numbers and the content in between. Are you using the visual editor or html editor? Try the html editor.
    The post then would look something like this:

    <!--page:[page 1]-->
    <h3>heading</h3>
    <p>some content</p>
    <p>some more content</p>
    
    <!--page:[page 2]-->
    <p>some content</p>
    <p>some more content</p>
    
    <!--page:[page 3]-->
    <p>some content</p>
    <p>some more content</p>

    Mosey: The said files are in wp-content/plugins/pagepost.

    Cinematic: I will try later on today.

    Thanks for your kind support.

    @worrypascanada: I was asking as when I click on the links on your site, it gives a ‘page post not defined’ error in the Firefox Error Console, which I can replicate if the javascript related files are not available 🙂 I think there’s another pagepost.js.php file in the list.

    This is the full list of files:

    innerhtml.js
    language.php
    pagepost.css
    pagepost.js.php
    pagepost.php
    phprpc_client.js
    phprpc_server.php
    rpc.php

    <!–nextpage–>, without the pagepost plugin, this tag will not work.

    That’s a false statement… Here is an example from my blog showing that it works.
    The only “trick” is – you need the proper template tag in your theme files: Template_Tags/wp_link_pages

    Mosey:

    I have the following files and folder:

    dhparams…
    bigint.php
    compat.php
    dhparams.php
    innerhtml.js
    language.php
    pagepost.css
    pagepost.js.php
    pagepost.php
    phprpc_client.js
    phprpc_server.php
    rpc.php
    xxtea.php

    Moshu:

    I might have to contact the theme builder in order to determine where to put the following code in a loop as suggested in your link: <?php wp_link_pages('arguments'); ?>. Per Template_Tags/wp_link_pages, I would need to put this code within index.php or any other pertinent places. Within index.php, where should I put this code?

    Thanks for helping out.

    @worrypascanada:

    Just to clarify: the folder structure should be like this

    wp-content/plugins/pagepost/pagepost.css
    wp-content/plugins/pagepost/language.php
    wp-content/plugins/pagepost/pagepost.php
    wp-content/plugins/pagepost/phprpc_server.php
    wp-content/plugins/pagepost/pagepost.js.php
    wp-content/plugins/pagepost/phprpc_client.js
    wp-content/plugins/pagepost/innerhtml.js
    wp-content/plugins/pagepost/phprpc_client.js

    Is it possible to confirm that this is the case for you please? Otherwise it seems as though the pagepost plugin files do not have their own ‘pagepost’ folder.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘Next-Previous Page?’ is closed to new replies.