Using the “postbox” class as in the new/edit post admin pages
-
Hello folks,
I am building a plugin which employs admin pages. I am following the WP stylistic pattern as close as possible. For optional values, I would like to use the “postbox” class employed in the “New post” and “Edit post” page. This class is used to hide and show divs, like “Tags”, “Excerpt”, etc. I inserted a “.postbox” div in my custom form, and also a “togbox” switch; I also tried to load the “/wp-admin/js/postbox.js” script, but the switch dows not work. I know I could replicate the behaviour with jQuery, but I’d like to relay on th existing framework.
Any suggestion?
Cheers,
Davide
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Using the “postbox” class as in the new/edit post admin pages’ is closed to new replies.