381 reputation
420
bio website
location
age
visits member for 3 years, 2 months
seen 10 hours ago

Jul
18
comment Remove rows in the manage post/page view
Oh, that's unfortunate. I'll mark this as the accepted answer for now. Hopefully there will be a hook in the future.
Jul
11
comment How do you use a CPT as the default home page?
@EAmann Thanks for the code! It works as it should, although it changes the title of the frontpage to Title of Post | Homepage name, can this be changed to just be the Homepage name, in someway?
Jun
25
comment Insert attachments from custom uploader into post (regular uploader style)
Thanks for your reply. I googled around, all I could find is how to incorporate that code into a button in TinyMCE. How can I make a link within my metabox that sends images to the editor?
Jun
24
comment Adding uploaded images to editor from metabox instead of default popup uploader
@kaiser Is it possible to add an "insert into post" button, much like the regular uploader works?
Jun
24
comment Remove parent slug for child pages
@fdsa Doesn't work automatically, does it?
Jun
7
comment Sets post_parent in custom post type posts automatically based on cpt->page name
Thanks so much! Works splendid. I want it to work with every CPT created. What more should I exclude to make sure I don't run into problems?
May
5
comment Nav Menu – Add class based on meta keys
Yay, works as it should now. I had to change post to page otherwise it works as intended. Thank you so much :)
May
4
comment Nav Menu – Add class based on meta keys
@ampt Ok, now I see. If I visit the actual page that has the meta key, it shows up, but I need the meta key as a class at all times (some menu items should be red, some green etc).
May
4
comment Nav Menu – Add class based on meta keys
@ampt Really? If I write test $classes[] = 'test'; instead of $colorcode, I get "test" on every page menu item. If I do a var_dump(get_post_meta($post->ID, 'color_dropdown', true)); I just get back empty strings. I'm 100% certain that one of the pages have a value assigned to color_dropdown. First I thought it was an issue with the Roots Framework I'm using, but it doesn't seem to be because of that. I'm using Wordpress 3.1.3 if that could impede in someway?
Apr
21
comment Having two different versions of the same post?
Wonderful, How come I didn't think of that? :) Very helpful!
Dec
22
comment Admin top level menu, pointing to an external url
I thought so too, but either I'm doing it wrong or it doesnt work: pastebin.com/PeiFnW6N There's a link but it doesn't show if it's active/current.
Dec
22
comment Admin top level menu, pointing to an external url
Oh, doh. Was a bit tired when I wrote that. I'm now using the code to create a "shortcut" to a dashboard url. It's a direct link to a submenu item: pastebin.com/q89sAVTi
Dec
22
comment Admin top level menu, pointing to an external url
I wanted to use this code for another project, but I just now realized that using this piece of code, I don't get the "current" class when the link is active (like you do on regular admin menu items). I really need this for a coherent styling in this project. Do you have any ideas?
Nov
17
comment Custom column for changing post status via ajax
Splendid as usual, thank you so much!
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)