mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-20 06:53:23 +09:00
language files
removed max-height from CSS
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
|
||||
class Display_Featured_Image_Genesis_Settings {
|
||||
|
||||
/**
|
||||
* variable set for featured image option
|
||||
* @var option
|
||||
*/
|
||||
protected $displaysetting;
|
||||
|
||||
/**
|
||||
@@ -358,6 +362,9 @@ class Display_Featured_Image_Genesis_Settings {
|
||||
if ( 'appearance_page_displayfeaturedimagegenesis' === get_current_screen()->id ) {
|
||||
wp_enqueue_media();
|
||||
wp_enqueue_script( 'displayfeaturedimage-upload' );
|
||||
wp_localize_script( 'displayfeaturedimage-upload', 'objectL10n', array(
|
||||
'text' => __( 'Choose Image', 'display-featured-image-genesis' ),
|
||||
) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.big-leader {
|
||||
max-height: 700px;
|
||||
/*max-height: 700px;*/
|
||||
}
|
||||
|
||||
.big-leader .wrap {
|
||||
|
||||
@@ -14,9 +14,9 @@ jQuery(document).ready(function($){
|
||||
|
||||
//Extend the wp.media object
|
||||
custom_uploader = wp.media.frames.file_frame = wp.media({
|
||||
title: 'Choose Image',
|
||||
title: ([objectL10n.text]),
|
||||
button: {
|
||||
text: 'Choose Image'
|
||||
text: ([objectL10n.text])
|
||||
},
|
||||
multiple: false
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user