wordpress 에서 업로드를 허용할 파일 타입을 설정할 수 있으며
업로드시 한글 파일을 영문으로 자동 번역해주는 등 업로드와 관련된 몇가지 유용한 기능을 넣었습니다.
| Author: | Rocketm2n (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 7.1.4 |
| Plugin version: | 3.0.2 |
| Added to WordPress repository: | 18-04-2015 |
| Last updated: | 28-07-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | http://in-web.co.kr/ |
| Total downloads: | 3 048 |
| Active installs: | 80+ |

Click to start download
|
크게 3가지의 기능이 있습니다.
- wordpress 의 미디어 라이브러리(자료실)에서 업로드를 허용할 파일을 설정할 수 있습니다. 예를들어 hwp 확장자의 파일이 업로드가 안될경우 사용하시면 됩니다.
- 미디어 라이브러리에서 특정 확장자의 파일 목록만 선택해서 볼 수 있습니다. 예를들어 hwp 파일만 목록에 표시할 수 있습니다.
- 한글 파일명을 자동으로 영문으로 전환 후 업로드 할 수 있습니다.
- 3의 확장으로 네이버 파파고 번역 API 를 이용해 한글 파일명을 자동으로 영문으로 전환할 수 있습니다. ( 예:
사과.jpg > Apple.jpg )
4번의 네이버 파파고 API를 이용할 경우 기본 무료이지만 하루에 10000 글자 제한 이 있습니다.
충분히 사용할수 있는 글자수이지만 무제한은 아니라는점 염두에 두시면 되겠습니다.
한글 파일명을 의미없는 영문자보다는 그래도 어느정도 알아볼 수 있게 바꾸고 싶을때 이 옵션을 사용하시면 됩니다.
이 경우 네이버 파파고 API 에서 Client ID와 Client Secret을 발급받아서 저장해야 합니다.
선택 가능한 파일 확장자 종류
- hwp
- bmp
- doc
- ico
- xla, xls, xlt, xlw
- pot, pps, ppt
- ppam
- pptm
- pptx
- psd
- mp4
- webm
- ogv
- csv
- ai,eps,ps
- txt
- xlsx
- svg
- json
사용
관리자 메뉴 > 설정 > 업로드 파일 타입 에서 업로드를 허용할 확장자를 선택하고 저장
관리자 메뉴 > 미디어 에서 허용한 확장자의 파일이 업로드 되는지 확인
- 허용한 확장자의 파일이 미디어 라이브러리 상단의 필터 (모든 미디어 아이템) 에 추가됐는지 확인
- 한글 파일명 자동변환을 사용하려면 파일 업로드시 한글 파일명을 자동으로 영문으로 변환 옵션을 활성화하고 저장 > 미디어에서 테스트
- 한글 파일명 자동 번역 변환을 사용하려면 네이버 파파고 API 에서
Client ID와 Client Secret를 발급받아서 입력 저장후 미디어에서 테스트
참고
아래는 워드프레스에서 한글 폰트를 보다 쉽게 설정/사용할 수 있는 플러그인입니다.
Screenshots

The upload file type settings screen. The hwp file type is not selected yet.

The hwp file is not uploaded because its type was not selected in screen 1.

The screen with the hwp file type allowed.

The hwp file is uploaded because it was allowed in screen 3.

A Korean file name converted to a Latin name after turning on the romanization option.

The same with the option that appends the upload date and time.
FAQ
My hwp file is not uploaded
Go to Settings > Upload File Types, turn hwp on, save, and upload the file again from Media. Since 3.0.0, hwp files that were rejected because WordPress detected a different type from the file content are also allowed.
Does it also apply to files uploaded in the block editor?
Yes. Since 3.0.0 the same settings apply to files uploaded in the block editor.
Questions and suggestions
If you find a bug or want another file type added, leave a comment on the plugin page on my blog or open a GitHub issue.
ChangeLog
3.0.2
- security : Re-confirmed that saving the settings is protected against Cross-Site Request Forgery (CSRF): it requires a logged-in user with the
manage_options capability and a valid nonce.
- fix : Fixed the position of the Yes / No labels on the switches of the settings screen.
- change : The readme now lists the WordPress.org user name
qwerty-23 as contributor.
3.0.1
- fix : File type settings were reset when the plugin was deactivated and activated again.
- fix : Types that WordPress allows by default (doc, xlsx, pptx, csv, bmp, ico, mp4, txt and others) are on by default on a fresh install.
- fix : File name conversion applies only to uploads, and no longer leaves
%xx in URLs for letters that cannot be romanized.
- fix : The plugin no longer allows a file type that another plugin or form has deliberately excluded for a specific upload.
- fix : Removed the use of
seems_utf8(), which is deprecated since WordPress 6.9.
- change : The readme is now written in English (with a short Korean summary), as required by WordPress.org.
- change :
uninstall.php no longer creates global variables.
3.0.0
- security : Fixed an issue that allowed users who were not logged in to change the settings. Saving settings now checks capability and nonce. Please update.
- security : All output of the settings screen is escaped, and each saved value is validated.
- fix : File type settings were reset when the plugin was deactivated and activated again.
- fix : File types that WordPress allows by default (doc, xlsx, pptx, csv, bmp, ico, mp4, txt and others) were blocked on a fresh install. The defaults now match WordPress.
- fix : File name conversion is applied only when a file is uploaded (other file name handling is not affected). Also fixed broken file URLs caused by letters that cannot be romanized.
- security : Added warnings for svg, exe and macro-enabled files, and an option (on by default) to let only administrators upload risky file types.
- change : “Append upload date and time” is now a separate option that applies to all files, regardless of Korean conversion (off by default). When updating, it is turned off for sites that did not use the Korean conversion, so existing file names do not suddenly change.
- new : Added an option that combines Korean file names split into consonants and vowels (uploaded from macOS) into normal Korean.
- change : A save bar is fixed at the bottom of the screen and warns about unsaved changes.
- fix : Switches that were turned off were not saved as off.
- fix : Settings were not applied to files uploaded from the block editor (REST API).
- fix : Removed code that changed the PHP time zone of the site. The upload date and time use the site time zone.
- fix : Wrong default for xlsx.
- change : The settings screen keeps the same look as before. Libraries previously loaded from external CDNs (Foundation, Font Awesome and others) are now bundled with the plugin, so the settings screen loads nothing from external sites.
- change : Korean file name conversion now uses romanization, and the Naver Papago translation option was removed. The free Papago API ended in February 2024. Romanization needs no external service, API key or fee. Example: 사과.jpg to sagwa.jpg. Previously saved API keys are deleted automatically on update.
- change : Korean detection is limited to Hangul syllables and jamo (Hanja and others were treated as Korean before).
- change : Requires PHP 7.0 or later and WordPress 5.0 or later.
- add : Settings are cleaned up when the plugin is deleted.
2.1.0
- fix : Changed the translation API (Naver to Naver Papago).
- fix : For Korean files, spaces and dashes are removed after translating to English.
2.0.1
- Added file types: svg, json
2.0.0
- Added file types: txt, xlsx
- Added automatic conversion of Korean file names to English.
- Added Korean file name conversion using the Naver translation API.
1.1.0
- Added a file extension filter to Media (show only files with a chosen extension).
1.0.1
- Added file types: ai, eps, ps
1.0.0
- Added file types: webm, ogv, csv
- Fixed broken icons.
0.0.1