-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
63 lines (46 loc) · 2.21 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<title>Ultimate WordPress Admin Bar Manager</title>
<link rel="stylesheet" type="text/css" href="popup.css">
</head>
<body>
<div id="wrapper" class="kc-wp-admin-bar-mgr">
<div id="load_btns"></div>
<details>
<summary>Add Quick Link Button</summary>
<div class="kc-wp-admin-bar-mgr_options">
<label>Button Title: <input type="text" name="title" id="new_button_title"></label><br>
<label>Button URL: <input type="text" name="url" id="new_button_url"></label><br>
<p><button id="saveButton">Save Button</button></p>
<small><b>Note:</b> Button URL should not include the domain, for example, a link to the Menu page would be: <code>/wp-admin/nav-menus.php</code></small>
</div>
</details>
<details>
<summary>Register Custom Post Types</summary>
<div id="new_cpt_fields" class="kc-wp-admin-bar-mgr_options">
<label>Custom Post Type: <input type="text" name="url" id="new_cpt"></label><br>
<p><button id="saveCPT">Save CPT</button></p>
<small><b>Note:</b> Custom post types are used if you have CPT's in your menu and would like to right click on the link to edit that page. They should be entered as: <code>/bio/</code></small>
<div id="load_cpts"></div>
</div>
</details>
<details>
<summary>General Options</summary>
<div class="kc-wp-admin-bar-mgr_options">
<label><input type="checkbox" id="hide_front_bar" class="general-checkboxes" value="hide_front_bar"> Hide Frontend Admin Bar</label><br>
<label style="display: none;"><input type="checkbox" id="hide_admin_bar" value="hide_admin_bar"> Hide Dashboard WP Admin Bar</label><br>
</div>
</details>
<!--details>
<summary>Context Menu Options</summary>
<div class="kc-wp-admin-bar-mgr_options">
<label><input type="checkbox" id="dashboard_link" class="context-checkboxes" value="dashboard_link"> Hide Dashboard Link</label><br>
<label><input type="checkbox" id="get_id" class="context-checkboxes" value="get_id"> Hide Copy Page ID</label><br>
<label><input type="checkbox" id="get_permalink" class="context-checkboxes" value="get_permalink"> Hide Copy Permalink</label><br>
</div>
</details-->
</div>
<script src="popup.js"></script>
</body>
</html>