Changeset 309733
- Timestamp:
- 01/21/2026 04:21:38 AM (9 months ago)
- Location:
- futuristic-architecture/0.1.7
- Files:
-
- 12 edited
- 1 copied
-
. (copied) (copied from futuristic-architecture/0.1.6 )
-
assets/css/customizer-layout.css (modified) (2 diffs)
-
assets/js/customize-layout.js (modified) (5 diffs)
-
assets/js/theme-script.js (modified) (1 diff)
-
comments.php (modified) (2 diffs)
-
custom-option.php (modified) (3 diffs)
-
functions.php (modified) (1 diff)
-
inc/customizer.php (modified) (18 diffs)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (4 diffs)
-
template-parts/content-single.php (modified) (3 diffs)
-
template-parts/patterns.php (modified) (6 diffs)
-
template-parts/topheader/mainheader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
futuristic-architecture/0.1.7/assets/css/customizer-layout.css
r298974 r309733 181 181 li#customize-control-pro_version_top_projects, 182 182 li#customize-control-pro_version_post_settings , 183 li#customize-control-pro_version_site_footer_section{ 183 li#customize-control-pro_version_site_footer_section, 184 li#customize-control-pro_version_post_layouts_settings, 185 li#customize-control-pro_version_404_page_settings, 186 li#customize-control-pro_version_menu_settings{ 184 187 background: #0085ba; 185 188 display: inline; … … 194 197 li#customize-control-pro_version_top_projects span, 195 198 li#customize-control-pro_version_post_settings span, 196 li#customize-control-pro_version_site_footer_section span{ 199 li#customize-control-pro_version_site_footer_section span, 200 li#customize-control-pro_version_post_layouts_settings span, 201 li#customize-control-pro_version_404_page_settings span, 202 li#customize-control-pro_version_menu_settings span{ 197 203 color: #fff; 198 204 } -
futuristic-architecture/0.1.7/assets/js/customize-layout.js
r262719 r309733 41 41 // Header Image 42 42 43 if ( id === 'header_image' ) {43 if ( id === 'header_image' || id === 'futuristic_architecture_post_layout' || id === 'futuristic_architecture_404_page_main_heading' ) { 44 44 $( '#customize-control-'+ id ).before('<li class="tab-title customize-control">'+ title +'</li>'); 45 45 } else { … … 90 90 // Single Post Settings 91 91 92 if ( id === 'futuristic_architecture_single_post_ page_content' ) {92 if ( id === 'futuristic_architecture_single_post_thumb' ) { 93 93 $( '#customize-control-'+ id ).before('<li class="tab-title customize-control">'+ title +'</li>'); 94 94 } else { … … 109 109 // General Setting 110 110 futuristic_architecture_customizer_label( 'futuristic_architecture_preloader_hide', 'Preloader' ); 111 futuristic_architecture_customizer_label( 'futuristic_architecture_sticky_header', 'Sticky Header' ); 111 112 futuristic_architecture_customizer_label( 'futuristic_architecture_scroll_hide', 'Scroll To Top' ); 112 113 futuristic_architecture_customizer_label( 'futuristic_architecture_scroll_top_position', 'Scroll to top Position' ); … … 122 123 //Header Image 123 124 futuristic_architecture_customizer_label( 'header_image', 'Header Image' ); 125 126 futuristic_architecture_customizer_label( 'futuristic_architecture_post_layout', 'Post Layouts Settings' ); 127 128 futuristic_architecture_customizer_label( 'futuristic_architecture_404_page_main_heading', '404 Page Settings' ); 124 129 125 130 // Social Icon … … 152 157 153 158 //Single post setting 154 futuristic_architecture_customizer_label( 'futuristic_architecture_single_post_ page_content', 'Single Post Settings' );159 futuristic_architecture_customizer_label( 'futuristic_architecture_single_post_thumb', 'Single Post Settings' ); 155 160 156 161 -
futuristic-architecture/0.1.7/assets/js/theme-script.js
r262719 r309733 115 115 jQuery('.search-form-main .search-field').focus(); 116 116 }); 117 118 jQuery(window).scroll(function() { 119 var data_sticky = jQuery('.main-header').attr('data-sticky'); 120 121 if (data_sticky == "true") { 122 if (jQuery(this).scrollTop() > 1){ 123 jQuery('.main-header').addClass("stick_header"); 124 } else { 125 jQuery('.main-header').removeClass("stick_header"); 126 } 127 } 128 }); -
futuristic-architecture/0.1.7/comments.php
r262719 r309733 30 30 if ( '1' === $futuristic_architecture_comments_number ) { 31 31 /* translators: %s: post title */ 32 printf( esc_html__( 'One thought on “%s”', 'futuristic-architecture' ), esc_html( get_the_title() ) );32 printf( esc_html__( 'One thought on “%s”', 'futuristic-architecture' ), esc_html(get_the_title() ) ); 33 33 } else { 34 34 printf( … … 86 86 'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">', 87 87 'title_reply_after' => '</h2>', 88 'title_reply' => esc_html(get_theme_mod('futuristic_architecture_single_post_comment_title',__('Leave a Reply','futuristic-architecture' )) ), 89 'label_submit' => esc_html(get_theme_mod('futuristic_architecture_single_post_comment_btn_text',__('Post Comment','futuristic-architecture' )) ), 88 90 ) ); 89 91 ?> -
futuristic-architecture/0.1.7/custom-option.php
r300580 r309733 20 20 } 21 21 22 /*------------------ Nav Menus -------------------*/ 23 24 $futuristic_architecture_nav_menu = get_theme_mod( 'futuristic_architecture_nav_menu_text_transform','Capitalize'); 25 if($futuristic_architecture_nav_menu == 'Capitalize'){ 26 $futuristic_architecture_theme_css .='.site-navigation .primary-menu > li a{'; 27 $futuristic_architecture_theme_css .='text-transform:Capitalize;'; 28 $futuristic_architecture_theme_css .='}'; 29 } 30 if($futuristic_architecture_nav_menu == 'Lowercase'){ 31 $futuristic_architecture_theme_css .='.site-navigation .primary-menu > li a{'; 32 $futuristic_architecture_theme_css .='text-transform:Lowercase;'; 33 $futuristic_architecture_theme_css .='}'; 34 } 35 if($futuristic_architecture_nav_menu == 'Uppercase'){ 36 $futuristic_architecture_theme_css .='.site-navigation .primary-menu > li a{'; 37 $futuristic_architecture_theme_css .='text-transform:Uppercase;'; 38 $futuristic_architecture_theme_css .='}'; 39 } 40 41 $futuristic_architecture_menu_font_size = get_theme_mod( 'futuristic_architecture_menu_font_size'); 42 if($futuristic_architecture_menu_font_size != ''){ 43 $futuristic_architecture_theme_css .='.site-navigation .primary-menu > li a{'; 44 $futuristic_architecture_theme_css .='font-size: '.esc_attr($futuristic_architecture_menu_font_size).'px;'; 45 $futuristic_architecture_theme_css .='}'; 46 } 47 48 $futuristic_architecture_nav_menu_font_weight = get_theme_mod( 'futuristic_architecture_nav_menu_font_weight',400); 49 if($futuristic_architecture_menu_font_size != ''){ 50 $futuristic_architecture_theme_css .='.site-navigation .primary-menu > li a{'; 51 $futuristic_architecture_theme_css .='font-weight: '.esc_attr($futuristic_architecture_nav_menu_font_weight).';'; 52 $futuristic_architecture_theme_css .='}'; 53 } 54 22 55 /*--------------------------- Footer Widget Heading Alignment -------------------*/ 23 56 … … 94 127 $futuristic_architecture_theme_css .='body{'; 95 128 $futuristic_architecture_theme_css .='max-width: 100%;'; 96 $futuristic_architecture_theme_css .='}';97 }98 99 /*------------------ Nav Menus -------------------*/100 101 $futuristic_architecture_nav_menu = get_theme_mod( 'futuristic_architecture_nav_menu_text_transform','Capitalize');102 if($futuristic_architecture_nav_menu == 'Capitalize'){103 $futuristic_architecture_theme_css .='.main-navigation .menu > li > a{';104 $futuristic_architecture_theme_css .='text-transform:Capitalize;';105 $futuristic_architecture_theme_css .='}';106 }107 if($futuristic_architecture_nav_menu == 'Lowercase'){108 $futuristic_architecture_theme_css .='.main-navigation .menu > li > a{';109 $futuristic_architecture_theme_css .='text-transform:Lowercase;';110 $futuristic_architecture_theme_css .='}';111 }112 if($futuristic_architecture_nav_menu == 'Uppercase'){113 $futuristic_architecture_theme_css .='.main-navigation .menu > li > a{';114 $futuristic_architecture_theme_css .='text-transform:Uppercase;';115 129 $futuristic_architecture_theme_css .='}'; 116 130 } … … 195 209 $futuristic_architecture_theme_css .='}'; 196 210 } 211 212 /*--------------------------- Featured Image Border Radius -------------------*/ 213 214 $futuristic_architecture_post_page_image_border_radius = get_theme_mod('futuristic_architecture_post_page_image_border_radius', 0); 215 if($futuristic_architecture_post_page_image_border_radius != false){ 216 $futuristic_architecture_theme_css .='.article-box img{'; 217 $futuristic_architecture_theme_css .='border-radius: '.esc_attr($futuristic_architecture_post_page_image_border_radius).'px;'; 218 $futuristic_architecture_theme_css .='}'; 219 } 220 221 /*--------------------------- Post Page Image Box Shadow -------------------*/ 222 223 $futuristic_architecture_post_page_image_box_shadow = get_theme_mod('futuristic_architecture_post_page_image_box_shadow',0); 224 if($futuristic_architecture_post_page_image_box_shadow != false){ 225 $futuristic_architecture_theme_css .='.article-box img{'; 226 $futuristic_architecture_theme_css .='box-shadow: '.esc_attr($futuristic_architecture_post_page_image_box_shadow).'px '.esc_attr($futuristic_architecture_post_page_image_box_shadow).'px '.esc_attr($futuristic_architecture_post_page_image_box_shadow).'px #cccccc;'; 227 $futuristic_architecture_theme_css .='}'; 228 } 229 230 /*---------------- Single post Settings ------------------*/ 231 232 $futuristic_architecture_single_post_navigation_show_hide = get_theme_mod('futuristic_architecture_single_post_navigation_show_hide',true); 233 if($futuristic_architecture_single_post_navigation_show_hide != true){ 234 $futuristic_architecture_theme_css .='.nav-links{'; 235 $futuristic_architecture_theme_css .='display: none;'; 236 $futuristic_architecture_theme_css .='}'; 237 } 238 239 /*--------------------------- Single Post Page Image Box Shadow -------------------*/ 240 241 $futuristic_architecture_single_post_page_image_box_shadow = get_theme_mod('futuristic_architecture_single_post_page_image_box_shadow',0); 242 if($futuristic_architecture_single_post_page_image_box_shadow != false){ 243 $futuristic_architecture_theme_css .='.single-post .entry-header img{'; 244 $futuristic_architecture_theme_css .='box-shadow: '.esc_attr($futuristic_architecture_single_post_page_image_box_shadow).'px '.esc_attr($futuristic_architecture_single_post_page_image_box_shadow).'px '.esc_attr($futuristic_architecture_single_post_page_image_box_shadow).'px #cccccc;'; 245 $futuristic_architecture_theme_css .='}'; 246 } 247 248 /*--------------------------- Single Post Page Image Border Radius -------------------*/ 249 250 $futuristic_architecture_single_post_page_image_border_radius = get_theme_mod('futuristic_architecture_single_post_page_image_border_radius', 0); 251 if($futuristic_architecture_single_post_page_image_border_radius != false){ 252 $futuristic_architecture_theme_css .='.single-post .entry-header img{'; 253 $futuristic_architecture_theme_css .='border-radius: '.esc_attr($futuristic_architecture_single_post_page_image_border_radius).'px;'; 254 $futuristic_architecture_theme_css .='}'; 255 } -
futuristic-architecture/0.1.7/functions.php
r300580 r309733 425 425 } 426 426 427 /** 428 * Enqueue S Header. 429 */ 430 function futuristic_architecture_sticky_header() { 431 432 $futuristic_architecture_sticky_header = get_theme_mod('futuristic_architecture_sticky_header'); 433 434 $futuristic_architecture_custom_style= ""; 435 436 if($futuristic_architecture_sticky_header != true){ 437 438 $futuristic_architecture_custom_style .='.stick_header{'; 439 440 $futuristic_architecture_custom_style .='position: static;'; 441 442 $futuristic_architecture_custom_style .='}'; 443 } 444 445 wp_add_inline_style( 'futuristic-architecture-style',$futuristic_architecture_custom_style ); 446 447 } 448 add_action( 'wp_enqueue_scripts', 'futuristic_architecture_sticky_header' ); 449 450 /** * Posts pagination. */ 451 if ( ! function_exists( 'futuristic_architecture_blog_posts_pagination' ) ) { 452 function futuristic_architecture_blog_posts_pagination() { 453 $pagination_type = get_theme_mod( 'futuristic_architecture_blog_pagination_type', 'blog-nav-numbers' ); 454 if ( $pagination_type == 'blog-nav-numbers' ) { 455 the_posts_pagination(); 456 } else { 457 the_posts_navigation(); 458 } 459 } 460 } 461 427 462 /*radio button sanitization*/ 428 463 function futuristic_architecture_sanitize_choices( $input, $setting ) { -
futuristic-architecture/0.1.7/inc/customizer.php
r300580 r309733 8 8 */ 9 9 10 if ( ! defined( ' futuristic_architecture_URL' ) ) {11 define( ' futuristic_architecture_URL', esc_url( 'https://www.themagnifico.net/products/architect-design-wordpress-theme', 'futuristic-architecture') );10 if ( ! defined( 'FUTURISTIC_ARCHITECTURE_URL' ) ) { 11 define( 'FUTURISTIC_ARCHITECTURE_URL', esc_url( 'https://www.themagnifico.net/products/architect-design-wordpress-theme', 'futuristic-architecture') ); 12 12 } 13 if ( ! defined( ' futuristic_architecture_TEXT' ) ) {14 define( ' futuristic_architecture_TEXT', __( 'Futuristic Architecture Pro','futuristic-architecture' ));13 if ( ! defined( 'FUTURISTIC_ARCHITECTURE_TEXT' ) ) { 14 define( 'FUTURISTIC_ARCHITECTURE_TEXT', __( 'Futuristic Architecture Pro','futuristic-architecture' )); 15 15 } 16 if ( ! defined( ' futuristic_architecture_BUY_TEXT' ) ) {17 define( ' futuristic_architecture_BUY_TEXT', __( 'Buy Futuristic Architecture Pro','futuristic-architecture' ));16 if ( ! defined( 'FUTURISTIC_ARCHITECTURE_BUY_TEXT' ) ) { 17 define( 'FUTURISTIC_ARCHITECTURE_BUY_TEXT', __( 'Buy Futuristic Architecture Pro','futuristic-architecture' )); 18 18 } 19 19 … … 26 26 $manager->add_section( 27 27 new Futuristic_Architecture_Button( $manager, 'futuristic_architecture_pro', [ 28 'title' => esc_html( futuristic_architecture_TEXT,'futuristic-architecture' ),28 'title' => esc_html( FUTURISTIC_ARCHITECTURE_TEXT,'futuristic-architecture' ), 29 29 'priority' => 0, 30 30 'button_text' => __( 'GET PREMIUM', 'futuristic-architecture' ), 31 'button_url' => esc_url( futuristic_architecture_URL )31 'button_url' => esc_url( FUTURISTIC_ARCHITECTURE_URL ) 32 32 ] ) 33 33 ); … … 72 72 echo '<a href="'. esc_url($this->description) .'" target="_blank">'; 73 73 echo '<span class="dashicons dashicons-info"></span>'; 74 echo '<strong> '. esc_html( futuristic_architecture_BUY_TEXT,'futuristic-architecture' ) .'<strong></a>';74 echo '<strong> '. esc_html( FUTURISTIC_ARCHITECTURE_BUY_TEXT,'futuristic-architecture' ) .'<strong></a>'; 75 75 echo '</a>'; 76 76 } … … 147 147 'type' => 'pro_options', 148 148 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 149 'description' => esc_url( futuristic_architecture_URL ),149 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 150 150 'priority' => 100 151 151 ) … … 342 342 'type' => 'pro_options', 343 343 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 344 'description' => esc_url( futuristic_architecture_URL ),344 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 345 345 'priority' => 100 346 346 ) … … 372 372 )); 373 373 374 // Pro Version 375 $wp_customize->add_setting( 'pro_version_post_layouts_settings', array( 376 'sanitize_callback' => 'futuristic_architecture_sanitize_custom_control' 377 ) ); 378 $wp_customize->add_control( new Futuristic_Architecture_Customize_Pro_Version ( $wp_customize, 379 'pro_version_post_layouts_settings', array( 380 'section' => 'futuristic_architecture_post_layouts_settings', 381 'type' => 'pro_options', 382 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 383 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 384 'priority' => 100 385 ) 386 ) 387 ); 388 374 389 // General Settings 375 390 $wp_customize->add_section('futuristic_architecture_general_settings',array( … … 446 461 'section' => 'futuristic_architecture_general_settings', 447 462 'settings' => 'futuristic_architecture_preloader_dot_2_color' 463 ))); 464 465 $wp_customize->add_setting('futuristic_architecture_sticky_header', array( 466 'default' => false, 467 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox' 468 )); 469 $wp_customize->add_control( new WP_Customize_Control($wp_customize,'futuristic_architecture_sticky_header',array( 470 'label' => __( 'Show Sticky Header', 'futuristic-architecture' ), 471 'section' => 'futuristic_architecture_general_settings', 472 'settings' => 'futuristic_architecture_sticky_header', 473 'type' => 'checkbox', 448 474 ))); 449 475 … … 651 677 'type' => 'pro_options', 652 678 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 653 'description' => esc_url( futuristic_architecture_URL ),679 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 654 680 'priority' => 100 655 681 ) … … 716 742 'type' => 'text' 717 743 )); 744 745 // Pro Version 746 $wp_customize->add_setting( 'pro_version_404_page_settings', array( 747 'sanitize_callback' => 'futuristic_architecture_sanitize_custom_control' 748 ) ); 749 $wp_customize->add_control( new Futuristic_Architecture_Customize_Pro_Version ( $wp_customize, 750 'pro_version_404_page_settings', array( 751 'section' => 'futuristic_architecture_404_page_settings', 752 'type' => 'pro_options', 753 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 754 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 755 'priority' => 100 756 ) 757 ) 758 ); 759 760 //Menu Settings 761 $wp_customize->add_section('futuristic_architecture_menu_settings',array( 762 'title' => esc_html__('Menus Settings','futuristic-architecture'), 763 )); 764 765 $wp_customize->add_setting('futuristic_architecture_menu_font_size',array( 766 'default' => '', 767 'sanitize_callback' => 'sanitize_text_field' 768 )); 769 $wp_customize->add_control('futuristic_architecture_menu_font_size',array( 770 'label' => esc_html__('Menu Font Size','futuristic-architecture'), 771 'section' => 'futuristic_architecture_menu_settings', 772 'type' => 'number' 773 )); 774 775 $wp_customize->add_setting('futuristic_architecture_nav_menu_text_transform',array( 776 'default'=> 'Capitalize', 777 'sanitize_callback' => 'futuristic_architecture_sanitize_choices' 778 )); 779 $wp_customize->add_control('futuristic_architecture_nav_menu_text_transform',array( 780 'type' => 'radio', 781 'label' => esc_html__('Menu Text Transform','futuristic-architecture'), 782 'choices' => array( 783 'Uppercase' => __('Uppercase','futuristic-architecture'), 784 'Capitalize' => __('Capitalize','futuristic-architecture'), 785 'Lowercase' => __('Lowercase','futuristic-architecture'), 786 ), 787 'section'=> 'futuristic_architecture_menu_settings', 788 )); 789 790 $wp_customize->add_setting('futuristic_architecture_nav_menu_font_weight',array( 791 'default'=> '400', 792 'sanitize_callback' => 'sanitize_text_field' 793 )); 794 $wp_customize->add_control('futuristic_architecture_nav_menu_font_weight',array( 795 'type' => 'number', 796 'label' => esc_html__('Menu Font Weight','futuristic-architecture'), 797 'input_attrs' => array( 798 'step' => 100, 799 'min' => 100, 800 'max' => 1000, 801 ), 802 'section'=> 'futuristic_architecture_menu_settings', 803 )); 804 805 // Pro Version 806 $wp_customize->add_setting( 'pro_version_menu_settings', array( 807 'sanitize_callback' => 'futuristic_architecture_sanitize_custom_control' 808 ) ); 809 $wp_customize->add_control( new Futuristic_Architecture_Customize_Pro_Version ( $wp_customize, 810 'pro_version_menu_settings', array( 811 'section' => 'futuristic_architecture_menu_settings', 812 'type' => 'pro_options', 813 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 814 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 815 'priority' => 100 816 ) 817 ) 818 ); 718 819 719 820 //Top Header … … 786 887 'type' => 'pro_options', 787 888 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 788 'description' => esc_url( futuristic_architecture_URL ),889 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 789 890 'priority' => 100 790 891 ) … … 895 996 'type' => 'pro_options', 896 997 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 897 'description' => esc_url( futuristic_architecture_URL ),998 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 898 999 'priority' => 100 899 1000 ) … … 971 1072 'type' => 'pro_options', 972 1073 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 973 'description' => esc_url( futuristic_architecture_URL ),1074 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 974 1075 'priority' => 100 975 1076 ) … … 983 1084 )); 984 1085 985 $wp_customize->add_setting('futuristic_architecture_post_page_title',array(1086 $wp_customize->add_setting('futuristic_architecture_post_page_title',array( 986 1087 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox', 987 1088 'default' => 1, … … 1015 1116 'description' => esc_html__('Check this box to enable thumbnail on post page.', 'futuristic-architecture'), 1016 1117 )); 1118 1119 $wp_customize->add_setting( 'futuristic_architecture_post_page_image_border_radius', array( 1120 'default' => '0', 1121 'transport' => 'refresh', 1122 'sanitize_callback' => 'futuristic_architecture_sanitize_number_range' 1123 ) ); 1124 $wp_customize->add_control( 'futuristic_architecture_post_page_image_border_radius', array( 1125 'label' => esc_html__( 'Post Page Image Border Radius','futuristic-architecture' ), 1126 'section' => 'futuristic_architecture_post_settings', 1127 'type' => 'range', 1128 'input_attrs' => array( 1129 'step' => 1, 1130 'min' => 1, 1131 'max' => 50, 1132 ), 1133 ) ); 1134 1135 $wp_customize->add_setting( 'futuristic_architecture_post_page_image_box_shadow', array( 1136 'default' => '0', 1137 'transport' => 'refresh', 1138 'sanitize_callback' => 'futuristic_architecture_sanitize_number_range' 1139 ) ); 1140 $wp_customize->add_control( 'futuristic_architecture_post_page_image_box_shadow', array( 1141 'label' => esc_html__( 'Post Page Image Box Shadow','futuristic-architecture' ), 1142 'section' => 'futuristic_architecture_post_settings', 1143 'type' => 'range', 1144 'input_attrs' => array( 1145 'step' => 1, 1146 'min' => 1, 1147 'max' => 50, 1148 ), 1149 ) ); 1017 1150 1018 1151 $wp_customize->add_setting('futuristic_architecture_post_page_content',array( … … 1064 1197 )); 1065 1198 1199 $wp_customize->add_setting( 'futuristic_architecture_blog_pagination_type', array( 1200 'default' => 'blog-nav-numbers', 1201 'sanitize_callback' => 'futuristic_architecture_sanitize_choices' 1202 )); 1203 $wp_customize->add_control( 'futuristic_architecture_blog_pagination_type', array( 1204 'section' => 'futuristic_architecture_post_settings', 1205 'type' => 'select', 1206 'label' => __( 'Post Pagination Type', 'futuristic-architecture' ), 1207 'choices' => array( 1208 'blog-nav-numbers' => __( 'Numeric', 'futuristic-architecture' ), 1209 'next-prev' => __( 'Older/Newer Posts', 'futuristic-architecture' ), 1210 ) 1211 )); 1212 1213 $wp_customize->add_setting('futuristic_architecture_single_post_thumb',array( 1214 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox', 1215 'default' => 1, 1216 )); 1217 $wp_customize->add_control('futuristic_architecture_single_post_thumb',array( 1218 'type' => 'checkbox', 1219 'label' => esc_html__('Enable Single Post Thumbnail', 'futuristic-architecture'), 1220 'section' => 'futuristic_architecture_post_settings', 1221 'description' => esc_html__('Check this box to enable post thumbnail on single post.', 'futuristic-architecture'), 1222 )); 1223 1224 // Single Post Page Settings 1225 $wp_customize->add_setting( 'futuristic_architecture_single_post_page_image_border_radius', array( 1226 'default' => '0', 1227 'transport' => 'refresh', 1228 'sanitize_callback' => 'futuristic_architecture_sanitize_number_range' 1229 ) ); 1230 $wp_customize->add_control( 'futuristic_architecture_single_post_page_image_border_radius', array( 1231 'label' => esc_html__( 'Single Post Page Image Border Radius','futuristic-architecture' ), 1232 'section' => 'futuristic_architecture_post_settings', 1233 'type' => 'range', 1234 'input_attrs' => array( 1235 'step' => 1, 1236 'min' => 1, 1237 'max' => 50, 1238 ), 1239 ) ); 1240 1241 $wp_customize->add_setting( 'futuristic_architecture_single_post_page_image_box_shadow', array( 1242 'default' => '0', 1243 'transport' => 'refresh', 1244 'sanitize_callback' => 'futuristic_architecture_sanitize_number_range' 1245 ) ); 1246 $wp_customize->add_control( 'futuristic_architecture_single_post_page_image_box_shadow', array( 1247 'label' => esc_html__( 'Single Post Page Image Box Shadow','futuristic-architecture' ), 1248 'section' => 'futuristic_architecture_post_settings', 1249 'type' => 'range', 1250 'input_attrs' => array( 1251 'step' => 1, 1252 'min' => 1, 1253 'max' => 50, 1254 ), 1255 ) ); 1256 1257 $wp_customize->add_setting('futuristic_architecture_single_post_meta',array( 1258 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox', 1259 'default' => 1, 1260 )); 1261 $wp_customize->add_control('futuristic_architecture_single_post_meta',array( 1262 'type' => 'checkbox', 1263 'label' => esc_html__('Enable Single Post Meta', 'futuristic-architecture'), 1264 'section' => 'futuristic_architecture_post_settings', 1265 'description' => esc_html__('Check this box to enable single post meta such as post date, author, category, comment etc.', 'futuristic-architecture'), 1266 )); 1267 1268 $wp_customize->add_setting('futuristic_architecture_single_post_title',array( 1269 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox', 1270 'default' => 1, 1271 )); 1272 $wp_customize->add_control('futuristic_architecture_single_post_title',array( 1273 'type' => 'checkbox', 1274 'label' => esc_html__('Enable Single Post Title', 'futuristic-architecture'), 1275 'section' => 'futuristic_architecture_post_settings', 1276 'description' => esc_html__('Check this box to enable title on single post.', 'futuristic-architecture'), 1277 )); 1278 1066 1279 $wp_customize->add_setting('futuristic_architecture_single_post_page_content',array( 1067 1280 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox', … … 1075 1288 )); 1076 1289 1290 $wp_customize->add_setting('futuristic_architecture_single_post_navigation_show_hide',array( 1291 'default' => true, 1292 'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox' 1293 )); 1294 $wp_customize->add_control('futuristic_architecture_single_post_navigation_show_hide',array( 1295 'type' => 'checkbox', 1296 'label' => __('Show / Hide Post Navigation','futuristic-architecture'), 1297 'section' => 'futuristic_architecture_post_settings', 1298 )); 1299 1300 $wp_customize->add_setting('futuristic_architecture_single_post_comment_title',array( 1301 'default'=> 'Leave a Reply', 1302 'sanitize_callback' => 'sanitize_text_field' 1303 )); 1304 1305 $wp_customize->add_control('futuristic_architecture_single_post_comment_title',array( 1306 'label' => __('Add Comment Title','futuristic-architecture'), 1307 'input_attrs' => array( 1308 'placeholder' => __( 'Leave a Reply', 'futuristic-architecture' ), 1309 ), 1310 'section'=> 'futuristic_architecture_post_settings', 1311 'type'=> 'text' 1312 )); 1313 1314 $wp_customize->add_setting('futuristic_architecture_single_post_comment_btn_text',array( 1315 'default'=> 'Post Comment', 1316 'sanitize_callback' => 'sanitize_text_field' 1317 )); 1318 1319 $wp_customize->add_control('futuristic_architecture_single_post_comment_btn_text',array( 1320 'label' => __('Add Comment Button Text','futuristic-architecture'), 1321 'input_attrs' => array( 1322 'placeholder' => __( 'Post Comment', 'futuristic-architecture' ), 1323 ), 1324 'section'=> 'futuristic_architecture_post_settings', 1325 'type'=> 'text' 1326 )); 1327 1077 1328 // Pro Version 1078 1329 $wp_customize->add_setting( 'pro_version_post_settings', array( … … 1084 1335 'type' => 'pro_options', 1085 1336 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 1086 'description' => esc_url( futuristic_architecture_URL ),1337 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 1087 1338 'priority' => 100 1088 1339 ) … … 1155 1406 'type' => 'pro_options', 1156 1407 'label' => esc_html__( 'Customizer Options', 'futuristic-architecture' ), 1157 'description' => esc_url( futuristic_architecture_URL ),1408 'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ), 1158 1409 'priority' => 100 1159 1410 ) -
futuristic-architecture/0.1.7/readme.txt
r306545 r309733 2 2 Contributors: TheMagnifico52 3 3 Requires at least: 5.0 4 Tested up to: 6. 74 Tested up to: 6.9 5 5 Requires PHP: 7.2 6 Stable tag: 0.1. 66 Stable tag: 0.1.7 7 7 License: GNU General Public License v3.0 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 96 96 == Changelog == 97 97 98 = 0.1.7 99 100 * Added pro button in global setting. 101 * Added section heading in global setting. 102 * Added Pro button in all section. 103 * Added secion heading in all section. 104 * Added 404 settings. 105 * Updated 404 page. 106 * Added menu settings. 107 * Added sticky header. 108 * Added post settings. 109 * Added single post settings. 110 98 111 = 0.1.6 99 112 -
futuristic-architecture/0.1.7/style.css
r306545 r309733 6 6 Author URI: https://www.themagnifico.net/ 7 7 Description: The Futuristic Architecture Theme is a high-performance, visually striking solution crafted for architectural firms, modern designers, and real estate developers aiming to present cutting-edge projects with impact. Designed with a sleek, minimalist interface, it allows professionals in modern, contemporary, sustainable, residential, commercial, and urban architecture to build immersive digital experiences. Whether your niche is industrial design, skyscraper development, smart home design, or green building innovations, this theme showcases 3D architectural visuals, CAD-based plans, BIM-integrated models, and parametric structures using interactive galleries and high-resolution displays. Its responsive design, intuitive drag-and-drop interface, and seamless navigation ensure a polished user experience across devices. Optimized for SEO and lightning-fast performance, the theme helps increase visibility for interior designers, modular housing architecture, prefab futuristic architecture, robotic construction architecture, AI architecture design, smart home architecture, sustainable urban design, net zero building design, energy efficient architecture, passive design architecture, infrastructure planners, construction consultants, and engineering firms. It integrates with advanced visualization tools like 3D rendering, virtual reality, and augmented reality for showcasing facade concepts, architectural photography, passive houses, and net-zero buildings. Featuring customizable layouts, font options, and color palettes, it also includes multi-language support, video backgrounds, custom widgets, cross-browser compatibility, and one-click demo import. Ideal for trendsetters in facade innovation and futuristic design studios, the theme is compatible with the Spectra plugin to extend design flexibility and visual storytelling power. 8 Version: 0.1. 68 Version: 0.1.7 9 9 Requires at least: 5.0 10 Tested up to: 6. 710 Tested up to: 6.9 11 11 Requires PHP: 7.2 12 12 License: GNU General Public License v3.0 … … 716 716 z-index: 999; 717 717 top: 0; 718 background: # ebebeb;719 } 720 721 .admin-bar . navigation_header.stick_header {718 background: #000; 719 } 720 721 .admin-bar .stick_header { 722 722 margin-top: 32px; 723 723 } … … 1323 1323 -ms-flex-pack: center !important; 1324 1324 justify-content: center !important; 1325 margin-bottom: 30px; 1325 1326 } 1326 1327 … … 1747 1748 } 1748 1749 1749 .sidebar ul li a { 1750 .sidebar ul li a, 1751 .wp-block-latest-comments a { 1750 1752 color: #222222; 1753 } 1754 .wp-block-latest-comments a { 1755 font-size: 15px; 1756 font-weight: 500; 1751 1757 } 1752 1758 -
futuristic-architecture/0.1.7/template-parts/content-single.php
r268726 r309733 8 8 */ 9 9 10 $futuristic_architecture_single_post_thumb = get_theme_mod( 'futuristic_architecture_single_post_thumb', 1 ); 11 $futuristic_architecture_single_post_meta = get_theme_mod( 'futuristic_architecture_single_post_meta', 1 ); 12 $futuristic_architecture_single_post_title = get_theme_mod( 'futuristic_architecture_single_post_title', 1 ); 13 $futuristic_architecture_single_post_tags = get_theme_mod( 'futuristic_architecture_single_post_tags', 1 ); 10 14 $futuristic_architecture_single_post_page_content = get_theme_mod( 'futuristic_architecture_single_post_page_content', 1 ); 11 15 ?> … … 13 17 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 18 <header class="entry-header"> 15 <?php the_title('<h2 class="entry-title">', '</h2>'); ?> 16 <?php if(has_post_thumbnail()){ 19 <?php if ($futuristic_architecture_single_post_title == 1 ) {?> 20 <?php the_title('<h2 class="entry-title">', '</h2>'); ?> 21 <?php }?> 22 <?php if ($futuristic_architecture_single_post_thumb == 1 ) {?> 23 <?php if(has_post_thumbnail()){ 17 24 the_post_thumbnail(); 18 25 } else{?> 19 <img src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/img/slider.png" alt="" /> 20 <?php } ?> 26 <img src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/img/slider.png" alt="" /> 27 <?php } ?> 28 <?php }?> 29 <?php if ('post' === get_post_type()) :?> 30 <?php if ($futuristic_architecture_single_post_meta == 1 ) {?> 31 <div class="entry-meta"> 32 <?php 33 futuristic_architecture_posted_on(); 34 ?> 35 </div> 36 <?php }?> 37 <?php endif; ?> 21 38 </header> 22 <div class="meta-info-box my-2">23 <span class="entry-author"><?php esc_html_e('BY','futuristic-architecture'); ?> <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?></a></span>24 <span class="ms-2"><?php echo esc_html(get_the_date()); ?></span>25 </div>26 39 <div class="entry-content"> 27 40 <?php if ($futuristic_architecture_single_post_page_content == 1 ) {?> … … 44 57 'after' => '</div>', 45 58 )); 46 47 the_tags();48 59 ?> 49 60 <?php }?> 50 61 </div> 51 52 62 </article> -
futuristic-architecture/0.1.7/template-parts/patterns.php
r298974 r309733 26 26 <?php endif; 27 27 if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){ 28 the_posts_navigation();28 futuristic_architecture_blog_posts_pagination(); 29 29 } ?> 30 30 </div> … … 54 54 <?php endif; 55 55 if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){ 56 the_posts_navigation();56 futuristic_architecture_blog_posts_pagination(); 57 57 } ?> 58 58 </div> … … 78 78 <?php endif; 79 79 if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){ 80 the_posts_navigation();80 futuristic_architecture_blog_posts_pagination(); 81 81 } ?> 82 82 </div> … … 105 105 <?php endif; 106 106 if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){ 107 the_posts_navigation();107 futuristic_architecture_blog_posts_pagination(); 108 108 } ?> 109 109 </div> … … 138 138 <?php endif; 139 139 if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){ 140 the_posts_navigation();140 futuristic_architecture_blog_posts_pagination(); 141 141 } ?> 142 142 </div> … … 168 168 <?php endif; 169 169 if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){ 170 the_posts_navigation();170 futuristic_architecture_blog_posts_pagination(); 171 171 } ?> 172 172 </div> -
futuristic-architecture/0.1.7/template-parts/topheader/mainheader.php
r262719 r309733 6 6 */ 7 7 ?> 8 9 <div class="main-header text-center text-md-start"> 8 <?php 9 $futuristic_architecture_sticky_header = get_theme_mod('futuristic_architecture_sticky_header'); 10 $futuristic_architecture_data_sticky = "false"; 11 if ($futuristic_architecture_sticky_header) { 12 $futuristic_architecture_data_sticky = "true"; 13 } 14 ?> 15 <div class="main-header text-center text-md-start" data-sticky="<?php echo esc_attr($futuristic_architecture_data_sticky); ?>"> 10 16 <div class="container"> 11 17 <div class="row nav-box m-0">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)