| Server IP : 121.121.20.254 / Your IP : 216.73.216.41 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/6pocketz/wp-content/plugins/wp-file-manager-pro/inc/ |
Upload File : |
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
$settings = get_option('wp_file_manager_pro_settings');
$this->fm_custom_assets();
?>
<div class="wrap fmShorcodePage">
<div class="fmInnerWrap">
<h3 class="mainHeading">
<span class="headingIcon"><img src="<?php echo plugins_url( 'images/fm-shortcode-icon.png', __FILE__ );?>"></span>
<span class="headingText"><?php _e('Shortcodes','wp-file-manager-pro'); ?></span>
</h3>
<style>
.fm_codeParaTxt .code-well textarea{
background:#fff;
width:100%;
border:1px solid #ddd;
resize:none;
padding:10px;
}
.fm_codeParaTxt .short-file-code{
margin-bottom:30px;
}
.fm_codeParaTxt .code-well textarea.single-line{
height:44px;
}
.fm_codeParaTxt .code-well textarea.multi-line{
height:64px;
}
</style>
<div class="fm_codeParaTxt">
<div class="short-file-code">
<h3>Shortcode of wp file manager admin</h3>
<p>It will show file manager on front and. You can control all settings
from file manager settings. It will work same as backend WP file Manager.</p>
<div class="code-well">
<textarea readonly="readonly" class="single-line">[wp_file_manager_admin]</textarea>
</div>
</div>
<div class="short-file-code">
<h3>Shortcode of wp file manager with parameters</h3>
<p>Shortcode of wp file manager with required parameters</p>
<div class="code-well">
<textarea readonly="readonly" class="multi-line">[wp_file_manager allowed_roles="editor,author" access_folder="wp-content/plugins" write="true" read="faise" hide_files="kumar,abc.php" lock_extensions=".php,.css" allowed_operations="upload,download" ban_user_ids="2,3"]</textarea>
</div>
</div>
<div class="short-file-code">
<h3>Shortcode of wp file manager with parameters for non logged in users</h3>
<p>Shortcode of wp file manager with required parameters</p>
<div class="code-well">
<textarea readonly="readonly" class="multi-line">[wp_file_manager_without_login view='list' dateformat='d M, Y h:i A' access_folder='wp-content/plugins' write = 'true' read = 'false' hide_files = 'kumar,abc.php' lock_extensions='.php,.css' allowed_operations='upload,download']</textarea>
</div>
</div>
</div>
<label class="labelHeading">Parameters:</label>
<ul class="shortcodeDocList">
<li><div class="lftTxt"><span class="num">1</span></div> <div class="rtTxt"><span class="strongText">allowed_roles = "*"</span> <span class="lineText">-> It will allow all roles to access file manager on front end or You can simple use for particular user roles as like allowed_roles="editor,author" (seprated by comma(,))</span></div> </li>
<li><div class="lftTxt"><span class="num">2</span></div> <div class="rtTxt"> <span class="strongText">access_folder="test"</span> <span class="lineText">-> Here "test" is the name of folder which is located on root directory, or you can give path for sub folders as like "wp-content/plugins". If leave blank or empty it will access all folders on root directory. Default: Root directory</span></div> </li>
<li><div class="lftTxt"><span class="num">3</span></div> <div class="rtTxt"> <span class="strongText">write = "true"</span> <span class="lineText">-> for access to write files permissions, note: true/false, default: false</span></div> </li>
<li><div class="lftTxt"><span class="num">4</span></div> <div class="rtTxt"> <span class="strongText">read = "true"</span> <span class="lineText">-> for access to read files permission, note: true/false, default: true</span></div> </li>
<li><div class="lftTxt"><span class="num">5</span></div> <div class="rtTxt"> <span class="strongText">hide_files = "wp-content/plugins,wp-config.php"</span> <span class="lineText">-> it will hide mentioned here. Note: seprated by comma(,). Default: Null</span></div> </li>
<li><div class="lftTxt"><span class="num">6</span></div> <div class="rtTxt"> <span class="strongText">lock_extensions=".php,.css"</span> <span class="lineText">-> It will lock mentioned in commas. you can lock more as like ".php,.css,.js" etc. Default: Null</span></div> </li>
<li><div class="lftTxt"><span class="num">7</span></div> <div class="rtTxt"> <span class="strongText">allowed_operations="*"</span> <span class="lineText">-> * for all operations and to allow some operation you can mention operation name as like, allowed_operations="upload,download". Note: seprated by comma(,). Default: *</span> </div></li>
</ul>
<div class="subHeading"><span class="num">7.1</span> File Operations List: </div>
<div class="twoColListWrap">
<ul class="numList numListCol">
<li><span class="num">1.</span> <span class="strongText">mkdir -></span> <span class="lineText">Make directory or folder</span> </li>
<li><span class="num">2.</span> <span class="strongText">mkfile -></span> <span class="lineText">Make file</span> </li>
<li><span class="num">3.</span> <span class="strongText">rename -></span> <span class="lineText">Rename a file or folder</span> </li>
<li><span class="num">4.</span> <span class="strongText">duplicate -></span> <span class="lineText">Duplicate or clone a folder or file</span> </li>
<li><span class="num">5.</span> <span class="strongText">paste -></span> <span class="lineText"> Paste a file or folder</span> </li>
<li><span class="num">6.</span> <span class="strongText">ban -></span> <span class="lineText">Ban </span> </li>
<li><span class="num">7.</span> <span class="strongText">archive -></span> <span class="lineText">To make a archive or zip</span> </li>
<li><span class="num">8.</span> <span class="strongText">extract -></span> <span class="lineText">Extract archive or zipped file</span> </li>
<li><span class="num">9.</span> <span class="strongText">copy -></span> <span class="lineText">Copy files or folders</span> </li>
</ul>
<ul class="numList numListCol">
<li><span class="num">10.</span> <span class="strongText">cut -></span> <span class="lineText">Simple cut a file or folder</span> </li>
<li><span class="num">11.</span> <span class="strongText">edit -></span> <span class="lineText">Edit a file</span> </li>
<li><span class="num">12.</span> <span class="strongText">rm -></span> <span class="lineText">Remove or delete files and folders</span> </li>
<li><span class="num">13.</span> <span class="strongText">download -></span> <span class="lineText">Download files</span> </li>
<li><span class="num">14.</span> <span class="strongText">upload -></span> <span class="lineText">Upload files</span> </li>
<li><span class="num">15.</span> <span class="strongText">search -> </span> <span class="lineText">Search things</span> </li>
<li><span class="num">16.</span> <span class="strongText">info -></span> <span class="lineText">Info of file</span> </li>
<li><span class="num">17.</span> <span class="strongText">help -></span> <span class="lineText">Help</span> </li>
</ul>
</div>
<ul class="shortcodeDocList">
<li><div class="lftTxt"><span class="num">8</span></div> <div class="rtTxt"> <span class="strongText">ban_user_ids="2,3"</span> <span class="lineText">-> It will ban particular users by just putting their ids seprated by commas(,). If user is Ban then they will not able to access wp file manager on front end.</span></div> </li>
<li><div class="lftTxt"><span class="num">9</span></div> <div class="rtTxt"> <span class="strongText">view="list"</span> <span class="lineText">-> Filemanager UI View. Default: grid</span> </div></li>
<li><div class="lftTxt"><span class="num">10</span></div> <div class="rtTxt"> <span class="strongText">dateformat="d M, Y h:i A"</span> <span class="lineText">-> File Modified or Create date format. Default: d M, Y h:i A </span> </div></li>
<li><div class="lftTxt"><span class="num">11</span></div> <div class="rtTxt"> <span class="strongText">lang="en"</span> <span class="lineText">-> File manager Language. Default: English(en) </span> </div></li>
<li><div class="lftTxt"><span class="num">12</span></div> <div class="rtTxt"> <span class="strongText">theme="light"</span> <span class="lineText">-> File Manager Theme. Default: Light </span> </div></li>
</ul>
</div>
</div>