Changeset 299161 for repair-shop/0.4.5/custom-style.php
- Timestamp:
- 11/19/2025 09:15:53 AM (5 days ago)
- Location:
- repair-shop/0.4.5
- Files:
-
- 1 edited
- 1 copied
-
. (copied) (copied from repair-shop/0.4.4)
-
custom-style.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
repair-shop/0.4.5/custom-style.php
r294398 r299161 1053 1053 $repair_shop_custom_css .= 'display: none;'; 1054 1054 $repair_shop_custom_css .='}'; 1055 } 1055 } 1056 1057 // Web Frame 1058 $repair_shop_web_frame = get_theme_mod('repair_shop_web_frame',false); 1059 if($repair_shop_web_frame == false && get_theme_mod( 'repair_shop_web_frame',false) != true){ 1060 $repair_shop_custom_css .='.web-frame{'; 1061 $repair_shop_custom_css .='border: 1px !important'; 1062 $repair_shop_custom_css .='}'; 1063 } 1064 1065 $repair_shop_web_frame_border_color = get_theme_mod('repair_shop_web_frame_border_color'); 1066 if($repair_shop_web_frame_border_color != false){ 1067 $repair_shop_custom_css .='.web-frame{'; 1068 $repair_shop_custom_css .='border-color: '.esc_attr($repair_shop_web_frame_border_color).'!important;'; 1069 $repair_shop_custom_css .='}'; 1070 } 1071 1072 $repair_shop_web_frame_border_width = get_theme_mod('repair_shop_web_frame_border_width'); 1073 if($repair_shop_web_frame_border_width != false){ 1074 $repair_shop_custom_css .='.web-frame{'; 1075 $repair_shop_custom_css .='border-width: '.esc_attr($repair_shop_web_frame_border_width).'!important;'; 1076 $repair_shop_custom_css .='}'; 1077 } 1078 1079 // change the Category style // 1080 $repair_shop_single_post_styling = get_theme_mod( 'repair_shop_single_post_styling','Button'); 1081 if($repair_shop_single_post_styling == 'Underline'){ 1082 $repair_shop_custom_css .='.single-post-category .post-categories li a{'; 1083 $repair_shop_custom_css .='text-decoration: underline; color: #000; background-color: transparent;'; 1084 $repair_shop_custom_css .='}'; 1085 } 1086 else if($repair_shop_single_post_styling == 'Default'){ 1087 $repair_shop_custom_css .='.single-post-category .post-categories li a{'; 1088 $repair_shop_custom_css .='text-decoration: none; color: #000; background-color: transparent;'; 1089 $repair_shop_custom_css .='}'; 1090 }
Note: See TracChangeset
for help on using the changeset viewer.