サイト本体で使用している言語は日本語ですが
ポイントとなる部分は英文にしている為、
可能でしたら変更したいと考えております。
「 content.php」「content-single.php」の辺りかなと覗いてみたのですが、
PHPが理解出来ずで…。
どうぞ宜しくお願い致します。
]]><?php link_pages('', '', 'next', 'Next page <img src="wp-content/themes/brink/images/button_next.gif" alt="Next button"/>', ''); ?>
Any ideas?
]]>Most of us add whitespace, as force of habit, when adding “comments”, however, when applying the <!–nextpage–> tag in code view to a page in order to break it into seperate pages, adding whitespace causes the function list_pages() to fail. You need to ensure that there is no white space in the tag and in doing so will correct the problem.
This issue occurred whilst using WPv2.2.
Hope that it helps.
nextpage
tag is used? What I want to insert is a comma or vertical bar separator between the links (or maybe list-organize them). The documentation seems to suggest those links are comma-separated, but they are not.
If an argument (parameter?) isn’t known, can someone tell me which line of which file I need to edit to make this possible please? I’ve hunted through the template function files, and I think it’s in the posts functions file, but I’m unsure where.
Ideally I’d like to do this in the theme files, but if I can’t, I will edit the core files for this particular installation. I just want to make it so… for improved accessibility.
Thanks.
Mike
I need some help formating the <?php wp_link_pages(); ?>
tag. The parameters are like this: <?php link_pages('', '', '', 'next page', '', '', ''); ?>
.
The problem is, it keeps creating a new paragraph, and I don’t know why. Like this: link.
I would like the “next page” to be immediately after the text (here: after the “mei. next page”).
The relevant code in the single.php is: <?php the_content('<p>Read the rest of this entry ?</p>'); ?><?php link_pages('', '', '', 'next page', '', '', ''); ?>
Somebody an idea?
Thx
Dantes
<?php link_pages() ?>
or <?php wp_link_pages() ?>
link to the next page #post
or whatever.
There seems to be a way to make the tag do what I need, but I’m having difficulty getting my syntax right. I searched the Codex and found this parameter:
more_file
(string) Page the links should point to. Defaults to the current page.
Unfortunately I’m just not getting it. Here’s what I’ve got so far:
<?php wp_link_pages('before=<p class="pagination">Pages: &after=</p>&next_or_number=number&more_file=#post'); ?>
I’ve even tried <?php ... &more_file=( the_permalink() )#post'); ?>
. Any ideas?
`<div class=”entrytext”>
<?php the_content(‘<p class=”serif”>Read the rest of this entry »</p>’); ?>
<?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>’
When I try to carry over the relevant piece from the above code, it only works if I bring over the entire entry as well as the link to PDF.
See here:
https://blog.williamatwellclary.com/?p=134
At the end of the entry I get the link to a PDF.
But here in search results:
https://blog.williamatwellclary.com/?s=pie
And here in the category listing:
https://blog.williamatwellclary.com/?cat=18
I can’t get the link to PDF to appear under the entry title, like this:
White Chocolate Pecan Truffles
Download PDF: White Chocolate Pecan Truffles.pdf
Chocolate Truffles
Download PDF: Chocolate Truffles.pdf
Another issue: there seems to be a limit on the # of items returned in a search or a category archive on a given page. I want to make that unlimited. Help?
Thanks,
m
]]>On my WordPress 1.5.2 blog that I recently upgraded to version 2.0, I can see only one page’s worth of Categories and Archives. Here is my blog URI:
https://www.mtannoyances.com
I’m using Mike Cherim’s Beast-Blog theme, which I think is terrific. However, this is the code I have on my single post template page:
<div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</div>
Because I post entries to my weblog almost every day, I should have at least two dozen entries for each monthly archive link.
Under Options > Reading in my WordPress admin console, I have Show at Most: 7 days configured.
Thanks very much for any help you can provide.
Sincerely,
Tim Warner
example:
1 2 3 4 … 25 26 27 Next Page>>
or
<< Previous Page 1 2 3 4 5 6 7 8 … 25 26 27 Next Page >>
Anyone knows where to get more info on the subject?
Thanks!
// Andreas
First | Previous | 7 | 8 | 9 | 10 | Next | Last
I can only get it to show either previous/next links or links to each page. Even a list of all pages with a link to next/prev would be an improvement.
Thanks in advance.
]]>