AI助手支持GPT4.0
With the Custom Pagination plugin, a user may customize the look of a post’s next and previous links using the HTML editor.
使用“自定义分页”插件,用户可以使用HTML编辑器自定义帖子的下一个和上一个链接的外观。
It is built by WebIT.ca (Dimitry Zolotaryov) and funded by
它由 WebIT.ca(Dimitry Zolotaryov)构建,并由
rel="nofollow">DateDaily.com: an online dating and relationship blog.
rel =“ nofollow”> DateDaily.com :在线约会和关系博客。 p>
The link is created by selecting the text label within a post’s body and clicking the link icon.
通过选择帖子正文中的文本标签并单击链接图标来创建链接。
In the Link URL field, the following values will produce a link to another page:
在“链接URL”字段中,以下值将产生到另一个页面的链接: p>
ul>
If link is directing to a page that does not exist — for instance page:next on the last page –, the link and the link text do not appear.
如果链接指向不存在的页面(例如,最后一页上的 page:next em>),则该链接和链接文本不会出现。 p>All links processed by Custom Pagination will have the added class name ‘page’.通过“自定义分页”处理的所有链接都将具有添加的类名“页面”。If you wish to style such links, in your CSS, add the line:如果您希望为此类链接设置样式,请在CSS中添加以下行: p>a.page { /* page style goes here */ } a.page {/ *页面样式在此处* /} code> pre>For more information, visit the Custom Pagination plugin homepage有关更多信息,请访问自定义分页插件首页 a >.>。 p>
All links processed by Custom Pagination will have the added class name ‘page’.
通过“自定义分页”处理的所有链接都将具有添加的类名“页面”。
If you wish to style such links, in your CSS, add the line:
如果您希望为此类链接设置样式,请在CSS中添加以下行: p>
a.page { /* page style goes here */ } a.page {/ *页面样式在此处* /} code> pre>For more information, visit the Custom Pagination plugin homepage有关更多信息,请访问自定义分页插件首页 a >.>。 p>
a.page {/ *页面样式在此处* /}
code> pre>
For more information, visit the Custom Pagination plugin homepage
有关更多信息,请访问自定义分页插件首页 a >.>。 p>
>.
>。 p>
custom-pagination
/wp-content/plugins/
custom-pagination code>目录复制或上传到您的 / wp-content / plugins / code>目录 li>If you downloaded a zipped copy (i.e. custom-pagination.zip), use the ‘Plugins’ > ‘Add New’ section of WordPress to upload it如果您下载了压缩副本(即 custom-pagination.zip code>),请使用WordPress的“插件”>“添加新内容”部分上传 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
/ wp-content / plugins / code>目录 li>If you downloaded a zipped copy (i.e. custom-pagination.zip), use the ‘Plugins’ > ‘Add New’ section of WordPress to upload it如果您下载了压缩副本(即 custom-pagination.zip code>),请使用WordPress的“插件”>“添加新内容”部分上传 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
custom-pagination.zip
custom-pagination.zip code>),请使用WordPress的“插件”>“添加新内容”部分上传 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
ol>
Done.
完成。 p>
Actually, if you wish to use WordPress pagination when there is no Custom Pagination on a page, you may use the following PHP code:
实际上,如果您希望在页面上没有自定义分页时使用WordPress分页,则可以使用以下PHP代码: p>
// inside single.php //在single.php中// displays the standard pagination when no custom pagination link is found//未找到自定义分页链接时显示标准分页if ( ! cp_link_found() ) 如果(!cp_link_found()) wp_link_pages(array('next_or_number' => 'next', 'nextpagelink'=>'Next page »', 'previouspagelink'=>'« Previous page'));wp_link_pages(array('next_or_number'=>'next','nextpagelink'=>'下一页»','previouspagelink'=>'«前一页'))); code> pre>
//在single.php中// displays the standard pagination when no custom pagination link is found//未找到自定义分页链接时显示标准分页if ( ! cp_link_found() ) 如果(!cp_link_found()) wp_link_pages(array('next_or_number' => 'next', 'nextpagelink'=>'Next page »', 'previouspagelink'=>'« Previous page'));wp_link_pages(array('next_or_number'=>'next','nextpagelink'=>'下一页»','previouspagelink'=>'«前一页')));
// displays the standard pagination when no custom pagination link is found
//未找到自定义分页链接时显示标准分页
if ( ! cp_link_found() )
如果(!cp_link_found())
wp_link_pages(array('next_or_number' => 'next', 'nextpagelink'=>'Next page »', 'previouspagelink'=>'« Previous page'));
wp_link_pages(array('next_or_number'=>'next','nextpagelink'=>'下一页»','previouspagelink'=>'«前一页')));
原文出处:http://www.sanshu.cn/a/9652.html
群主管理都是支付大佬