Changeset 299161
- Timestamp:
- 11/19/2025 09:15:53 AM (5 days ago)
- Location:
- repair-shop/0.4.5
- Files:
-
- 9 edited
- 1 copied
-
. (copied) (copied from repair-shop/0.4.4)
-
archive.php (modified) (1 diff)
-
custom-style.php (modified) (1 diff)
-
image.php (modified) (1 diff)
-
inc/customizer.php (modified) (2 diffs)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
sidebar.php (modified) (1 diff)
-
single.php (modified) (1 diff)
-
style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
repair-shop/0.4.5/archive.php
r256259 r299161 11 11 12 12 <div class="container"> 13 <main id="maincontent" class="middle-align pt-5 " role="main">13 <main id="maincontent" class="middle-align pt-5 web-frame" role="main"> 14 14 <header> 15 15 <?php -
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 } -
repair-shop/0.4.5/image.php
r256259 r299161 9 9 10 10 <div class="container"> 11 <main id="maincontent" class="middle-align pt-5 " role="main">11 <main id="maincontent" class="middle-align pt-5 " role="main"> 12 12 <?php 13 13 $repair_shop_theme_lay = get_theme_mod( 'repair_shop_theme_options','Right Sidebar'); -
repair-shop/0.4.5/inc/customizer.php
r294398 r299161 1765 1765 ))); 1766 1766 1767 // Web Frame // 1768 1769 $wp_customize->add_setting( 'repair_shop_blog_web_frame',array( 1770 'default' => 0, 1771 'transport' => 'refresh', 1772 'sanitize_callback' => 'repair_shop_switch_sanitization' 1773 ) ); 1774 $wp_customize->add_control( new Repair_shop_Toggle_Switch_Custom_Control( $wp_customize, 'repair_shop_web_frame',array( 1775 'label' => esc_html__( 'Show / Hide Blog Page Border','repair-shop' ), 1776 'section' => 'repair_shop_post_settings' 1777 ))); 1778 1779 $wp_customize->add_setting('repair_shop_web_frame_border_color', array( 1780 'default' => '', 1781 'sanitize_callback' => 'sanitize_hex_color', 1782 )); 1783 $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'repair_shop_web_frame_border_color', array( 1784 'label' => __('Blog Page Border Color', 'repair-shop'), 1785 'section' => 'repair_shop_post_settings', 1786 ))); 1787 1788 $wp_customize->add_setting('repair_shop_web_frame_border_width',array( 1789 'default'=> '', 1790 'sanitize_callback' => 'sanitize_text_field' 1791 )); 1792 $wp_customize->add_control('repair_shop_web_frame_border_width',array( 1793 'label' => __('Blog Page Width','repair-shop'), 1794 'description' => __('Enter a value in pixels Example:20px','repair-shop'), 1795 'input_attrs' => array( 1796 'placeholder' => __( '10px', 'repair-shop' ), 1797 ), 1798 'section'=> 'repair_shop_post_settings', 1799 'type'=> 'text' 1800 )); 1801 1767 1802 $wp_customize->add_setting('repair_shop_blog_excerpt_suffix',array( 1768 1803 'default'=> '', … … 2269 2304 'section' => 'repair_shop_single_blog_settings' 2270 2305 ))); 2306 2307 $wp_customize->add_setting('repair_shop_single_post_styling',array( 2308 'default' => 'Button', 2309 'transport' => 'refresh', 2310 'sanitize_callback' => 'repair_shop_sanitize_choices' 2311 )); 2312 $wp_customize->add_control('repair_shop_single_post_styling',array( 2313 'description' => __('Change the styling of Category .','repair-shop'), 2314 'type' => 'select', 2315 'section' => 'repair_shop_single_blog_settings', 2316 'choices' => array( 2317 'Button' => __('Button','repair-shop'), 2318 'Underline' => __('Underline','repair-shop'), 2319 'Default' => __('Default','repair-shop'), 2320 ), 2321 ) ); 2271 2322 2272 2323 $wp_customize->add_setting( 'repair_shop_singlepost_image_box_shadow', array( -
repair-shop/0.4.5/index.php
r256259 r299161 14 14 15 15 <div class="container"> 16 <main id="maincontent" class="middle-align pt-5 " role="main">16 <main id="maincontent" class="middle-align pt-5 web-frame" role="main"> 17 17 <?php 18 18 $repair_shop_theme_lay = get_theme_mod( 'repair_shop_theme_options','Right Sidebar'); -
repair-shop/0.4.5/readme.txt
r296193 r299161 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 0.4. 47 Stable tag: 0.4.5 8 8 License: GNU General Public License v3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 14 14 15 15 == Changelog == 16 17 = 0.4.5 = 18 * Added show /hide blog page border,border color and border width setting. 19 * Changed category text styling in single post. 16 20 17 21 = 0.4.4 = -
repair-shop/0.4.5/sidebar.php
r294398 r299161 7 7 ?> 8 8 9 <div class="sidebar <?php if( get_theme_mod( 'repair_shop_sticky_sidebar', false) == 1) { ?> sidebar-sticky"<?php } else { ?>close-sticky <?php } ?>">9 <div class="sidebar wow zoomInUp delay-1000 <?php if( get_theme_mod( 'repair_shop_sticky_sidebar', false) == 1) { ?> sidebar-sticky"data-wow-duration="2s"<?php } else { ?>close-sticky <?php } ?>"> 10 10 <div id="sidebar" class="wow zoomInUp delay-1000" data-wow-duration="2s"<?php if( is_page_template('blog-post-left-sidebar.php')){?> style="float:left;"<?php } ?>> 11 11 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> -
repair-shop/0.4.5/single.php
r256259 r299161 9 9 10 10 <div class="container"> 11 <main id="maincontent" class="middle-align pt-5 " role="main">11 <main id="maincontent" class="middle-align pt-5 " role="main"> 12 12 <?php 13 13 $repair_shop_theme_lay = get_theme_mod( 'repair_shop_theme_options','Right Sidebar'); -
repair-shop/0.4.5/style.css
r296193 r299161 8 8 Tested up to: 6.8 9 9 Requires PHP: 7.2 10 Version: 0.4. 410 Version: 0.4.5 11 11 License: GNU General Public License v3.0 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 455 455 z-index: 999; 456 456 } 457 } 458 @media screen and (min-width: 768px)and (max-width: 1199px){ 459 .sidebar-fixed { 460 width: 22%; 461 } 462 } 463 /* Web Frame */ 464 .web-frame{ 465 border: 2px #00A3FC solid !important; 466 padding: 20px 20px 20px 20px !important; 467 margin-top: 35px !important; 468 margin-bottom: 20px !important; 457 469 } 458 470 /*footer without classic widgets*/
Note: See TracChangeset
for help on using the changeset viewer.