Arnoud
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesIf 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.Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesThe site/page I am working on is:
http://www.arnoudraeven.nl/?page_id=248Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesI 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. 😉
Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesDriving me nuts!
The code above turns into (can’t figure out why!):
Next Page
1 2 3 4 5 6 7 8 9
Next PageShould be:
Next Page
1 2 3 4 5 6 7 8 9WHen 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 PageI feel like I’m almost there, but it’s still not turning out the way I want it to, any tips/suggestions?
Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesThose 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 »’);
?>Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesHi, 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.
Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesNo one who can help me out on this?
I can’t imagine that I am the only one with this query!Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesThis 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.
Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesA 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 »Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesI’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?Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesI’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.
Forum: Fixing WordPress
In reply to: Previous/Next below posts/pagesThis 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.Forum: Fixing WordPress
In reply to: Tabbed multi page postsanyone?
Forum: Fixing WordPress
In reply to: WP 2.5 & Gettext not workingResolved, same issue as: http://wordpress.org/support/topic/180110?replies=7
Forum: Fixing WordPress
In reply to: Widget/Sidebar issueResolved, same issue as: http://wordpress.org/support/topic/180110?replies=7