332 reputation
115
bio website
location
age
visits member for 2 years, 3 months
seen May 17 at 22:37
stats profile views 49

Nov
17
awarded  Teacher
Nov
15
answered TinyMCE Autoresize
Nov
15
revised TinyMCE Autoresize
added 217 characters in body
Nov
14
asked TinyMCE Autoresize
Nov
14
accepted Redirect from the dashboard to edit.php if wp_is_mobile() is true
Nov
12
answered Redirect from the dashboard to edit.php if wp_is_mobile() is true
Nov
12
revised Redirect from the dashboard to edit.php if wp_is_mobile() is true
edited title
Nov
12
asked Redirect from the dashboard to edit.php if wp_is_mobile() is true
Nov
11
comment Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
Thanks for your reply! That could've been a valid approach. Unfortunately I'm on 3.3.2 and cannot upgrade WP because the site is built with very many custom scripts that possibly would break if WP is upgraded.
Nov
11
revised Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
edited title
Nov
11
accepted How to make certain page templates visible to admin only
Nov
11
accepted Change top level menu item to point to custom submenu item
Nov
11
accepted Publish page by invoking submit via jQuery
Nov
11
comment Publish page by invoking submit via jQuery
Solved it by having a secondary button like my example and having the original publish button hidden. Thanks for your help!
Nov
11
asked Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
Nov
8
comment Publish page by invoking submit via jQuery
The problem is that I only have #publish in the real example, #secondary-publish was just something I used in this demo for illustration purposes (so it wouldn't collide with wp original publish meta box). In the real example you actually push #publish and there's a check via ajax and then it's supposed to published, so #publish is gonna get pressed indefinitely. It's all there in the pastebin in my last comment.
Nov
8
comment Publish page by invoking submit via jQuery
Thanks for your reply (and your corrections). It works as it should standalone, but when I implent it in where it's gonna be used it produces a loop. Hm, do you have an idea what I could do? pastebin.com/RBZq842m
Nov
8
revised Publish page by invoking submit via jQuery
added 55 characters in body
Nov
8
asked Publish page by invoking submit via jQuery
Nov
5
comment Only allow new subpages to be created
Yes, that part is all fine, but what happens if there's less than 9 parent pages?