This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function si_add_css_sprout() { | |
?> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine"> | |
<style type="text/css" media="screen"> | |
body { | |
font-family: 'Tangerine', serif; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function si_add_css_sprout() { | |
?> | |
<style type="text/css" media="screen"> | |
#outer_doc_wrap { | |
word-spacing: 3px !important; | |
letter-spacing: 1px !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'manage_edit-sa_invoice_sortable_columns', 'SI_register_sortable_columns', 10, 2 ); | |
add_filter( 'manage_edit-sa_estimate_sortable_columns', 'SI_register_sortable_columns', 10, 2 ); | |
function SI_register_sortable_columns( $columns ) { | |
$columns['dates'] = 'dates'; | |
$columns['number'] = 'column-number'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width:767px) { | |
.btn { | |
padding-left: 10px !important; | |
padding-right: 10px !important; | |
} | |
} | |
@media (min-width: 768px) { | |
.btn{ | |
padding-left: 40px !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function si_sprout_css_udpate() { | |
?> | |
<style type="text/css" media="screen"> | |
.si-dropdown-menu{ | |
min-width: 388px !important; | |
max-width: 588px !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'init', function() { | |
$jobs = get_option( 'boldgrid_backup_jobs', array() ); | |
if( ! empty ( $jobs ) ) { | |
delete_option( 'boldgrid_backup_jobs' ); | |
} | |
} ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'si_line_item_columns', 'remove_tax_column' ); | |
function remove_tax_column( $columns ) { | |
set( $columns['tax'] ); // Unset the 'tax' column | |
return $columns; // Return the modified columns array | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function si_change_strings( $translations, $text, $domain ) { | |
if ( 'sprout-invoices' === $domain ) { | |
$translations = str_replace( 'Due by', 'Due on', $translations ); | |
} | |
return $translations; | |
} | |
add_filter( 'gettext', 'si_change_strings', 10, 3 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function si_change_woo_text( $translations, $text, $domain ) { | |
if ( 'sprout-invoices' === $domain ) { | |
$translations = str_replace( 'WooCommerce Checkout', 'Please click here to proceed to payment ', $translations ); | |
} | |
return $translations; | |
} | |
add_filter( 'gettext', 'si_change_woo_text', 10, 3 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'boldgrid_theme_framework_config', function( $configs ) { | |
$configs['scripts']['options']['goup']['goupSpeed'] = 0; | |
return $configs; | |
}, 10, 1 ); |
NewerOlder