Originally published at: ONLYOFFICE connector for WordPress | ONLYOFFICE Blog
Our free ready-to-use integration app for WordPress is now available. It allows editing office documents in WordPress as well as adding ONLYOFFICE blocks in posts. Learn all the details in this article.
About WordPress
WordPress is a popular free and open-source content management system. It was originally created as a blog-publishing service and has evolved to support other web content types including mailing lists and forums, media galleries, LMS, online stores, etc.
Besides, you can easily modify and extend your WordPress using lots of available themes and plugins.
ONLYOFFICE connector and its features
With ONLYOFFICE integration app, admins are able to work with office documents and website visitors can view them in the published posts.
Edit files uploaded to WordPress
All uploaded files from the Media section will appear on the ONLYOFFICE -> Files page within admin dashboard.
Users with the administrator rights are able to edit and collaborate on documents, spreadsheets, and presentations (DOCX, XLSX, PPTX) using two co-editing modes, Track Changes, comments, and built-in chat.
The editor opens in the same tab by clicking on the file name. All the changes are saved in the same file.
Add ONLYOFFICE blocks to posts
When creating a post, you can add the ONLYOFFICE element (block) and then upload a new file or select one from the Media Library.
After the post is published, your WordPress site visitors will have access to this file for viewing in the Embedded mode.
Check the list of file formats supported for viewing
What you should know before the installation
To be able to work with office documents in WordPress, you need to deploy a running instance of ONLYOFFICE Docs (Document Server).
You can choose between the free community version or scalable enterprise edition with professional tech assistance, including a special tariff plan for home use.
Please note: mobile web editors are available in the enterprise version of the suite only.
Install the connector
You can get the app from the WordPress Plugins Directory or download it from GitHub.
Please note that ONLYOFFICE is compatible with WordPress v.5.9.0 or higher.
Once you get the plugin, follow these steps:
- Navigate to the Plugins section in your WordPress administrative dashboard.
- Click Add New -> Upload Plugin.
- Click Choose File and select the downloaded zipped plugin.
- Activate the plugin.
Configure the connector
Go to the WordPress administrative dashboard -> ONLYOFFICE -> Settings and specify the following parameters:
- The URL of the installed ONLYOFFICE Docs.
- Secret key to enable JWT that protects your documents from unauthorized access. You also need to specify the same secret key in the ONLYOFFICE Docs config file to enable the validation (further info can be found here).
A quick reminder
You can also publish articles directly from the ONLYOFICE document editor on your WordPress website using this plugin.
Useful links
ONLYOFFICE connector for WordPress: Plugins Directory / GitHub
Get ONLYOFFICE Docs: Community Edition / Enterprise Edition
O2OA integrates ONLYOFFICE Docs