335 reputation
17
bio website mind.sh/are
location Santa Fe, NM
age 25
visits member for 3 years
seen May 14 at 19:11

May
1
asked Delete an attachment in the WP media modal window
May
1
accepted Modify the array of selected images in media modal
May
1
comment Modify the array of selected images in media modal
Figured it out, sorry for the dumb question. Thanks!
May
1
revised Modify the array of selected images in media modal
added 766 characters in body
May
1
comment Modify the array of selected images in media modal
Can you give me a little more context for this code? I'm getting "id is not defined." I'll add my current scratch code so you can see what I'm working with.
Apr
21
awarded  Yearling
Apr
21
awarded  Scholar
Apr
7
awarded  Student
Apr
7
asked Modify the array of selected images in media modal
Dec
15
asked How to modify admin headers
Mar
10
comment Theme Options - localhost to new url
If the images embedded in your posts are hard-linked to the old server, they won't show up. I'd recommend using a plugin like Search Regex to search/replace through just your post/page content. Again, you may not have been doing anything wrong in search/replacing the whole SQL file... I've just never heard of it done that way and so that would be the first place I'd look for problems. Consider also @Milo 's suggestion above about doing a manual sanity check to see if you can figure out what's going on.
Mar
9
answered Theme Options - localhost to new url
Mar
8
answered How to set up a simple email subscription?
Mar
8
awarded  Commentator
Mar
8
comment Loading one meta box only on post-new.php with a forward link
You'll want to place the script in a .js file and then enqueue it on the admin pages. See here codex.wordpress.org/Plugin_API/Action_Reference/… for more info, or google it, there are many examples.
Mar
7
answered Fetch the latest post with attachment image
Mar
6
comment How to add custom widget above admin_footer
I think that's the best way. What I would do, if it were my plugin, and depending on your comfort with js/jquery, would be to create the box as a modal, draggable, closable box, maybe to the right of the post list. That way a user could move it around if it was in the way. But that may be overkill. These days absolute positioning is pretty consistent across all major browsers. You could test it in browser using the web dev tools and see how it looks.
Mar
6
comment Loading one meta box only on post-new.php with a forward link
See the edit above for a simple jQuery solution. You may want to move the box around on the page, etc., this can all be done very easily with a little research. Again, I have to stress not modifying the WordPress core. It's fine for now, but sooner or later your plugins are going to stop working with an outdated version of WP, and you may expose your users to serious security vulnerabilities.
Mar
6
revised Loading one meta box only on post-new.php with a forward link
added additional information
Mar
6
answered How to add custom widget above admin_footer