שינוי סוגי תוכן

תיאור

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.

סוגי תוכן נתמכים

The plugin can convert nearly every combination of posts, pages, and even custom post types:

  • עמוד לפוסט
  • פוסט לעמוד
  • פוסט לתוכן מותאם אישית
  • Custom to Custom

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.

עריכה קבוצתית

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.

Block Editor

With block-editor (aka Gutenberg) support (thanks to Daniel Bachhuber) you can switch between post-types that use either the Block Editor and the Classic one, without losing any of your embedded content.

צילומי מסך

  • עמודת "סוג תוכן" במסך "פוסטים".
  • ממשק "סוג תוכן" באזור "עריכה מהירה".
  • ממשק "סוג תוכן" במסך "עריכה".

התקנה

התקנה

  1. בלוח הבקרה של וורדפרס גשו לתפריט "תוספים" -> "תוסף חדש".
  2. חפשו "Post Type Swticher".
  3. התקינו את התוסף על ידי לחיצה על הכפתור "התקנה".
  4. הפעילו את התוסף על ידי לחיצה על הכפתור "הפעלה".
  5. במסך העריכה, מעל הכפתור "פרסם", נמצא הממשק "סוג תוכן".
  6. שינוי סוגי תוכן לפי דרישה.

דרישות מינימום

  • וורדפרס גרסה 5.0 ומעלה.
  • PHP גרסה 7.0.0 ומעלה.
  • MySQL גרסה 5.7 ומעלה.

דרישות מומלצות

  • הגרסה האחרונה של וורדפרס.
  • PHP גרסה 8.0 ומעלה.
  • MySQL version 8.0 or greater, or MariaDB 10.5 or greater.

שאלות נפוצות

למה אני צריך את זה?

יש לשנות סוגי תוכן באופן סלקטיבי מסוג אחד לאחר.

האם זה פוגע בשיוך של הטקסונומיות שלי?

זה לא. התוסף משנה רק את הרכיב 'post_type' של הפוסט.

Does this ruin block-editor content?

It should not. Be careful when editing HTML content while switching between editor types!

Will this delete my content?

No. This plugin does not include any code capable of deleting anything.

Plugin conflicts are not unheard of and can be difficult to troubleshoot.

If you're worried, backup your database and deactivate all other plugins before using this tool.

If you're still worried, ask for help in the WordPress.org support forums.

סקירות

7 בפברואר 2024
Outstanding clean, simple and awesome plugin. Saved me maaany hours tonight! Big thanks!!
31 בינואר 2024
Great and simple, even if you only change a few posts, you save a tangible amount of time. Thanks!
22 בינואר 2024
Thank you SO MUCH for this plugin! I don't know why WordPress removed this feature. We had an older site where some pages were made as posts. Your plugin worked perfectly, and enabled us to convert those pages to posts. Thank you again!!
26 באוקטובר 2023
Thank you, very good plugin, I changed 50 articles into pages in 2 minutes!
קראו את כל 234 הסקירות

מפתחים

"שינוי סוגי תוכן" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.

תורמים

“שינוי סוגי תוכן” תורגם ל-30 שפות. תודה רבה למתרגמים על תרומתם.

ניתן לתרגם את "שינוי סוגי תוכן" לשפה שלך.

מעוניינים בפיתוח?

עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.

שינויים

3.3.0

  • Hide the "Type" column by default

3.2.1

  • Update author
  • Add sponsor link

3.2.0

  • Block editor support

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

  • הוספת תמיכה ברשת אתרים

1.6.0

  • הוספת textdomain לתוסך לצורך תמיכה בשפות נוספות
  • טעינת קבצי תרגום באמצעות load_plugin_textdomain()
  • לפני השמירה, בדיקה האם אין מדובר בשמירה אוטומטית באמצעות wp_is_post_autosave()
  • לפני השמירה, בדיקה האם אין מדובר בגרסה, באמצעות wp_is_post_revision()
  • אבטחה: מניעת גישה ישירה לתיקיות
  • אבטחה: ביצוע escaping למחרוזות תרגום
  • הוספה צילומי מסך

1.5.0 – norcross

  • תיקון רשימות נפתחות מרובות בעריכה מהירה

1.4.0

  • טיפול משופר מסוגי תוכן לא-ציבוריים

1.3.0

  • תיקון שמירה של שמירה אוטומטית

1.2.1

  • התאמות עיצוב עבור וורדפרס 3.9 (הוספת dashicon לקופסת הפרסום)

1.2.0

  • הוספת תמיכה בעריכה קבוצתית לסוגי תוכן נתמכים
  • הצעה של מתיו גרינג לתמיכה בעריכה קבוצתית

1.1.1

  • הוספת בדיקת is_admin() כדי למנוע התערבות מצד תבניות
  • שינוי ה-priority של save_post ל-999 כדי להימנע מבעיות תאימות של תוספים
  • הסרת תגית סגירת php
  • שיפורי HTML ותיעוד PHPDoc

1.1.0

  • תיקון באג שהשפיע על הגרסאות
  • תיקון HTML מעוות בתפקידי משתמש מסויימים
  • Make a singleton (meh…)

1.0.0

  • תיקום שגיאת JS
  • ביקורת של התנאי הנבדקים לפני שמירה
  • התאמות עיצוב עבור וורדפרס 3.3

0.3.0

  • שימוש ב-API כדי להציג סוגי תוכן, תיקון קונפליקט עם persistent object caches
  • לא דורש יותר JavaScript

0.2.0

  • לא לאפשר סוגי פוסטים שאינם ציבוריים ולא להציג אותם למשתמש

0.1.0

  • שחרור