Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'd like to drag and drop functionality into one of the admin pages and I've been wondering about the best way to implement it: an iframe or something else?

What I'd like is: Once the use choose the theme, it'll be redirected to the page (under one of the admin menus) which will have a link that would launch the drag and drop options in a full page (without the admin menu on the left side).

Like I said, I've been thinking about an iframe, but I'm not it'd be the best solution.

Any suggestions?

share|improve this question
    
You might find this to be an interesting read. –  Johannes Pille May 4 '13 at 16:54
    
It does seems interesting, but what I meant was not fully full screen. I want to keep the browser window. I just don't want the wordpress admin menu items... Thanks for the tip anyway. It might be useful in the next project. –  WagnerMatosUK May 4 '13 at 18:44
add comment

1 Answer

From what I remember and quick look at code output of administration menu is hardcoded into menu-header.php, which in turn is hardcoded into admin-header.php. In other words not something you can get rid of easily and painlessly.

Note that admin menu can be collapsed to quite thin toolbar, so if your main need is to recover that space then easier and less confusing to user might be to collapse it by code (would probably need a bit of JavaScript, not my area), rather than remove it completely.

share|improve this answer
    
Ok, it seems getting rid of the admin menu might not be a good idea, but what about a page redirect using javascript? For instance, I could use onclick="window.location.href = http://localhost:8888/wordpress/my_page_here" to redirect the user to a custom page, however how could I include this page into my theme (either built in or self-created upon activating the theme)? –  WagnerMatosUK May 5 '13 at 11:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.