true)); unset($post_types_list['wpfd_file']); $post_types_saved = get_post_meta($postid, 'post_types_active', true); $post_types_saved = $post_types_saved ? $post_types_saved : $post_types_list; $devices_list = array('desktop', 'tablet', 'mobile'); $devices_list_saved = get_post_meta($postid, 'device_active', true); $devices_list_saved = $devices_list_saved ? $devices_list_saved : $devices_list; wp_nonce_field('wpse_nonce', 'wpse_nonce_field'); ?>

$list_btns) : ?>

'. __("Editors Tools Available", 'wp-smart-editor') . '

'; $unused = 0; } ?>
array("class"=> 'dashicons dashicons-editor-bold', "title"=>__("Bold", 'wp-smart-editor'), "text" => ""), 'italic' => array("class"=> 'dashicons dashicons-editor-italic', "title"=>__("Italic", 'wp-smart-editor'), "text" => ""), 'strikethrough' => array("class"=> 'dashicons dashicons-editor-strikethrough', "title"=>__("Strikethrough", 'wp-smart-editor'), "text" => ""), 'bullist' => array("class"=> 'dashicons dashicons-editor-ul', "title"=>__("Bullet List", 'wp-smart-editor'), "text" => ""), 'numlist' => array("class"=> 'dashicons dashicons-editor-ol', "title"=>__("Numbered List", 'wp-smart-editor'), "text" => ""), 'blockquote' => array("class"=> 'dashicons dashicons-editor-quote', "title"=>__("Blockquote", 'wp-smart-editor'), "text" => ""), 'hr' => array("class"=> 'dashicons dashicons-minus', "title"=>__("Horizontal Rule", 'wp-smart-editor'), "text" => ""), 'alignleft' => array("class"=> 'dashicons dashicons-editor-alignleft', "title"=>__("Align Left", 'wp-smart-editor'), "text" => ""), 'aligncenter' => array("class"=> 'dashicons dashicons-editor-aligncenter', "title"=>__("Align Center", 'wp-smart-editor'), "text" => ""), 'alignright' => array("class"=> 'dashicons dashicons-editor-alignright', "title"=>__("Align Right", 'wp-smart-editor'), "text" => ""), 'link' => array("class"=> 'dashicons dashicons-admin-links', "title"=>__("Link", 'wp-smart-editor'), "text" => ""), 'unlink' => array("class"=> 'dashicons dashicons-editor-unlink', "title"=>__("Unlink", 'wp-smart-editor'), "text" => ""), 'wp_more' => array("class"=> 'dashicons dashicons-editor-insertmore', "title"=>__("More", 'wp-smart-editor'), "text" => ""), 'formatselect' => array("class"=> '', "title"=>__("Format Select", 'wp-smart-editor'), "text" => "Paragraph"), 'underline' => array("class"=> 'dashicons dashicons-editor-underline', "title"=>__("Underline", 'wp-smart-editor'), "text" => ""), 'alignjustify' => array("class"=> 'dashicons dashicons-editor-justify', "title"=>__("Align Justify", 'wp-smart-editor'), "text" => ""), 'forecolor' => array("class"=> 'dashicons dashicons-editor-textcolor', "title"=>__("Foreground Color/ Text color", 'wp-smart-editor'), "text" => ""), 'pastetext' => array("class"=> 'dashicons dashicons-editor-paste-text', "title"=>__("Paste as text", 'wp-smart-editor'), "text" => ""), 'removeformat' => array("class"=> 'dashicons dashicons-editor-removeformatting', "title"=>__("Remove Format", 'wp-smart-editor'), "text" => ""), 'charmap' => array("class"=> 'dashicons dashicons-editor-customchar', "title"=>__("Character Map", 'wp-smart-editor'), "text" => ""), 'outdent' => array("class"=> 'dashicons dashicons-editor-outdent', "title"=>__("Outdent selected paragraph", 'wp-smart-editor'), "text" => ""), 'indent' => array("class"=> 'dashicons dashicons-editor-indent', "title"=>__("Indent selected paragraph", 'wp-smart-editor'), "text" => ""), 'undo' => array("class"=> 'dashicons dashicons-undo', "title"=>__("Undo", 'wp-smart-editor'), "text" => ""), 'redo' => array("class"=> 'dashicons dashicons-redo', "title"=>__("Redo", 'wp-smart-editor'), "text" => ""), 'wp_help' => array("class"=> 'dashicons dashicons-editor-help', "title"=>__("Help", 'wp-smart-editor'), "text" => ""), 'customstyles' => array("class"=> '', "title"=>__("Custom styles", 'wp-smart-editor'), "text" => "Custom styles"), 'wpsebutton' => array("class"=> '', "title"=>__("Add button", 'wp-smart-editor'), "text" => "Button"), 'columns' => array("class"=> 'dashicons dashicons-editor-table', "title"=>__("Add columns", 'wp-smart-editor'), "text" => ""), 'fontselect' => array("class"=> '', "title"=>__("Font Select", 'wp-smart-editor'), "text" => "Font Family"), 'fontsizeselect' => array("class"=> '', "title"=>__("Font Size Select", 'wp-smart-editor'), "text" => "Font Size"), 'styleselect' => array("class"=> '', "title"=>__("Formats", 'wp-smart-editor'), "text" => "Formats"), 'rtl' => array("class"=> 'wpseicon-rtl', "title"=>__("Text Direction Right to Left", 'wp-smart-editor'), "text" => ""), 'ltr' => array("class"=> 'wpseicon-ltr', "title"=>__("Text Direction Left to Right", 'wp-smart-editor'), "text" => ""), 'anchor' => array("class"=> 'dashicons dashicons-pressthis', "title"=>__("Anchor", 'wp-smart-editor'), "text" => ""), 'preview' => array("class"=> 'dashicons dashicons-visibility', "title"=>__("Preview", 'wp-smart-editor'), "text" => ""), 'bulletmngr' => array("class"=> 'dashicons dashicons-exerpt-view', "title"=>__("Bullet list manager", 'wp-smart-editor'), "text" => ""), 'summary' => array("class"=> 'dashicons dashicons-clipboard', "title"=>__("Summary manager", 'wp-smart-editor'), "text" => ""), 'print' => array("class"=> 'wpseicon-printer', "title"=>__("Print", 'wp-smart-editor'), "text" => ""), 'searchreplace' => array("class"=> 'wpseicon-binoculars', "title"=>__("Search and Replace", 'wp-smart-editor'), "text" => ""), 'visualblocks' => array("class"=> 'wpseicon-pilcrow', "title"=>__("Paragraph Tags", 'wp-smart-editor'), "text" => ""), 'subscript' => array("class"=> 'wpseicon-subscript', "title"=>__("Subscript", 'wp-smart-editor'), "text" => ""), 'superscript' => array("class"=> 'wpseicon-superscript', "title"=>__("Superscript", 'wp-smart-editor'), "text" => ""), 'htmltemplate' => array("class"=> 'dashicons dashicons-media-document', "title"=>__("Template manager", 'wp-smart-editor'), "text" => ""), 'wpsetooltips' => array("class"=> 'dashicons dashicons-lightbulb', "title"=>__("Add Tooltips", 'wp-smart-editor'), "text" => ""), 'unused' => array("class"=> 'no-display', "title"=>"", "text" => ""), ); // Create buttons if (is_array($list_btns)) { foreach ($list_btns as $btns) { $class = $btn_data[$btns]['class']; $title = $btn_data[$btns]['title']; $text = $btn_data[$btns]['text']; echo '
'.$text.'
'; } } ?>

:

$users_per_page, 'offset' => ( $paged-1 ) * $users_per_page, 'include' => wp_get_users_with_no_role(), 'fields' => 'all_with_meta' ); // Query the user IDs for this page $wp_user_search = get_users($args); $total_users = count(get_users()); $total_pages = ceil($total_users / $users_per_page); if (count($wp_user_search)) { foreach ($wp_user_search as $userid => $user_object) { echo ''; echo ''; echo ''; echo ''; echo ''; $role_list = array(); global $wp_roles; foreach ($user_object->roles as $role) { if (isset($wp_roles->role_names[$role])) { $role_list[$role] = translate_user_role($wp_roles->role_names[$role]); } } if (empty($role_list)) { $role_list['none'] = _x('None', 'no user roles'); } $roles_list = implode(', ', $role_list); echo ''; echo ''; } } else { echo ''; } ?>
' . $user_object->display_name . '' . $user_object->user_login . '' . $roles_list . '
'; echo __('No users found.', 'wp-smart-editor'); echo '

1) { for ($i = 1; $i <= $total_pages; $i++) { if ($i < $pagenum - 2) { $skipLeft = true; } elseif ($i > $pagenum + 2) { $skipRight = true; } else { $skipLeft = false; $skipRight = false; } if ($i == 1) { if ($pagenum == 1) { echo ''; } else { echo ''; } } if (!$skipLeft && !$skipRight) { if ($i == $pagenum) { echo '' . $i . ''; } else { echo '' . $i . ''; } } elseif ($skipLeft) { if (!$doneLeft) { echo '...'; $doneLeft = true; } } elseif ($skipRight) { if (!$doneRight) { echo '...'; $doneRight = true; } } if ($i == $total_pages) { if ($pagenum == $total_pages) { echo ''; } else { echo ''; } } } }?>

:

    get_names(); foreach ($roles_list as $role => $role_name) :?>

:

: