Modified Media-upload Link
-
I have a WordPress MU site with static pages that each contain an image gallery and nothing else – no text content. Each time a new user signs up they get a pre-populated site. Rather than having them navigate to the individual pages and click the small image-upload icon I have copied that link an attached it to an image map on the WordPress dashboard. It works fine. The user logs in, clicks the “Add an image to my Home page” icon on their dashboard, and up pops the media upload dialog box for that particular page. The problem is that the media-upload link uses the post_id, which changes each time a new site is created. I would like to use the post_slug instead. I have tried the following, but it does not work.
The default link works - https://www.mysite.com/wp-admin/media-upload.php?post_id=123&TB_iframe=1 My link using post-slug does not - https://www.mysite.com/wp-admin/media-upload.php?post_slug=my-page-name&TB_iframe=1
Does anyone have any advice?
Thanks,
David
- The topic ‘Modified Media-upload Link’ is closed to new replies.