开发者 | bhaldie |
---|---|
更新时间 | 2020年5月14日 00:15 |
捐献地址: | 去捐款 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 5.4.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Head to this link for more information on how to use the shortcode mdoc_upload_btn: https://kingofnothing.net/frontend-upload-button-help/
I've created a guide to follow if anyone is interested in using the Box preview for Memphis Documents Library: Here is the link to the guide: https://kingofnothing.net/creating-a-box-api-developer-key-for-memphis-documents-library/
PFD - Browser Support: Chrome, Safari, Firefox, Edge, IE
To add templates to custom posts you will need to download a plugin "Custom Post Type Page Template". This will allow you to add templates to any custom post including mdocs posts. Here is the link to the plugin: https://wordpress.org/plugins/custom-post-type-page-template/
If you are getting an issue with non member not being able to download files try this fix.
First thing to try is go to Setting > Disable Third Party Includes: > Bootstrap and check the check box. Try the preview again. If that doesn't work the second most like issue is your themes css if conflicting with mDocs functionality. The second problem is hard to fix it requires you to debug you site and check and change values in order to get the preview to show. If you need assistance on the css to edit please feel free to contact me. Another issue with preview is with Google docs viewer which is Memphis Docs default viewer. I have noticed lately that the preview will not load sometime if a refresh the page it seems to solve the problem but is not really a solution. The only solution that I have found is to change to the Box previewer. I have an not issue with this previewer and works every time.
If you get a 404 error when trying to access your Memphis documents pages try going to Setting>Permalinks and pressing Save. This may solve the issue, if it doesn't please contact me for more support.
Add the following code to your theme right under the <head>
tag this will turn off compatibility mode for IE.
<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
There are two type of imports you can choose from. Keep Existing Saved Variables
When you click the export button the document library will create a ZIP files for you to save to your computer. This compressed data, will contain your documents, saved variables, media and posts tied to each document. Once you've saved the download file, you can use the Import function in another WordPress installation to import the content from this site.
If you are getting error like this when displaying the description in mDocs: Exception type: ImagickException Exception message: not authorized ..... @ error/constitute.c/ReadImage/412 In file /etc/ImageMagick-6/policy.xml (or /etc/ImageMagick/policy.xml) comment line change line to add line
When you uninstall the documents library make sure you export all your important files. All data will be removed on completion of uninstall, this includes files, directories, posts, and media.
event.preventDefault();
was causing Add Main Category to no function. Removing this line fixed the issue.wp_add_inline_style
to handle custom style sheet changes.<head>
tag<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />