custom-post-type-permalinks
Last commit date
CPTP
10 years ago
language
10 years ago
.svnignore
10 years ago
CPTP.php
10 years ago
custom-post-type-permalinks.php
10 years ago
license.txt
12 years ago
readme.md
10 years ago
readme.txt
10 years ago
screenshot-1.png
14 years ago
readme.txt
224 lines
| 1 | === Custom Post Type Permalinks === |
| 2 | Contributors: Toro_Unit,inc2734,ixkaito,keita_kobayashi |
| 3 | Donate link: http://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV |
| 4 | Tags: permalink,permalinks,custom post type,custom taxonomy,cms |
| 5 | Requires at least: 4.3 |
| 6 | Tested up to: 4.4 |
| 7 | Stable tag: 1.4.0 |
| 8 | License: GPLv2 or Later |
| 9 | |
| 10 | Edit the permalink of custom post type. |
| 11 | |
| 12 | == Description == |
| 13 | |
| 14 | Custom Post Type Permalinks allow you edit the permalink structure of custom post type. |
| 15 | |
| 16 | Change custom taxonomy archive's permalink to "example.org/post_type/taxonomy_name/term_slug". Can disable this fix. |
| 17 | |
| 18 | And support wp_get_archives( "post_type=foo" ). |
| 19 | |
| 20 | [This Plugin published on GitHub.](https://github.com/torounit/custom-post-type-permalinks) |
| 21 | |
| 22 | Donation: Please send amazon.co.jp Gift to donate[at]torounit.com. |
| 23 | |
| 24 | = Translators = |
| 25 | * Japanese(ja) - [Toro_Unit](http://www.torounit.com/) |
| 26 | * French(fr_FR) - [Geoffrey Crofte](http://geoffrey.crofte.fr/) |
| 27 | * Russian(ru_RU) - [Olart](http://olart.ru), [Natali_Z](https://profiles.wordpress.org/natali_z) |
| 28 | |
| 29 | == Setting on Code == |
| 30 | |
| 31 | Example: |
| 32 | |
| 33 | ` |
| 34 | register_post_type( 'foo', |
| 35 | array( |
| 36 | "public" => true, |
| 37 | 'has_archive' => true, |
| 38 | "rewrite" => [ |
| 39 | "with_front" => true |
| 40 | ], |
| 41 | "cptp_permalink_structure" => "%post_id%" |
| 42 | ) |
| 43 | ); |
| 44 | ` |
| 45 | |
| 46 | |
| 47 | == Installation == |
| 48 | |
| 49 | * Download the custom-post-type-permalinks.zip file to your computer. |
| 50 | * Unzip the file. |
| 51 | * Upload the `custom-post-type-permalinks` directory to your `/wp-content/plugins/` directory. |
| 52 | * Activate the plugin through the 'Plugins' menu in WordPress. |
| 53 | |
| 54 | That's it. You can access the permalinks setting by going to *Settings -> Permalinks*. |
| 55 | |
| 56 | |
| 57 | == Screenshots == |
| 58 | |
| 59 | * screenshot-1.png |
| 60 | |
| 61 | |
| 62 | == Changelog == |
| 63 | |
| 64 | = 1.4.0 = |
| 65 | * Fix Translation Problem. |
| 66 | |
| 67 | |
| 68 | = 1.3.1 = |
| 69 | * bugfix `wp_get_archives`. |
| 70 | |
| 71 | = 1.3.0 = |
| 72 | * bugfix for polylang. |
| 73 | |
| 74 | = 1.2.0 = |
| 75 | * Add filter `cptp_post_type_link_priority`, `cptp_term_link_priority`, `cptp_attachment_link_priority`. |
| 76 | * Add action `CPTP_registered_modules`. |
| 77 | |
| 78 | = 1.1.0 = |
| 79 | * WPML Test. thanks [keita_kobayashi](https://profiles.wordpress.org/keita_kobayashi) ! |
| 80 | |
| 81 | = 1.0.5 = |
| 82 | * admin bug fix. thanks [ixkaito](https://profiles.wordpress.org/ixkaito) ! |
| 83 | * Translation Update Thanks [Natali_Z](https://profiles.wordpress.org/natali_z) ! |
| 84 | |
| 85 | = 1.0.4 = |
| 86 | * option bug fix. |
| 87 | |
| 88 | = 1.0.3 = |
| 89 | * add category rule, if only attached category to post type. |
| 90 | |
| 91 | = 1.0.2 = |
| 92 | * category slug bug fix. |
| 93 | |
| 94 | = 1.0.0 = |
| 95 | * Set Permalink enable register_post_type. |
| 96 | * Enable add post type query to taxonomy archives. |
| 97 | * Use Class Autoloader. |
| 98 | * Create Rewrite Rule on `wp_loaded` action. |
| 99 | * WordPress Code Format Fix. |
| 100 | * CPTP_Module_Permalink Bug Fix. |
| 101 | * Bug Fix. |
| 102 | * Use Semantic Versioning. |
| 103 | * Date Structure Fix. |
| 104 | * Use Category Base. |
| 105 | |
| 106 | = 0.9.7 = |
| 107 | * Adding date slug only conflicting %post_id%. |
| 108 | * Change taxonomy link rewrite rule. Use post_type. |
| 109 | * Can change template include custom taxonomy. |
| 110 | |
| 111 | = 0.9.6 = |
| 112 | * Category and author. |
| 113 | * French Transration. Thanks Geoffrey! |
| 114 | * Hierarchial Term Fix. |
| 115 | |
| 116 | = 0.9.5.6 = |
| 117 | * Strict Standard Error Fix. |
| 118 | |
| 119 | = 0.9.5.4 = |
| 120 | * archive link bug fix. |
| 121 | * Tested Up 3.9 |
| 122 | |
| 123 | = 0.9.5.3 = |
| 124 | * “/”bug fix. |
| 125 | * taxonomy tmplate bug fix. |
| 126 | |
| 127 | = 0.9.5.2 = |
| 128 | * Archives Rewrite Fix. |
| 129 | |
| 130 | = 0.9.5.1 = |
| 131 | * Admin Bug Fix. |
| 132 | |
| 133 | = 0.9.5 = |
| 134 | * Big change plugin architecture. |
| 135 | * Show has_archive, with_front. |
| 136 | |
| 137 | = 0.9.4 = |
| 138 | * Internal release. |
| 139 | |
| 140 | = 0.9.3.3 = |
| 141 | * has_archive Bug Fix. |
| 142 | * Fixed a bug in the link, including the extension. |
| 143 | |
| 144 | = 0.9.3.2 = |
| 145 | * wp_get_archives Bug Fix. |
| 146 | |
| 147 | = 0.9.3.1 = |
| 148 | * Tested 3.6 |
| 149 | * Bug Fix. |
| 150 | |
| 151 | |
| 152 | = 0.9.3 = |
| 153 | * Admin page fix. |
| 154 | * slngle pageing link fix. |
| 155 | * Add Russian translation. |
| 156 | |
| 157 | |
| 158 | = 0.9 = |
| 159 | * Add custom post type archive only has_archive->true |
| 160 | * Change method name. |
| 161 | * Change hook custom post link. |
| 162 | * Use Slug in wp_get_archive(). |
| 163 | * Fix attachment link. |
| 164 | |
| 165 | |
| 166 | = 0.8.7 = |
| 167 | * Translate Bug Fix. |
| 168 | |
| 169 | = 0.8.6 = |
| 170 | * Paging Bug Fix. |
| 171 | * Commnent Paging. |
| 172 | * Show pointer. |
| 173 | * |
| 174 | |
| 175 | = 0.8.1 = |
| 176 | * Bug Fix. |
| 177 | |
| 178 | = 0.7.9.1 = |
| 179 | * Support Comment permalink. |
| 180 | * Small change in setting page. |
| 181 | * Change default value. |
| 182 | * Bug Fix. |
| 183 | |
| 184 | = 0.7.8 = |
| 185 | * Bug fix. |
| 186 | |
| 187 | |
| 188 | = 0.7.7 = |
| 189 | * Bug fix. |
| 190 | |
| 191 | = 0.7.6 = |
| 192 | * Add parent's slug to hierarchical post type. |
| 193 | |
| 194 | |
| 195 | = 0.7.5 = |
| 196 | * Add ability to disable to change custom taxonomy archive's permalink. |
| 197 | |
| 198 | |
| 199 | = 0.7.4 = |
| 200 | * Bug fix taxonomy rewrite. |
| 201 | |
| 202 | |
| 203 | = 0.7.3 = |
| 204 | * Changed part for saving the data. |
| 205 | |
| 206 | = 0.7.2 = |
| 207 | * Reweite bug fix. |
| 208 | * Prewview bug fix. |
| 209 | |
| 210 | = 0.7.1 = |
| 211 | * Bug fix. |
| 212 | |
| 213 | = 0.7 = |
| 214 | * Add %{taxonomy}% tag. |
| 215 | * A large number of Bug Fix. |
| 216 | * Change Setting Page. Use Setting API. |
| 217 | |
| 218 | |
| 219 | = 0.6.2 = |
| 220 | * Fix %author% tag. |
| 221 | |
| 222 | = 0.6 = |
| 223 | * First release on wordpress.org |
| 224 |