Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Default Theme Pages version 0.4 as active, updated 14y ago and tested up to WordPress 3.4.
Overview
About this plugin
This plugin is intended to be useful for template developers
New in version 0.4
added ‘object’ (page object) in every $default_theme_pages item for fast access.
added all default pages to wp toolbar, inside ‘site name’, to increase user experience.
How to use
php.
', 'description' => 'Contact form page' ) );
Tips
After the pages are created automatically, you can change their title and slug without problem.
If you add an option names: page_on_front and page_for_posts, you will block the home-page and the blog-page on your site.
Templating
You can template using ID or name (setted up in $default_theme_pages global variable ), something like:
php (If you change the page slug, this will still work because ‘contact’ was defined as pagename if $default_theme_pages global variable).
For detect if you’re in that page:
dtp_is_page('contact')
Getting a default page id:
$page_id = dtp_get_page_id('contact');
This method is more quick than get_page_by_path because page ID is stored on global variable.
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
block
pages
templating
theme
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 3.4
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.4.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.4
Minimum requirementsWordPress 3.0 · PHP not listed
Update activity30 Aug 201214y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.