custom-post-type-permalinks
Last commit date
CPTP
11 years ago
language
11 years ago
CPTP.php
11 years ago
custom-post-type-permalinks.php
11 years ago
license.txt
12 years ago
readme.md
11 years ago
readme.txt
11 years ago
screenshot-1.png
14 years ago
readme.txt
197 lines
| 1 | === Custom Post Type Permalinks === |
| 2 | Contributors: Toro_Unit |
| 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.1 |
| 6 | Tested up to: 4.2 |
| 7 | Stable tag: 1.0.2 |
| 8 | License: GPLv2 or Later |
| 9 | |
| 10 | Lets you edit the permalink of custom post type. |
| 11 | |
| 12 | == Description == |
| 13 | |
| 14 | Custom Post Type Permalinks lets 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 | * French(fr_FR) - [Geoffrey Crofte](http://geoffrey.crofte.fr/) |
| 26 | * Japanese(ja) - [Toro_Unit](http://www.torounit.com/) |
| 27 | * Russian(ru_RU) - [Olart](http://olart.ru) |
| 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.0.2 = |
| 65 | * category slug bug fix. |
| 66 | |
| 67 | = 1.0.0 = |
| 68 | * Set Permalink enable register_post_type. |
| 69 | * Enable add post type query to taxonomy archives. |
| 70 | * Use Class Autoloader. |
| 71 | * Create Rewrite Rule on `wp_loaded` action. |
| 72 | * WordPress Code Format Fix. |
| 73 | * CPTP_Module_Permalink Bug Fix. |
| 74 | * Bug Fix. |
| 75 | * Use Semantic Versioning. |
| 76 | * Date Structure Fix. |
| 77 | * Use Category Base. |
| 78 | |
| 79 | = 0.9.7 = |
| 80 | * Adding date slug only conflicting %post_id%. |
| 81 | * Change taxonomy link rewrite rule. Use post_type. |
| 82 | * Can change template include custom taxonomy. |
| 83 | |
| 84 | = 0.9.6 = |
| 85 | * Category and author. |
| 86 | * French Transration. Thanks Geoffrey! |
| 87 | * Hierarchial Term Fix. |
| 88 | |
| 89 | = 0.9.5.6 = |
| 90 | * Strict Standard Error Fix. |
| 91 | |
| 92 | = 0.9.5.4 = |
| 93 | * archive link bug fix. |
| 94 | * Tested Up 3.9 |
| 95 | |
| 96 | = 0.9.5.3 = |
| 97 | * “/”bug fix. |
| 98 | * taxonomy tmplate bug fix. |
| 99 | |
| 100 | = 0.9.5.2 = |
| 101 | * Archives Rewrite Fix. |
| 102 | |
| 103 | = 0.9.5.1 = |
| 104 | * Admin Bug Fix. |
| 105 | |
| 106 | = 0.9.5 = |
| 107 | * Big change plugin architecture. |
| 108 | * Show has_archive, with_front. |
| 109 | |
| 110 | = 0.9.4 = |
| 111 | * Internal release. |
| 112 | |
| 113 | = 0.9.3.3 = |
| 114 | * has_archive Bug Fix. |
| 115 | * Fixed a bug in the link, including the extension. |
| 116 | |
| 117 | = 0.9.3.2 = |
| 118 | * wp_get_archives Bug Fix. |
| 119 | |
| 120 | = 0.9.3.1 = |
| 121 | * Tested 3.6 |
| 122 | * Bug Fix. |
| 123 | |
| 124 | |
| 125 | = 0.9.3 = |
| 126 | * Admin page fix. |
| 127 | * slngle pageing link fix. |
| 128 | * Add Russian translation. |
| 129 | |
| 130 | |
| 131 | = 0.9 = |
| 132 | * Add custom post type archive only has_archive->true |
| 133 | * Change method name. |
| 134 | * Change hook custom post link. |
| 135 | * Use Slug in wp_get_archive(). |
| 136 | * Fix attachment link. |
| 137 | |
| 138 | |
| 139 | = 0.8.7 = |
| 140 | * Translate Bug Fix. |
| 141 | |
| 142 | = 0.8.6 = |
| 143 | * Paging Bug Fix. |
| 144 | * Commnent Paging. |
| 145 | * Show pointer. |
| 146 | * |
| 147 | |
| 148 | = 0.8.1 = |
| 149 | * Bug Fix. |
| 150 | |
| 151 | = 0.7.9.1 = |
| 152 | * Support Comment permalink. |
| 153 | * Small change in setting page. |
| 154 | * Change default value. |
| 155 | * Bug Fix. |
| 156 | |
| 157 | = 0.7.8 = |
| 158 | * Bug fix. |
| 159 | |
| 160 | |
| 161 | = 0.7.7 = |
| 162 | * Bug fix. |
| 163 | |
| 164 | = 0.7.6 = |
| 165 | * Add parent's slug to hierarchical post type. |
| 166 | |
| 167 | |
| 168 | = 0.7.5 = |
| 169 | * Add ability to disable to change custom taxonomy archive's permalink. |
| 170 | |
| 171 | |
| 172 | = 0.7.4 = |
| 173 | * Bug fix taxonomy rewrite. |
| 174 | |
| 175 | |
| 176 | = 0.7.3 = |
| 177 | * Changed part for saving the data. |
| 178 | |
| 179 | = 0.7.2 = |
| 180 | * Reweite bug fix. |
| 181 | * Prewview bug fix. |
| 182 | |
| 183 | = 0.7.1 = |
| 184 | * Bug fix. |
| 185 | |
| 186 | = 0.7 = |
| 187 | * Add %{taxonomy}% tag. |
| 188 | * A large number of Bug Fix. |
| 189 | * Change Setting Page. Use Setting API. |
| 190 | |
| 191 | |
| 192 | = 0.6.2 = |
| 193 | * Fix %author% tag. |
| 194 | |
| 195 | = 0.6 = |
| 196 | * First release on wordpress.org |
| 197 |