Skip to content

Commit

Permalink
Update enqueues.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Jul 27, 2023
1 parent 4b9f3f0 commit a17a913
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions functions/enqueues.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ function doliconnect_enqueues() {

/* Styles */
if ( empty(get_theme_mod( 'ptibogxivtheme_css')) || get_theme_mod( 'ptibogxivtheme_css') == 'css' ) {
$css='css';
$versionbase = '5.3.0';
$version=$versionbase;
$css = 'css';
$versionbase = '5.3.1';
$version = $versionbase;
} else {
$css='bootswatch/'.get_theme_mod( 'ptibogxivtheme_css');
$version='5.3.0';
$versionbase=$version;
$css = 'bootswatch/'.get_theme_mod( 'ptibogxivtheme_css');
$version = '5.3.0';
$versionbase = $version;
}

if (!empty(get_theme_mod( 'ptibogxivtheme_css')) && $version != $versionbase && empty(get_option('doliconnectbeta'))) {
$css='css';
$version=$versionbase;
$css = 'css';
$version = $versionbase;
}

wp_register_style( 'bootstrap.min', plugins_url( 'doliconnect/includes/bootstrap/'.$css.'/bootstrap.min.css' ), array(), $version );
Expand Down

0 comments on commit a17a913

Please sign in to comment.