|
@@ 382-386 (lines=5) @@
|
| 379 |
|
* d. Finally, fallback to the standard Give version. This is the default styles included within the plugin. |
| 380 |
|
*/ |
| 381 |
|
if ( file_exists( $child_theme_style_sheet ) || ( ! empty( $suffix ) && ( $nonmin = file_exists( $child_theme_style_sheet_2 ) ) ) ) { |
| 382 |
|
if ( ! empty( $nonmin ) ) { |
| 383 |
|
$uri = trailingslashit( get_stylesheet_directory_uri() ) . $templates_dir . 'give' . $this->direction . '.css'; |
| 384 |
|
} else { |
| 385 |
|
$uri = trailingslashit( get_stylesheet_directory_uri() ) . $templates_dir . $file; |
| 386 |
|
} |
| 387 |
|
} elseif ( file_exists( $parent_theme_style_sheet ) || ( ! empty( $suffix ) && ( $nonmin = file_exists( $parent_theme_style_sheet_2 ) ) ) ) { |
| 388 |
|
if ( ! empty( $nonmin ) ) { |
| 389 |
|
$uri = trailingslashit( get_template_directory_uri() ) . $templates_dir . 'give' . $this->direction . '.css'; |
|
@@ 388-392 (lines=5) @@
|
| 385 |
|
$uri = trailingslashit( get_stylesheet_directory_uri() ) . $templates_dir . $file; |
| 386 |
|
} |
| 387 |
|
} elseif ( file_exists( $parent_theme_style_sheet ) || ( ! empty( $suffix ) && ( $nonmin = file_exists( $parent_theme_style_sheet_2 ) ) ) ) { |
| 388 |
|
if ( ! empty( $nonmin ) ) { |
| 389 |
|
$uri = trailingslashit( get_template_directory_uri() ) . $templates_dir . 'give' . $this->direction . '.css'; |
| 390 |
|
} else { |
| 391 |
|
$uri = trailingslashit( get_template_directory_uri() ) . $templates_dir . $file; |
| 392 |
|
} |
| 393 |
|
} elseif ( file_exists( $give_plugin_style_sheet ) ) { |
| 394 |
|
$uri = trailingslashit( GIVE_PLUGIN_URL ) . 'assets/dist/css/' . $file; |
| 395 |
|
} |