396 reputation
422
bio website
location
age
visits member for 3 years, 6 months
seen 2 days ago

Nov
16
comment Custom column for changing post status via ajax
I just realized that it does work with pages, sorry. BUT the thing is, it only work with the topmost post/page. If you try to change status on the other ones, nothing happens (ajax doesn't fire, check this vid: youtu.be/Q1APmCL6DtE)
Nov
11
comment Custom column for changing post status via ajax
Wow, thanks so much for this! Really appreciate that you took your time to do this. I added this to my dev site but it only seems to work with posts and not pages. How do I enable it for both types? (and possibly custom post types).
Nov
5
comment Admin top level menu, pointing to an external url
Thanks, helpful as always :-)
Nov
3
comment How to disable admin flyout menus?
These new fly out menus are driving me crazy to. Seems unprofessional aswell.
Aug
1
comment Custom function to rearrange attachments when creating posts – Almost there
Amazing! Don't know what else to say. I am very, very thankful that you took time to give such an elaborate answer. Very much appreciated!
Jul
25
comment Custom function to rearrange attachments when creating posts – Almost there
Maybe this way is better to go: soulsizzle.com/jquery/… But not quite sure how to use it (since I need the menu order to be saved when you press update/save and not on every drag/drop)
Jul
25
comment Custom function to rearrange attachments when creating posts – Almost there
@t31os Also please note on line 28 in paste 8yLjdkrq, I've put attachment ID as a placerholder, as I haven't figured out how to get the current menu_order for the attachments.
Jul
24
comment Custom function to rearrange attachments when creating posts – Almost there
@t31os I think this is everything that you need to be able to run it on your own install: pastebin.com/8yLjdkrq and pastebin.com/23wU7Qe1 Might have missed something though. Think it's easier for your to be able to test yourself (also good for anyone that wanna do something similar)
Jul
20
comment Control attachments menu order with jQuery Sortable
worked perfectly, thanks!
Jul
20
comment How do I save metadata for a specific custom post type only?
Hm, I get this warning message Notice: Trying to get property of non-object in /ustorage/www/users/qom/vhosts/xxx/xxx/wp-content/themes/ep/functions.php on line 239 on this line: if ($post->post_type == 'mycpt') { when creating an entirely new post. Anything to worry about?
Jul
18
comment How to delete post attachments when jQuery is used with a click event on the delete link
Very helpful post, thanks!
Jul
18
comment Control attachments menu order with jQuery Sortable
This seems to be what I want, will try as soon as I get a chance, thanks!
Jul
16
comment Control attachments menu order with jQuery Sortable
Line 1228 in media.php in wp-admin/includes seems to have the functionality for how sorting natively in WP works. Not sure how to make use of it though..
Jul
16
comment Control attachments menu order with jQuery Sortable
@kaiser Sorry for being a bit vague in my question. I've updated the Q with some more information. I'm not using the regular media uploader. I'm using Uploadify that ties in with the media library, though it works exactly the same as it would with the regular media uploader. So what I need is someway to use the menu order that I create with jQuery Sortable (check this video: youtu.be/zvPnem6ady4) and then save it as a menu_order ID for my different attachments. Am I making any sense?
Jul
16
comment Control attachments menu order with jQuery Sortable
Thanks for your reply. I know this, but I'm wondering how I might hook into this and make use of it for my custom image/attachment handler. Here's a video: youtu.be/zvPnem6ady4 When I've moved the images around, I want the order to be saved.
Jul
15
comment How to list “invisible” Auto Drafts?
Also, it lists a revision for a post that is publushed, and it cannot be removed (and it's not possible to tick multiple posts and remove them in bulk, it just gives the error message: Invalid Post Type)
Jul
15
comment How to list “invisible” Auto Drafts?
This is what I have right now: pastebin.com/dqhtZv8n and it works, it lists the drafts, however I also get this error message: Warning: Illegal offset type in isset or empty in /ustorage/www/users/xxx/vhosts/xxx/wp-includes/post.php on line 817
Jul
15
comment How to list “invisible” Auto Drafts?
The thing is, I've disabled auto save, but I still get auto drafts when attaching images (I guess it's a media attachment thing).
Jul
15
comment How to list “invisible” Auto Drafts?
Hm, nope, not showing up, are you sure that the ones I'm seeing in Media Library is auto saves or revisions?
Jul
6
comment Add TinyMCE to CPT metaboxes in 3.1?
Firstly, do not answer questions with a question. You should create a new question since this question specifically is for 3.1