• 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細

このWikiはいつでも誰でも編集できます

「テンプレートタグ/next posts link」の版間の差分

提供: WordPress Codex 日本語版
移動先: 案内検索
(en:Template Tags/next_posts_link 2008年1月5日 (土) 02:27 MichaelH 版)
 
(体裁調整、未翻訳)
1行目: 1行目:
== Description ==
+
{{NeedTrans}}
 +
 
 +
<div id="Description">
 +
== 説明 ==
 +
</div>
 
This creates a link to the previous posts. Yes, it says "next posts," but it's named that just to confuse you.
 
This creates a link to the previous posts. Yes, it says "next posts," but it's named that just to confuse you.
  
== Usage ==
+
<div id="Usage">
 +
== 使い方 ==
 +
</div>
  
%%% <?php next_posts_link('Label', 'Max number of pages (default 0)'); ?> %%%
+
<?php next_posts_link('Label', 'Max number of pages (default 0)'); ?>
  
== Examples ==
+
<div id="Examples">
 
+
== 用例 ==
===Default Usage===
+
</div>
  
 +
<div id="Default_Usage">
 +
=== 初期設定での使用 ===
 +
</div>
  
 +
<div id="Working_example">
 
===Working example===
 
===Working example===
 +
</div>
  
 
  <?php next_posts_link('Next Entries &raquo;', '0') ?>
 
  <?php next_posts_link('Next Entries &raquo;', '0') ?>
  
== Parameters ==
+
<div id="Parameters">
 +
== パラメータ ==
 +
</div>
 
<!--
 
<!--
 
; format : (''string'') Format string for the link. This is where to control what comes before and after the link. <tt>'%link'</tt> in string will be replaced with whatever is declared as <tt>'link'</tt> (see next parameter). <tt>'Go to %link'</tt> will generate "Go to <a href=..." Put HTML tags here to style the final results. Defaults to <tt>'%link &amp;raquo;'</tt>.
 
; format : (''string'') Format string for the link. This is where to control what comes before and after the link. <tt>'%link'</tt> in string will be replaced with whatever is declared as <tt>'link'</tt> (see next parameter). <tt>'Go to %link'</tt> will generate "Go to <a href=..." Put HTML tags here to style the final results. Defaults to <tt>'%link &amp;raquo;'</tt>.
25行目: 38行目:
 
: In Wordpress 2.2, apparently, concatenating multiple categories for exclusion is done with a comma, not <tt>and</tt>; example: <tt>'1, 5, 15'</tt>.  Still no default.
 
: In Wordpress 2.2, apparently, concatenating multiple categories for exclusion is done with a comma, not <tt>and</tt>; example: <tt>'1, 5, 15'</tt>.  Still no default.
 
-->
 
-->
== Related ==
+
<div id="Related">
See also [[Template Tags/next_post_link|next_post_link()]].
+
== 関連 ==
 
+
</div>
 +
参照: [[テンプレートタグ/next_post_link|next_post_link()]]
  
 
{{PHP Function Tag Footer}}
 
{{PHP Function Tag Footer}}
 
{{Stub}}
 
{{Stub}}
 +
 +
{{原文|Template Tags/next_posts_link|52560}}
 +
 +
{{DEFAULTSORT:next_posts_link}}
 +
 +
[[en:Template Tags/next_posts_link]]

2008年4月3日 (木) 05:16時点における版

このページ「テンプレートタグ/next posts link」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています

This creates a link to the previous posts. Yes, it says "next posts," but it's named that just to confuse you.

使い方

<?php next_posts_link('Label', 'Max number of pages (default 0)'); ?>

用例

初期設定での使用

Working example

<?php next_posts_link('Next Entries »', '0') ?>

パラメータ

参照: next_post_link()


テンプレートタグへの PHP 関数型パラメータの渡し方関数リファレンステンプレートタグ目次もご覧ください。
このページ「テンプレートタグ/next posts link」はまだ書きかけで、情報が不足しています。続きを書いて WordPress を手助けしましょう.


最新英語版: WordPress Codex » Template Tags/next_posts_link最新版との差分