>
Download This Plugin | |
Download Elegant Themes | |
Name | WP Permastructure |
Version | 1.3 |
Author | Robert O'Rourke |
Rating | 82 |
Last updated | 2014-10-23 12:16:00 |
Downloads |
4133
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
WP Permastructure plugin added 18 bytes of resources to the Home page and 38 bytes of resources to the sample Post page.
WP Permastructure plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! WP Permastructure plugin ads no tables to your Wordpress blog database.In addition to controlling your custom post type permalinks this plugin adds support for using custom taxonomies in your permalink structures as well.
Not only that but you can control the full permalink so the post type slug is not required at the start of the link.
Multiple post types can use the same permalink structure.
There are 2 ways to use this plugin:
Permalink Settings
The plugin adds fields to the permalinks settings page for any public facing custom post types.
In Code
When registering a post type you can add a value to the rewrite property with the key 'permastruct' to define your default permalink structure.
eg:
<?php
register_post_type( 'my_type', array(
...
'rewrite' => array(
'permastruct' => '/%custom_taxonomy_name%/%author%/%postname%/'
),
...
) );
?>