This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
forked from JJJ/post-type-switcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
140 lines (103 loc) · 4.21 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
=== Post Type Switcher Extended ===
Contributors: johnjamesjacoby, beatpanda, norcross, stuttter, daemeron
Tags: post, page, type, types, post type, wpml
Requires at least: 3.0
Tested up to: 4.9
Stable tag: 3.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J
A simple way to change a post's type in WordPress
== Description ==
This plugin adds a simple post-type drop-down to the post editor interface, allowing you to reassign any post to a new post type. It allows you to switch post's type while editing your post.
= Supported Types =
The plugin can convert nearly every combination of posts, pages, and even custom post types:
* Page to Post
* Post to Page
* Post to Custom
* Custom to Custom
As of 3.1.2, plugin works good with wmpl powered post types.
As of 3.0.0, support for switching to or from Attachments was removed. This may come back in a subsequent version.
Invisible post types, such as revisions, menus, etc., are purposely excluded. But, if you need to access invisible post types, you can adjust the boundaries using the 'pts_post_type_filter' filter.
= Bulk Editing =
With bulk editing, thanks to Matthew Gerring, you can select all the posts in a certain type and convert them to a new type with one quick action.
== Installation ==
= Installation =
1. In your WordPress Dashboard go to "Plugins" -> "Add Plugin".
2. Search for "Post Type Switcher".
3. Install the plugin by pressing the "Install" button.
4. Activate the plugin by pressing the "Activate" button.
5. From the post edit screen, above the "Publish" button is the "Post Type" interface.
6. Change post types as needed.
= Minimum Requirements =
* WordPress version 3.0 or greater.
* PHP version 5.2.4 or greater.
* MySQL version 5.0 or greater.
= Recommended Requirements =
* Latest WordPress version.
* PHP version 7.0 or greater.
* MySQL version 5.7 or greater, or MariaDB 10 or greater.
== Frequently Asked Questions ==
= Why would I need this? =
You need to selectively change a posts type from one to another.
= Does this ruin my taxonomy associations? =
It should not. This plugin only changes the 'post_type' property of a post.
== Screenshots ==
1. "Type" column in "Posts" screen.
2. "Post Type" interface in "Quick Edit".
3. "Post Type" interface in "Edit Post" screen.
== Changelog ==
= 3.1.0 =
* Fix post targeting when called recursively
= 3.0.0 =
* Improved Quick-Edit and Bulk-Edit support
* Remove `attachment` type support for now, as there is no way to switch back
* Fix bug causing some post-types to switch unexpectedly
= 2.0.1 =
* Ensure quick-edit works with new procedure
* Quick-edit "Type" column works again!
= 2.0.0 =
* Improved plugin compatibility with WooThemes Sensei
* Filter post arguments vs. hook to save_post
* Add "post_type_switcher" action
= 1.7.0 =
* Add support for network activation
= 1.6.0 =
* Add textdomains for localization
* Load translation strings using load_plugin_textdomain()
* Before saving data chack if it's not an autosave using wp_is_post_autosave()
* Before saving data chack if it's not a revision using wp_is_post_revision()
* Security: Prevent direct access to directories
* Security: Translation strings escaping
* Add screenshots
= 1.5.0 - norcross =
* Fix multiple quickedit dropdowns
= 1.4.0 =
* Improve handling of non-public post types
= 1.3.0 =
* Fix saving of autodrafts
= 1.2.1 =
* Improved WordPress 3.9 integration (added dashicon to publish metabox)
= 1.2.0 =
* Add bulk editing to supported post types
* Props Matthew Gerring for bulk edit contribution
= 1.1.1 =
* Add is_admin() check to prevent theme-side interference
* Change save_post priority to 999 to avoid plugin compatibility issues
* Remove ending closing php tag
* HTML and PHPDoc improvements
= 1.1.0 =
* Fix revisions being nooped
* Fix malformed HTML for some user roles
* Make a singleton (meh...)
= 1.0.0 =
* Fix JS bugs
* Audit post save bail conditions
* Tweak UI for WordPress 3.3
= 0.3.0 =
* Use the API to change the post type, fixing a conflict with persistent object caches
* No longer requires JavaScript
= 0.2.0 =
* Disallow post types that are not public and do not have a visible UI
= 0.1.0 =
* Release