Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$5
Gallery Settings section removing
When you add 2 or more images, you are starting to see gallery settings section on gallery tab.
http://en.support.files.wordpress.com/2009/09/gallery-settings.gif
Normally its in wp-admin/includes/media.php 1704 line;
<div id="gallery-settings" style="display:none;">
<div class="title"><?php _e('Gallery Settings'); ?></div>
<table id="basic" class="describe"><tbody>
<tr>
<th scope="row" class="label">
When adding 2 or more images, wordpress removing display:none; codes from this place i think, but i couldnt find how its removing those codes.
I want to remove this section always, even have 2 or more images. How can i do that? How can i add or remove html codes in wordpress panel like style="display:none;" section
This question has been answered.
Ünsal Korkmaz | 02/18/10 at 12:03am
Edit
(2) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
02/21/10
9:43pmUtkarsh Kukreti says:Add this code to your functions.php
function hide_gallery_settings()
{
echo '<style type="text/css">#gallery-settings{display:none;}</style>';
}
add_action('admin_print_styles', 'hide_gallery_settings'); -

Last edited:
02/21/10
9:43pmMichael Fields says:add_action( 'admin_head_media_upload_gallery_form', 'mfields_remove_gallery_setting_div' );
if( !function_exists( 'mfields_remove_gallery_setting_div' ) ) {
function mfields_remove_gallery_setting_div() {
print <<<EOF
<style type="text/css">
#gallery-settings *{
display:none;
}
</style>
EOF;
}
}
This question has expired.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
