"no-repeat", __( "Repeat", "smile" ) => "repeat", __( "X Repeat", "smile" ) => "repeat-x", __( "Y Repeat", "smile" ) => "repeat-y" ); $background_position = array( __( "Center", "smile" ) => "center", __( "Left", "smile" ) => "left", __( "Right", "smile" ) => "right", ); $background_size = array( __( "Cover", "smile" ) => "cover", __( "Contain", "smile" ) => "contain", __( "Default", "smile" ) => "auto", ); $output = ''; // Background input field $output = ''; // Background Repeat $output .= ''; $bg_rpt = 'rpt'; $output .= '

'; // Background Position $output .= ''; $bg_pos = 'pos'; $output .= '

'; // Background Size $output .= ''; $bg_size = 'size'; $output .= '

'; $output .= cp_background_script($name); return $output; } function cp_background_script($name){ ob_start(); ?>