-
Notifications
You must be signed in to change notification settings - Fork 16
/
readme.txt
661 lines (418 loc) · 34.3 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
=== Custom Content Type Manager ===
Contributors: fireproofsocks
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FABHDKPU7P6LN
Tags: cms, content management, custom post types, custom content types, custom fields, images, image fields, ecommerce, modx
Requires at least: 3.3.0
Tested up to: 4.2.2
Stable tag: 0.9.8.6
Version: 0.9.8.6
Break out of your blog! Create custom fields for dropdowns, images, and more! This plugin gives Wordpress true CMS functionality.
== Description ==
http://www.youtube.com/watch?v=rbRHrdKwo5A
The Custom Content Type Manager (CCTM) allows users to create custom content types (also known as post types) and standardized custom fields for each, including dropdowns, checkboxes, and images and more! This gives WordPress CMS functionality: Break out of your Blog!
You can select multiple images, posts, or media items to be stored in a single field making it easy for you to store a gallery of images or long lists of values. This plugin also lets you export and import your content definitions, making it easy to ensure a similar structure between multiple sites.
Check the site for a [full list of features](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/Features).
This plugin was written in part for the book [WordPress 3 Plugin Development Essentials](http://www.packtpub.com/wordpress-3-plugin-development-essentials/book), published by Packt.
= Links =
Please use the following links for support and discussion:
* Please sign up for the CCTM [Mailing List](http://eepurl.com/dlfHg)
* Participate in the [Forum](http://wordpress.org/tags/custom-content-type-manager?forum_id=10)
* File [Bug reports or Feature Requests](https://github.com/craftsmancoding/custom-content-type-manager/issues).
* Read the [Official documentation](http://code.google.com/p/wordpress-custom-content-type-manager/)
= Requirements =
* WordPress 3.3.0 or greater
* PHP 5.2.6 or greater (5.3 recommended, with scandir)
* MySQL 4.1.2 or greater (5.x recommended)
== Installation ==
This plugin uses the standard installation procedure: install the plugin's folder inside of `wp-content/plugins` (make sure the folder is named *custom-content-type-manager*).
Here is a typical use-case verbosely for the record:
1. Install this plugin using the traditional WordPress plugin installation, or upload this plugin's folder to the `/wp-content/plugins/` directory (ensure that the directory is named *custom-content-type-manager*).
1. Activate the plugin through the 'Plugins' menu in the WordPress manager.
1. Upon activation you can adjust the plugin settings by clicking the newly created "Custom Content Types" menu item, or click this plugin's "Settings" link on the Plugins page.
1. After clicking the Settings link, you will see a list of content types -- there are two built-in types listed: post and page. To test this plugin, try adding a new content type named "movie" by clicking the "Add Custom Content Type" button at the top of the page.
1. There are a *lot* of options when setting up a new content type, but all the necessary ones are shown on the first page. Pay attention to the "Name", "Show Admin User Interface", and "Public" settings. "Show Admin User Interface" *must* be checked in order for you to be able to create or edit new instances of your custom content type.
1. Save the new content by clicking the "Create New Content Type" button.
1. Your content type should now be listed under on the main Custom Content Types Manager settings page. Activate your new content type by clicking the blue "Activate" link.
1. Once you have activated the content type, you should see a new menu item in the left-hand admin menu. E.g. "Movies" in our example.
1. Try adding some custom fields to your new content type by clicking on the "Manage Custom Fields" link on the settings page.
1. You can add as many custom fields as you want by clicking the "Add Custom Field" button at the top of the page, e.g. try adding a "plot_summary" field using a "textarea" input type, and try adding a "rating" dropdown.
1. When you are finished configuring your custom fields, click the "Save Changes" button.
1. Now try adding a new instance of your content type ("Movies" in this example). Click the link in the left-hand admin menu to add a movie.
1. Your new "Movie" post will have the custom fields you defined.
1. If you have added any media custom fields, be sure to upload some images using the WordPress "Media" menu in the left-hand menu.
Please note: if you are upgrading from version 0.8.7 or before, you must *completely* uninstall and remove the previous version! This will not delete any of your content, but you should take some notes about the exact names of your content types before doing this. Sorry, I know it's a pain, but I had to correct for limitations in the data structure. See [this Wiki page](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/DeletePostType) for more information.
== Frequently Asked Questions ==
Please see the online [FAQ](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/FAQ) for the most current information.
== Screenshots ==
1. After activating this plugin, you can create custom content types (post types) by using the configuration page for this plugin. Click the "Custom Content Types" link under the Settings menu or click this plugin's "Settings" shortcut link in on the Plugin administration page.
2. You can list all defined content types (a.k.a. post-types) by clicking on the "Custom Content Types" menu item.
3. There are a lot of options available when you create a new content type, only some of them are pictured.
4. You can define many different types of custom fields by clicking on the "Custom Content Types --> Custom Fields" link.
5. Clicking the "activate" link for any content type will cause its fields to be standardized and it will show up in the administration menus.
6. Once you have defined custom fields and associated them with one or more content types, those custom fields will show up when you create or edit a new post.
== Changelog ==
As of May 2015, this plugin has been shifted over to [Github](https://github.com/craftsmancoding/custom-content-type-manager) due to the shutdown of Google Code. Active development will occur in Github; the SVN repo will be only updated perfunctorily per WordPress requirements when there is a new tagged version.
The most recent SVN version of the code is located at:
https://downloads.wordpress.org/plugin/custom-content-type-manager.zip
The most recent Git version of the code is located at:
https://github.com/craftsmancoding/custom-content-type-manager
= 0.9.8.6 =
* Fixed error renaming custom fields.
= 0.9.8.5 =
* Fixed error renaming custom fields.
= 0.9.8.4 =
* Fixed problem with hierarchical post-types (https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=534)
= 0.9.8.3 =
* Repacking things because previous changes were not picked up.
= 0.9.8 =
* Security fix for code execution in Metaboxes (introduced in https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=511). Thanks to Iain Wallace @strawp for identifying CVE-2015-3173
= 0.9.7.13 =
* Fix for dropdown/radio buttons
= 0.9.7.12 =
* Various fixes.
= 0.9.7.11 =
* Returning to the banal world of scandir after a sunburned excursion to FilesystemIterator
= 0.9.7.7 =
* Support for conditional metaboxes.
* Added unit tests for SP_Post class.
* Cleanups of various bugs.
= 0.9.7.6 =
* Fixes bug with pagination in the Thickbox (used for all relation, image, and media fields).
= 0.9.7.5 =
* Adding new Relation-Meta field.
* Various other bug-fixes.
= 0.9.7.4 =
* Fixes a few more minor fixes.
= 0.9.7.3 =
* Fixes glitch in 0.9.7.2 in Summarize Posts shortcode.
* Unit Tests added for Summarize Posts shortcode and operators.
= 0.9.7.1 =
* Added support for cctm_post_form shortcode: now you can have users on the front-end create posts (see feature request 132).
* Added "join" argument to GetPostsQuery::get_posts()
* Added datef output filter for date formatting.
* Added number output filter for number formatting.
= 0.9.7 =
* Support for custom metaboxes: you can now put your fields anywhere on the admin pages.
* Added a pattern validator which supports simple patterns and full regular expressions via preg_match().
* Added a Directory field type so you can easily list the contents of a directory.
* Various bug fixes.
= 0.9.6.7 =
* Fixed errors with more complex permissions: capabilities, capability_types
= 0.9.6.5 =
* Increased dropdown functionality, including ability to issue MySQL queries, "bulk" importing, and sortable options.
* Improved compatibility.
= 0.9.6.4 =
* Incrementing version because changes were not picked up by the WordPress repo (?)
= 0.9.6.2 =
* Improvements to SP_Post
* Reworking of the CCTM_Pagination library and documentation.
* Various bugs fixed.
= 0.9.6.1 =
* Improved parser to handle output filters in placeholders.
* Lots of general cleanup to consolidate similar functions.
* Improved examples for sample templates.
* Fixed bug in format string for summarize-posts shortcode.
= 0.9.6 =
* Now ready to accept translations. Various minor fixes. Unit testing added (woot).
= 0.9.5.16 =
* Customizations for Right Now Widget added.
= 0.9.5.15 =
* Versioning number bump.
= 0.9.5.14 =
* Security vulnerability patched.
* Complex sorting now allowed in GetPostsQuery via 'orderby_custom'
* Various cleanups.
= 0.9.5.13 =
* Release to combat WordPress removing the plugin from their repository for licensing dispute.
= 0.9.5.12 =
* Lots of fixes to the request_filter, search_filter
* Date fields now support times and datetimes!
* Preparing for i18n!
* Quick cache added (issue 351).
* Bugs with duplicating fields fixed. (unreported)
= 0.9.5.11 =
* Added ability to change field types (e.g. from dropdown to multiselect or from textarea to WYSIWYG) -- (Issue 318)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=318]
* Added ability to format multi-selects as a multi-select field instead of just multiple checkboxes.
* Fixed interference with WP_Query
* Added ability to standardize custom fields for foreign post-types.
= 0.9.5.10=
I forgot all the stuff I did for this one, but it must have been really cool.
= 0.9.5.9 =
* Added new "Post Content" widget (beta)
* Fixed several problems with Summarize Posts (including shortcode execution)
= 0.9.5.8 =
* Added Summarize Posts Widget
* Fixed pagination issue with Relation thickboxes.
= 0.9.5.7 =
* You can now mark fields as *required*!
* Improvements to GetPostsQuery on large data sets.
* Lots of small fixes
= 0.9.5.6 =
* Fixed (Issue 279)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=279]: greater compatibility with translation plugins.
* Fixed (Issue 293)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=293]: new global setting to prevent unnecessary rows in the wp_postmeta table.
* Fixed (Issue 294)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=294]: incorrect email validation for def. export.
* Fixed (Issue 291)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=291]: issue with custom database prefixes.
* Fixed (Issue 288)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=288]: incorrect formatting of posts on multi-relation, multi-image, and multi-media fields.
= 0.9.5.5 =
* Fixed (Issue 280)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=280]: bug with multi-relation (multi-image/multi-media) fields.
= 0.9.5.3 =
(Issue 276)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=276]: Fixes issue with sample templates.
= 0.9.5.2 =
* do_shortcode Output Filter added.
* Configuration options added for Post Selector.
= 0.9.5.1 =
* Bug with Media Selector addressed (Issue 273)[http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=273]
= 0.9.5 =
Major release! This REQUIRES WordPress 3.3 due to the changes in the TinyMCE implementation.
* Integrated the [Summarize Posts](http://code.google.com/p/wordpress-summarize-posts/) plugin: this gives all kinds of power to searching for posts.
* All fields can now be "repeatable" so you can select multiple values, e.g. images, relations, textareas...
* Cleaner Ajax implementation [Issue 226](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=226). This should make the plugin work better on sites with customized folder structures.
* You can now configure search parameters to determine which posts are available in your post-selector for relation, image, and media fields.
* Removed directory caching option (no longer needed due to code rewrites).
= 0.9.4.5 =
* Now supports "repeatable" fields: you can select multiple images, media items, or relations.
* Code-cleanup in preparation for supporting 3rd party custom fields and the merging of the Summarize Posts plugin.
* Fixed bug with tags/categories and the "getarchives_where" filter.
= 0.9.4.4 =
* Finally fixed upgrading glitch.
= 0.9.4.3 =
* Fixed glitch with custom hierarchies.
* Adjusted default size of text fields.
= 0.9.4.2 =
* Added support for "Right Now" dashboard widget. [Issue 200](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=200)
* Fixed issues with Categories and Archives: [Issue 202](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=202)
= 0.9.4.1 =
* Fixed [Issue 196](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=196): Wrong link to plugin's settings from the Plugin's page.
* Fixed [Issue 197](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=197): I had forgotten to uncomment lines that cleaned up field definitions after merging fields.
* Added support for duplication of custom fields: [Issue 174](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=174)
* Added support for duplication of post types: [Issue 173](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=173)
= 0.9.4 =
This is a major release:
* Fixed [Issue 187](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=187) that affected dropdowns and multi-selects: values were not trimmed before comparison, causing the current value to be unselected.
* Fixed [Issue 88](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=88) that prevented certain UTF8 characters (e.g. Polish) from being saved correctly in multi-select fields.
* Updated Output Filter functionality. See [Output Filters](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/OutputFilters) in the wiki or [Issue 162](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=162) and [Issue 183](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=183) in the bug tracker.
* Added "Wrapper" and "Default" output filters. See [Wrapper](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/wrapper_OutputFilter) and [Default](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/default_OutputFilter) in the wiki.
* Custom Fields can now implement their own settings page. [Issue 161](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=161)
* Improved help pages on the [project Wiki](http://code.google.com/p/wordpress-custom-content-type-manager/w/list).
* Improved import/export of CCTM definitions.
* Settings page added to give control to the users. See [Issue 72](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=72).
* New menu icons! See [Issue 30](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=30).
* Large menu icon now displayed when you edit or create a post type [Issue 136](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=136).
* Fixed 2 issues [Issue 52](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=52) and [Issue 180](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=180) that caused wp_insert_post() to fail in different circumstances.
* Implemented [Feature 178](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=178): submenus added to the post_type menus.
* Fixed [Issue 168](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=168) that was preventing the admin user from unchecking "Rewrite with Permalink Front"
* Now CCTM is compatible with the Gravity Forms plugin per [Issue 155](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=155)
* General cleanup of the plugin's directory structure; general move towards MVC organization of all files.
* Finally added some appropriate images to the footer of the admin pages.
* Now HTML/JavaScript values can be stored correctly in text fields. See [Issue 152](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=152).
* Implemented more advanced dropdown and multi-select options where users can now optionally store distinct values and labels for each option. See [Issue 150](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=150).
* Revisited [Issue 146](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=146), discovered WordPress is adding slashes to $_POST, $_GET, $_COOKIE, and $_SERVER arrays (see [this article](http://kovshenin.com/archives/wordpress-and-magic-quotes/). WHY IS WORDPRESS DOING THIS???
* Fixed some lingering PHP notices in date.php (whoops).
* Added method for Custom Field PHP classes to let each field add JS/CSS to the manager via the "admin_init" function. See [Issue 71](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=71).
* Cleaned up PHP notices when creating a "Date" custom field.
* Added checks for incompatible plugins [Issue 122](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=122)
* Fixed [Issue 145](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=145) so you can now include HTML in default values for text and checkbox fields.
* Added support for clean custom field un-installation:[Issue 145](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=145).
* Fixed [Issue 144](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=144) so now you can define content types (i.e. post_types) that use numerical names.
* Fixed [Issue 143](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=143) that prevented proper searching on the front-end.
* Fixed [Issue 142](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=142) custom post types can now be ordered correctly using the "Order" attribute.
* Fixed [Issue 139](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=139) that affected editing the names of custom fields -- a new field was created if the name was changed.
* Fixed [Issue 138](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=138) that affected WYSIWYG custom fields that failed if a content type's main Content block was not active.
* Implemented [Feature 126](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=126) so that bug reporting is easier: system info is generated for you to cut and paste into the bug report.
* Fixed [Issue 114](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=114) where custom hierarchies were limited to only 5 items.
* Fixed [Issue 115](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=115) where the "View Item" label was receiving incorrect values.
* Fixed [Issue 121](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=121) where Array output filters returned empty string if no options were checked.
* Fixed [Issue 123](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=123) so that names of custom fields are no longer limited to 20 characters: they now are limited to 255, the maximum possible length given the database column definition (VARCHAR 255).
= 0.9.3.3 =
* Fixed [Issue 112](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=112) custom page templates were being ignored.
= 0.9.3.2 =
* Fixed [Issue 111](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=111) with static pages not loading.
= 0.9.3.1 =
* Fixed the archive support -- supporting archives caused pages to 404. This should also correct categories for custom post types.
= 0.9.3 =
* Sigh... this is the "correct" release of 0.9.2... !@%# WP repo has thwarted me again.
* Archive support added.
= 0.9.2 =
* Bad release with 0.9.1: re-release.
* Typos in editing post_type definition corrected.
* Bugs with media fields addressed, including adding output filters.
* Fixed issue 80 with error-warnings while auto-saving.
= 0.9.1 =
* Handled nebulous case with default value [Issue 45](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=45)
= 0.9.0 =
* Added custom field: Multi-select
* Added custom field: Color selector
* Added support for customized hierarchical post-types [Issue 9](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=9)
* Fixed mistake in escaping quotes in post_type definitions and custom field definitions.
* Fixed bug in sorting custom fields [Issue 70](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=70&can=1).
= 0.8.9 =
* Permalink functionality fixed by flushing rewrite rules after register_post_type()
* Flash messages are now stored in the $_COOKIE array instead of $_SESSION to be in keeping with WordPress' simplistic "stateless" parlance.
* Date field added, including support for PHP eval of default value.
* CSS classes and ids updated (all instances of "formgenerator" were replaced with "cctm").
* Import/Export functionality added.
* Checking of valid image icons was disabled due to problems with segfault in some server configurations [see Issue 60](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=60)
* Default values for dropdowns now settable via Javascript to reduce typos
* Bug with page-attributes fixed: you can now correctly enable page attributes for custom content types.
* Support for Post Formats added.
* Support for [Output Filters](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/OutputFilters) was added.
* Template functions `get_custom_image()` and `print_custom_image` were removed in favor of using Output Filters.
* The FormGenerator class removed in favor of simpler PHP pages.
= 0.8.8 =
* More CRUD-like interface for creating and editing custom fields one at a time.
* Object-Oriented class structure implemented for custom fields in accordance with future plans for more field types
* Drag and Drop interface added for Custom Fields to change sort order
* Added support for built-in taxonomies (Categories and Tags).
* Fixed unreported bugs affecting custom tpls.
* Fixed bug causing popup thickbox to load incorrectly: [Issue 17](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=17&can=1)
* Styling for the manager updated to match what's used by WordPress 3.1.
* Greatly improved administration interface including support for icons and a series of tabs for dividing the multi-part form for creating/editing content types.
* Reduced MySQL requirements to version 4.1.2 (same as WordPress 3.1) after feedback that the plugin is working fine in MySQL 4: [issue 28](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=28&can=1)
* Fixed typos in CCTMTests.php re the CCTM_TXTDOMAIN: [issue 29](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=29&can=1).
* Added optional prefix for template *function get_all_fields_of_type()*: [Issue 26](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=26&can=1)
* Three new template functions added per [Issue 25](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=25&can=1)
** *get_custom_field_meta()*
** *print_custom_field_meta()*
** *get_custom_field_def()*
See [Template Functions](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/TemplateFunctions) in the wiki.
= 0.8.7 =
* Adds HTML head and body tags back to the tpls/post_selector/main.tpl to correct issue 17 (http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=17&can=1).
= 0.8.6 =
* Fixes bad CSS declaration: [issue 1](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=1)
* Fixed omission in sample template placeholders.
= 0.8.5 =
* Resubmitting to placate WP's repository.
= 0.8.4 =
* Resubmitting to placate WP's repository.
= 0.8.3 =
* Customized manager templates. This is useful if you need to customize the manager interface for the custom fields.
* Updated sample templates under the "View Sample Template" link for each content type.
* Added image/media uploading functionality directly from the custom fields.
* Fixed glitch in Javascript element counter that screwed up dropdown menu creation: due to this bug, you could only add a dropbox to the first element because the wrapper div's id was fixed statically as the same id, so adding a dropdown menu always wrote the new HTML to that same div (inside the first custom field).
* Control buttons now at top and bottom of manage custom fields.
* Links to bug tracking / wiki for this project.
* Some basic HTML cleanup.
* Moved some files around for better organization.
=0.8.2=
* WordPress 3.0.4 fixed some bugs that affected the functionality of this plugin: now you CAN add custom content posts to WordPress menus.
* WordPress has not recognized the updates to this plugin (apparently due to a glitch), so currently the only way to get the most recent version of this is to check it out via SVN.
= 0.8.1 =
* Fixes problem saving posts. The problem had to do with wp-nonces and the admin referrer was being checked, but not generated, so the check failed. Oops.
= 0.8.0 =
* Initial public release. Collaborators can check out code at http://code.google.com/p/wordpress-custom-content-type-manager/
== Requirements ==
* WordPress 3.3 or greater.
* PHP 5.2.6 or greater
* MySQL 4.1.2 or greater
These requirements are tested during WordPress initialization; the plugin will not load if these requirements are not met. Error messaging will fail if the user is using a version of WordPress older than version 2.0.11.
== About ==
This plugin was written in part for the book [WordPress 3 Plugin Development Essentials](http://www.packtpub.com/wordpress-3-plugin-development-essentials/book) published by Packt. The architecture for this plugin was inspired by [MODX](http://modx.com/). You can compare the 2 systems side by side in my book [MODX and WordPress](https://leanpub.com/modx-vs-wordpress)
== Future TO-DO ==
Please see the [Issues page](https://github.com/craftsmancoding/custom-content-type-manager/issues) for active development. See also the [depcrecated page](http://code.google.com/p/wordpress-custom-content-type-manager/issues/list) at Google Code. All Google Code projects will become read-only on [August 24, 2015](http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html).
If you are eager to see a particular feature implemented in a future release, please share your feedback at the official [Issues page](https://github.com/craftsmancoding/custom-content-type-manager/issues)
== Upgrade Notice ==
= 0.9.8.6 =
* Fixed error renaming custom fields. All users should upgrade.
= 0.9.8.5 =
* Fixed error renaming custom fields. All users should upgrade.
= 0.9.8.4 =
* This includes a fix for broken links with hierarchical post types.
= 0.9.8.3 =
* All users should update: this contains a security fix and various improvements. This is the last free version of this plugin; software development is a full-time job.
= 0.9.7.13 =
* All users should update: contains a fix for dropdown and radio fields.
= 0.9.7.11 =
* All users of 0.9.7.8 and 0.9.7.9 should update.
= 0.9.7.6 =
* All users of 0.9.7.3-5 should upgrade. Fixes bug with pagination in the Thickbox (used for all relation, image, and media fields).
= 0.9.7.5 =
* Added Relation-Meta field. If you have customized any of your manager tpls (especially for any relation, image, or media fields) then please note the new function arguments for the thickbox_results() and cctm_upload() javascript functions! It is recommended you rename your uploads/cctm folder prior to upgrading and clear your tpl cache (CCTM -> Clear Cache): this will force the default tpls to load, and then you can re-add your customizations.
= 0.9.7.4 =
* Includes some minor fixes for bugs, including for the summarize_posts shortcode.
= 0.9.7.3 =
* Patches glitch in 0.9.7.2 -- all users of 0.9.7.2 should run this upgrade.
= 0.9.7.1 =
* Implemented new post-creation shortcode for users wishing to create forms on the front-end. Notice to developers: the class prefix for custom Output Filters has changed. Includes various bug fixes.
= 0.9.7 =
* New functionality: metabox support, a new Directory custom field type, and a new Pattern validator. Various bug fixes as well.
= 0.9.6.7 =
* Fix of permissions-related bug. Anyone running 0.9.6.3 thru 0.9.6.6 should update to this version.
= 0.9.6.5 =
* Increased functionality for dropdown fields including MySQL queries and sortable options.
= 0.9.6.4 =
* Small fix due to WordPress repo.
= 0.9.6.3 =
* Small fix for first time install.
= 0.9.6.2 =
* Various patches and minor improvements.
= 0.9.6.1 =
* Improved parser for greater flexibility in your formatting strings. Improved caching for better performance.
= 0.9.6 =
* Now ready for internationalization! Various minor fixes. Unit testing added!
= 0.9.5.14 =
* Security vulnerability fixed. All users should upgrade if possible, or follow the steps outlined here: http://code.google.com/p/wordpress-custom-content-type-manager/wiki/SecurityVulnerability
= 0.9.5.11 =
Adds the ability to change field types (e.g. from textarea to WYSIWYG) and more formatting options for Multi-select fields.
= 0.9.5.9 =
Fixed issues with Summarize Posts shortcodes, empty radio buttons. Added "Post Content" widget.
= 0.9.5.8 =
Fixed pagination issue with Relation-field thickboxes, added Summarize Posts Widget.
= 0.9.5.7 =
Adds required fields, fixes bugs with relation fields.
= 0.9.5.6 =
Fixed bug with repeatable relation, images, and media fields. New custom field added for user selection, new gallery output filter.
= 0.9.5.5 =
Fixes issue with Javascript "Add to Post" button in multi-relation, multi-image, and multi-media fields.
= 0.9.5.3 =
Fixes issue where viewing sample templates generates a fatal error in some scenarios.
= 0.9.5 =
0.9.5 *REQUIRES* WordPress 3.3. This is a major boost to functionality: nearly every field is now "repeatable" so you can select multiple images, textareas, etc. for a single field. The post-selector thickbox can now be finely tuned to select *exactly* the posts you want for any relation field.
= 0.9.4.5 =
Minor fixes relating to searching by tags and categories.
= 0.9.4.4 =
This version correctly handles the transition of data structures, but you may need to re-save your content-type definitions!
= 0.9.4.1 =
Fixes minor bugs with the 0.9.4 release: cleanup after merging custom fields. Also a couple new features: duplication of defs, radio buttons!
= 0.9.4 =
Major release! Please see the upgrade notes: [Upgrading to version 0.9.4](http://code.google.com/p/wordpress-custom-content-type-manager/wiki/Upgrading094)
= 0.9.3.3 =
Corrects yet another glitch where custom page templates were being ignored.
= 0.9.3.2 =
Corrects another glitch with archive support that caused static pages to roll over to the blog index.
= 0.9.3.1 =
Fixed glitch in the archive support that caused pages to 404.
= 0.9.3 =
Adds archive support and fixes various bugs.
= 0.9.0 =
Fixed bug in custom-fields and post-type forms that caused errors with foreign characters and quotes. Implements color-pickers and multi-select custom fields.
= 0.8.9 =
Includes import/export functionality, support for date fields, and various bug fixes. If you are upgrading to 0.8.9 from version 0.8.7 or older, you must *completely uninstall* the plugin, then *re-install* [See bug](http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=62&can=1).
= 0.8.8 =
Improved administration interface, new template functions, lots bug fixes; this is a big release. If you are upgrading to 0.8.8 from a previous version, you should *completely uninstall* the plugin, then *re-install*. This will ensure that the data-structure in the database is updated appropriately.
= 0.8.7 =
Adds HTML head and body tags back to the tpls/post_selector/main.tpl to correct issue 17 (http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=17&can=1).
= 0.8.6 =
Fixes CSS declaration that conflicted with Posts->Categories. Corrects examples in sample templates.
= 0.8.5 =
Fixes some major bugs in managing custom fields. Now allows direct image uploading. Allows customized manager templates. (re-submit of 0.8.3)
= 0.8.4 =
Was not picked up correctly by WordPress' repo
= 0.8.3 =
Was not picked up correctly by WordPress' repo
= 0.8.2 =
Fixes a couple other glitches: apostrophes in media custom fields, editing content types.
Resubmitting this to get the updates to show up in WordPress' repository. Sorry folks... seems that the WP captain has jumped ship, so I have no working instructions on how to get my updates to percolate down to the users.
= 0.8.1 =
Fixing glitch in saving posts and pages.
= 0.8.0 =
Initial public release.
== See also and References ==
* http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/
* http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0/
* http://axcoto.com/blog/article/307
* Attachments in Custom Post Types:
http://xplus3.net/2010/08/08/archives-for-custom-post-types-in-wordpress/
* Taxonomies:
http://net.tutsplus.com/tutorials/wordpress/introducing-wordpress-3-custom-taxonomies/
* Editing Attachments
http://xplus3.net/2008/11/17/custom-thumbnails-wordpress-plugin/