Changeset 299162
- Timestamp:
- 11/19/2025 09:16:57 AM (5 days ago)
- Location:
- scary-halloween/0.3.7
- Files:
-
- 7 edited
- 1 copied
-
. (copied) (copied from scary-halloween/0.3.6)
-
archive.php (modified) (1 diff)
-
custom-style.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)
-
style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scary-halloween/0.3.7/archive.php
r251391 r299162 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 -
scary-halloween/0.3.7/custom-style.php
r294502 r299162 1028 1028 $scary_halloween_custom_css .='}'; 1029 1029 } 1030 1031 // Web Frame 1032 $scary_halloween_web_frame = get_theme_mod('scary_halloween_web_frame',false); 1033 if($scary_halloween_web_frame == false && get_theme_mod( 'scary_halloween_web_frame',false) != true){ 1034 $scary_halloween_custom_css .='.web-frame{'; 1035 $scary_halloween_custom_css .='border: 1px !important'; 1036 $scary_halloween_custom_css .='}'; 1037 } 1038 1039 $scary_halloween_web_frame_border_color = get_theme_mod('scary_halloween_web_frame_border_color'); 1040 if($scary_halloween_web_frame_border_color != false){ 1041 $scary_halloween_custom_css .='.web-frame{'; 1042 $scary_halloween_custom_css .='border-color: '.esc_attr($scary_halloween_web_frame_border_color).'!important;'; 1043 $scary_halloween_custom_css .='}'; 1044 } 1045 1046 $scary_halloween_web_frame_border_width = get_theme_mod('scary_halloween_web_frame_border_width'); 1047 if($scary_halloween_web_frame_border_width != false){ 1048 $scary_halloween_custom_css .='.web-frame{'; 1049 $scary_halloween_custom_css .='border-width: '.esc_attr($scary_halloween_web_frame_border_width).'!important;'; 1050 $scary_halloween_custom_css .='}'; 1051 } 1052 1053 // change the Category style // 1054 $scary_halloween_single_post_styling = get_theme_mod( 'scary_halloween_single_post_styling','Button'); 1055 if($scary_halloween_single_post_styling == 'Underline'){ 1056 $scary_halloween_custom_css .='.single-post-category .post-categories li a{'; 1057 $scary_halloween_custom_css .='text-decoration: underline; color: #fff; background-color: transparent;'; 1058 $scary_halloween_custom_css .='}'; 1059 } 1060 else if($scary_halloween_single_post_styling == 'Default'){ 1061 $scary_halloween_custom_css .='.single-post-category .post-categories li a{'; 1062 $scary_halloween_custom_css .='text-decoration: none; color: #fff; background-color: transparent;'; 1063 $scary_halloween_custom_css .='}'; 1064 } -
scary-halloween/0.3.7/inc/customizer.php
r294502 r299162 1613 1613 ))); 1614 1614 1615 // Web Frame // 1616 1617 $wp_customize->add_setting( 'scary_halloween_blog_web_frame',array( 1618 'default' => 0, 1619 'transport' => 'refresh', 1620 'sanitize_callback' => 'scary_halloween_switch_sanitization' 1621 ) ); 1622 $wp_customize->add_control( new Scary_halloween_Toggle_Switch_Custom_Control( $wp_customize, 'scary_halloween_web_frame',array( 1623 'label' => esc_html__( 'Show / Hide Blog Page Border','scary-halloween' ), 1624 'section' => 'scary_halloween_post_settings' 1625 ))); 1626 1627 $wp_customize->add_setting('scary_halloween_web_frame_border_color', array( 1628 'default' => '', 1629 'sanitize_callback' => 'sanitize_hex_color', 1630 )); 1631 $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'scary_halloween_web_frame_border_color', array( 1632 'label' => __('Blog Page Border Color', 'scary-halloween'), 1633 'section' => 'scary_halloween_post_settings', 1634 ))); 1635 1636 $wp_customize->add_setting('scary_halloween_web_frame_border_width',array( 1637 'default'=> '', 1638 'sanitize_callback' => 'sanitize_text_field' 1639 )); 1640 $wp_customize->add_control('scary_halloween_web_frame_border_width',array( 1641 'label' => __('Blog Page Width','scary-halloween'), 1642 'description' => __('Enter a value in pixels Example:20px','scary-halloween'), 1643 'input_attrs' => array( 1644 'placeholder' => __( '10px', 'scary-halloween' ), 1645 ), 1646 'section'=> 'scary_halloween_post_settings', 1647 'type'=> 'text' 1648 )); 1649 1615 1650 $wp_customize->add_setting('scary_halloween_blog_excerpt_suffix',array( 1616 1651 'default'=> '', … … 2132 2167 'section' => 'scary_halloween_single_blog_settings' 2133 2168 ))); 2169 2170 $wp_customize->add_setting('scary_halloween_single_post_styling',array( 2171 'default' => 'Button', 2172 'transport' => 'refresh', 2173 'sanitize_callback' => 'scary_halloween_sanitize_choices' 2174 )); 2175 $wp_customize->add_control('scary_halloween_single_post_styling',array( 2176 'description' => __('Change the styling of Category .','scary-halloween'), 2177 'type' => 'select', 2178 'section' => 'scary_halloween_single_blog_settings', 2179 'choices' => array( 2180 'Button' => __('Button','scary-halloween'), 2181 'Underline' => __('Underline','scary-halloween'), 2182 'Default' => __('Default','scary-halloween'), 2183 ), 2184 ) ); 2134 2185 2135 2186 $wp_customize->add_setting('scary_halloween_single_post_meta_field_separator',array( -
scary-halloween/0.3.7/index.php
r251391 r299162 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 $scary_halloween_theme_lay = get_theme_mod( 'scary_halloween_theme_options','Right Sidebar'); -
scary-halloween/0.3.7/readme.txt
r296194 r299162 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 0.3. 67 Stable tag: 0.3.7 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.3.7 = 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.3.6 = -
scary-halloween/0.3.7/sidebar.php
r294502 r299162 6 6 */ 7 7 ?> 8 <div class="sidebar <?php if( get_theme_mod( 'scary_halloween_sticky_sidebar', false) == 1) { ?> sidebar-sticky"<?php } else { ?>close-sticky <?php } ?>">8 <div class="sidebar wow zoomInUp delay-1000<?php if( get_theme_mod( 'scary_halloween_sticky_sidebar', false) == 1) { ?> sidebar-sticky"data-wow-duration="2s"<?php } else { ?>close-sticky <?php } ?>"> 9 9 <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 } ?>> 10 10 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> -
scary-halloween/0.3.7/style.css
r296194 r299162 8 8 Tested up to: 6.8 9 9 Requires PHP: 7.2 10 Version: 0.3. 610 Version: 0.3.7 11 11 License: GNU General Public License v3.0 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 252 252 z-index: 999; 253 253 } 254 } 255 @media screen and (min-width: 768px)and (max-width: 1199px){ 256 .sidebar-fixed { 257 width: 22%; 258 } 259 } 260 /* Web Frame */ 261 .web-frame{ 262 border: 2px #E3652D solid !important; 263 padding: 20px 20px 20px 20px !important; 264 margin-top: 35px !important; 265 margin-bottom: 20px !important; 254 266 } 255 267 /*---------Sticky Copyright---------*/
Note: See TracChangeset
for help on using the changeset viewer.