Forum Replies Created

Viewing 15 replies - 106 through 120 (of 144 total)
  • Thread Starter Arnoud

    (@derice)

    If you examine the rest of the site, you will see that it exists of mainly travel blogs. These blogs contain a page per day.

    I want to be able to select individual pages (as it is now) and to be able to click on a line of text that states: Previous Page / Next Page.
    This so visitors can navigate easier through the stories, I received some comments on it, people find it tricky to click on just the number to advance to the next chapter.

    Thread Starter Arnoud

    (@derice)

    The site/page I am working on is:
    http://www.arnoudraeven.nl/?page_id=248

    Thread Starter Arnoud

    (@derice)

    I rather have something that works before styling.
    Still need to figure out why the Next/Previous don’t show up consistant.

    CSS isn’t a problem for me, PHP is. 😉

    Thread Starter Arnoud

    (@derice)

    Driving me nuts!

    The code above turns into (can’t figure out why!):

    Next Page
    1 2 3 4 5 6 7 8 9
    Next Page

    Should be:

    Next Page
    1 2 3 4 5 6 7 8 9

    WHen I click to the next page, it shows up like:

    Next Page
    1 2 3 4 5 6 7 8 9
    Previous PageNext Page
    (no typo! It really says this!)

    The last page is the only one that shows corretly…

    1 2 3 4 5 6 7 8 9
    Previous Page

    I feel like I’m almost there, but it’s still not turning out the way I want it to, any tips/suggestions?

    Thread Starter Arnoud

    (@derice)

    Those are meant for skipping to the next post. Not for skipping to the next page of a post.

    I did find this, I’m testing with right now:

    <?php
    wp_link_pages(‘before=<div class=”next”>&after=</div>&next_or_number=next
    &previouspagelink=« Previous Page’);
    wp_link_pages(‘before=<div class=”number”>&after=</div>
    &next_or_number=number’);
    wp_link_pages(‘before=<div class=”next”>&after=</div>&next_or_number=next
    &nextpagelink=Next Page »’);
    ?>

    Thread Starter Arnoud

    (@derice)

    Hi, the first suggestion you posted (using link_pages) only returns the | symbol. Looks like the code isn’t processed.

    The wp_link_pages code doesn’t seem to accept a combination of
    &next_or_number=next&pagelink=page %
    either of those works fine, but a combination doesn’t…

    Also I can’t seem to style the Previous/Next links to show up all the way on the left and right of the post.

    Thread Starter Arnoud

    (@derice)

    No one who can help me out on this?
    I can’t imagine that I am the only one with this query!

    Thread Starter Arnoud

    (@derice)

    This last view should look like (can’t edit my post???):

    Row1: 1 2 3 4 5 6 7 8 9 (center aligned)
    Row2: « Previous Page (left aligned) (right aligned) Next Page »

    Does anyone know how to achieve this?
    With a table it doesn’t work because the syntax can’t be broken.

    Also I would like to know if it’s possible to ‘gettext’ the “Next Page” and “Previous Page”. I’ve tried this in the syntax but it’s not accepted.

    Thread Starter Arnoud

    (@derice)

    A bit futher, where i really need some help:

    I’ve got these 2 lines of code:

    <?php link_pages(‘<p>‘ . __(‘Pages:’) . ‘ ‘, ‘</p>’, ‘number’); ?>

    <?php link_pages(” . __(‘ ‘) . ”, ”, ‘next’, ‘ Next Page »’, ‘« Previous Page ‘); ?>

    This results in:
    Pages: 1 2 3 4 5 6 7 8 9

    « Previous Page Next Page »

    However I would like it to look like this:

    « Previous 1 2 3 4 5 6 7 8 9 Page Next Page »

    But I doubt that this is possible, worst case I could live with:

    1 2 3 4 5 6 7 8 9
    « Previous Page Next Page »

    Thread Starter Arnoud

    (@derice)

    I’ve managed to create this piece of code:

    <?php link_pages(‘<p>‘ . __(‘Pages:’) . ‘ ‘, ‘</p>’, ‘next’, ‘ Next Page »’, ‘« Previous Page ‘); ?>

    This shows the Previous/Next option at the bottom of a multi paged post.
    However it doesn’t show the page numbers.
    Any idea’s on how to achieve this?

    Thread Starter Arnoud

    (@derice)

    I’m affraid that my knowledge of PHP isn’t extensive enough to modify the script.
    I was hoping for a simple solution/plugin.

    It amazes me that there isn’t something like this standard in WordPress.

    Thread Starter Arnoud

    (@derice)

    This plugin doesn’t apply for posts itself.
    I need to modify the “page.php” & “single.php”.

    This plugin is for the archive.php, index.php or search.php files.
    I did try to replace the line of code I mentioned above with the code provided in the installation document of the plugin you suggested but it didn’t go for it.

    In short, replacing:
    <?php link_pages('<p><strong>' . __('Pages:') . '</strong> ', '</p>', 'number'); ?>
    with:

    <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>

    and the plugin doesn’t work.
    No page numbers are displayed at all below a post.

    Thread Starter Arnoud

    (@derice)

    anyone?

    Thread Starter Arnoud

    (@derice)

    Thread Starter Arnoud

    (@derice)

Viewing 15 replies - 106 through 120 (of 144 total)