/**
* Deprecated functions.
*/
/**
* Extra CSS class helper.
*
* @deprecated 5.0.5 Replaced with more clear name su_get_css_class().
*
* @param array $atts Shortcode attributes.
* @return string String with CSS class name(s).
*/
function su_ecssc( $atts ) {
return su_get_css_class( $atts );
}
/**
* Shortcut for Su_Tools::decode_shortcode()
*
* @deprecated 5.0.5 Replaced with more clear name su_do_attribute().
*/
function su_scattr( $value ) {
return Su_Tools::do_attr( $value );
}
/**
* Shortcode names prefix in compatibility mode
*
* @deprecated 5.0.5 Replaced with more clear name su_get_shortcode_prefix().
*/
function su_compatibility_mode_prefix() {
return su_get_shortcode_prefix();
}
/**
* Shortcut for su_compatibility_mode_prefix()
*
* @deprecated 5.0.5 Replaced with more clear name su_get_shortcode_prefix().
*/
function su_cmpt() {
return su_get_shortcode_prefix();
}
/**
* Custom do_shortcode function for nested shortcodes
*
* @deprecated 5.0.5 Replaced with more clear name su_do_nested_shortcodes().
*
* @param string $content Shortcode content
* @param string $pre First shortcode letter
*
* @return string Formatted content
*/
function su_do_shortcode( $content, $pre ) {
if ( strpos( $content, '[_' ) !== false ) {
$content = preg_replace( '@(\[_*)_(' . $pre . '|/)@', "$1$2", $content );
}
return do_shortcode( $content );
}
/**
* Shortcut for Su_Tools::get_icon()
*
* @deprecated 5.0.5 Replaced with more clear name su_html_icon().
*/
function su_get_icon( $args ) {
return Su_Tools::get_icon( $args );
}
/**
* Color shift a hex value by a specific percentage factor
*
* @param string $supplied_hex Any valid hex value. Short forms e.g. #333 accepted.
* @param string $shift_method How to shift the value e.g( +,up,lighter,>)
* @param integer $percentage Percentage in range of [0-100] to shift provided hex value by
*
* @return string shifted hex value
* @version 1.0 2008-03-28
*
* @deprecated 5.2.0 Replaced with su_adjust_brightness().
*/
function su_hex_shift( $supplied_hex, $shift_method, $percentage = 50 ) {
$shifted_hex_value = null;
$valid_shift_option = false;
$current_set = 1;
$RGB_values = array();
$valid_shift_up_args = array( 'up', '+', 'lighter', '>' );
$valid_shift_down_args = array( 'down', '-', 'darker', '<' );
$shift_method = strtolower( trim( $shift_method ) );
// Check Factor
if ( !is_numeric( $percentage ) || ( $percentage = ( int ) $percentage ) < 0 || $percentage > 100
) trigger_error( "Invalid factor", E_USER_NOTICE );
// Check shift method
foreach ( array( $valid_shift_down_args, $valid_shift_up_args ) as $options ) {
foreach ( $options as $method ) {
if ( $method == $shift_method ) {
$valid_shift_option = !$valid_shift_option;
$shift_method = ( $current_set === 1 ) ? '+' : '-';
break 2;
}
}
++$current_set;
}
if ( !$valid_shift_option ) trigger_error( "Invalid shift method", E_USER_NOTICE );
// Check Hex string
switch ( strlen( $supplied_hex = ( str_replace( '#', '', trim( $supplied_hex ) ) ) ) ) {
case 3:
if ( preg_match( '/^([0-9a-f])([0-9a-f])([0-9a-f])/i', $supplied_hex ) ) {
$supplied_hex = preg_replace( '/^([0-9a-f])([0-9a-f])([0-9a-f])/i', '\\1\\1\\2\\2\\3\\3',
$supplied_hex );
}
else {
trigger_error( "Invalid hex color value", E_USER_NOTICE );
}
break;
case 6:
if ( !preg_match( '/^[0-9a-f]{2}[0-9a-f]{2}[0-9a-f]{2}$/i', $supplied_hex ) ) {
trigger_error( "Invalid hex color value", E_USER_NOTICE );
}
break;
default:
trigger_error( "Invalid hex color length", E_USER_NOTICE );
}
// Start shifting
$RGB_values['R'] = hexdec( $supplied_hex[0] . $supplied_hex[1] );
$RGB_values['G'] = hexdec( $supplied_hex[2] . $supplied_hex[3] );
$RGB_values['B'] = hexdec( $supplied_hex[4] . $supplied_hex[5] );
foreach ( $RGB_values as $c => $v ) {
switch ( $shift_method ) {
case '-':
$amount = round( ( ( 255 - $v ) / 100 ) * $percentage ) + $v;
break;
case '+':
$amount = $v - round( ( $v / 100 ) * $percentage );
break;
default:
trigger_error( "Oops. Unexpected shift method", E_USER_NOTICE );
}
$shifted_hex_value .= $current_value = ( strlen( $decimal_to_hex = dechex( $amount ) ) < 2 ) ?
'0' . $decimal_to_hex : $decimal_to_hex;
}
return '#' . $shifted_hex_value;
}
/*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/es",[],(function(){return{errorLoading:function(){return"No se pudieron cargar los resultados"},inputTooLong:function(e){var n=e.input.length-e.maximum;return"Por favor, elimine "+n+" car"+(1==n?"ácter":"acteres")},inputTooShort:function(e){var n=e.minimum-e.input.length;return"Por favor, introduzca "+n+" car"+(1==n?"ácter":"acteres")},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var n="Sólo puede seleccionar "+e.maximum+" elemento";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Eliminar todos los elementos"}}})),e.define,e.require}();
The post Women Bags – Shoulder Bags Brand Title appeared first on Novasoft Academy.
]]>The post Women Bags – Shoulder Bags Brand Title appeared first on Novasoft Academy.
]]>The post Latest Fashion Trends in Spring/Summer 2023 appeared first on Novasoft Academy.
]]>It is a trends report page on the most prominent fashion trends for the current season and year. Use pictures and text.
It is still a demo page.
The post Latest Fashion Trends in Spring/Summer 2023 appeared first on Novasoft Academy.
]]>The post Singapore Recruitment Agency – Professional Recruiters appeared first on Novasoft Academy.
]]>The post Singapore Recruitment Agency – Professional Recruiters appeared first on Novasoft Academy.
]]>The post Digital Marketing Singapore – Best Strategy in SG appeared first on Novasoft Academy.
]]>Top digital marketing agency in Singapore with proprietary technology that helps SMEs to generate better results in digital marketing. Looking for digital marketing services in Singapore? Our agency offers comprehensive digital marketing solutions to help your business succeed online!
marketing, digital, media, social, business, search, online, strategy, content, brand.
The post Digital Marketing Singapore – Best Strategy in SG appeared first on Novasoft Academy.
]]>The post Embroidered Gifts appeared first on Novasoft Academy.
]]>The post Embroidered Gifts appeared first on Novasoft Academy.
]]>The post Healthy Snacks Singapore – Top Selling Brand appeared first on Novasoft Academy.
]]>The post Healthy Snacks Singapore – Top Selling Brand appeared first on Novasoft Academy.
]]>The post shoe repair – reliable shoe repair service appeared first on Novasoft Academy.
]]>more content to come here
The post shoe repair – reliable shoe repair service appeared first on Novasoft Academy.
]]>The post Top MBA Program in Asia – XXX MBA appeared first on Novasoft Academy.
]]>The post Top MBA Program in Asia – XXX MBA appeared first on Novasoft Academy.
]]>The post Dog Grooming in Singapore – Spa day for your fur babies appeared first on Novasoft Academy.
]]>
Looking for dog groomer for your fur babies? We are offering 2 services for the price of 1! Book an appointment with us now!
The post Dog Grooming in Singapore – Spa day for your fur babies appeared first on Novasoft Academy.
]]>The post <strong>Food Delivery at Affordable Prices</strong> appeared first on Novasoft Academy.
]]>
create a sign-up page, outlining the different types of delivery services we provide, for different businesses, include photos and videos of how they can place an order, add in testimonials, add in FAQ section at the bottom, why they should use our services.
The post <strong>Food Delivery at Affordable Prices</strong> appeared first on Novasoft Academy.
]]>