Apraksts
Pagination for Pages is a very simple plugin that creates navigation between pages (or any other custom post type) with the same parent.
This plugin gives you one new function, pagination_for_pages($getPagesQuery='sort_column=menu_order&sort_order=asc')
- getPagesQuery – Passed directly to get_pages, read the codex to find all available options. Defaults to menu_order ascending & pages.
Uzstādīšana
- Upload
pagination-for-pages.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php echo pagination-for-pages(''); ?>in your templates (or use a hook) - See our site for more examples
BUJ
None at this point. Contact us if you have any and I’ll add them here.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Pagination for Pages” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Pagination for Pages” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
