Make WordPress Themes

Changeset 309733


Ignore:
Timestamp:
01/21/2026 04:21:38 AM (9 months ago)
Author:
themedropbox
Message:

New version of Futuristic Architecture - 0.1.7

Location:
futuristic-architecture/0.1.7
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • futuristic-architecture/0.1.7/assets/css/customizer-layout.css

    r298974 r309733  
    181181li#customize-control-pro_version_top_projects,
    182182li#customize-control-pro_version_post_settings ,
    183 li#customize-control-pro_version_site_footer_section{
     183li#customize-control-pro_version_site_footer_section,
     184li#customize-control-pro_version_post_layouts_settings,
     185li#customize-control-pro_version_404_page_settings,
     186li#customize-control-pro_version_menu_settings{
    184187    background: #0085ba;
    185188    display: inline;
    … …  
    194197li#customize-control-pro_version_top_projects span,
    195198li#customize-control-pro_version_post_settings span,
    196 li#customize-control-pro_version_site_footer_section span{
     199li#customize-control-pro_version_site_footer_section span,
     200li#customize-control-pro_version_post_layouts_settings span,
     201li#customize-control-pro_version_404_page_settings span,
     202li#customize-control-pro_version_menu_settings span{
    197203    color: #fff;
    198204}
  • futuristic-architecture/0.1.7/assets/js/customize-layout.js

    r262719 r309733  
    4141                        // Header Image
    4242
    43                         if ( id === 'header_image' ) {
     43                        if ( id === 'header_image' || id === 'futuristic_architecture_post_layout' || id === 'futuristic_architecture_404_page_main_heading' ) {
    4444                                $( '#customize-control-'+ id ).before('<li class="tab-title customize-control">'+ title  +'</li>');
    4545                        } else {
    … …  
    9090                        // Single Post Settings
    9191
    92                         if ( id === 'futuristic_architecture_single_post_page_content' ) {
     92                        if ( id === 'futuristic_architecture_single_post_thumb' ) {
    9393                                $( '#customize-control-'+ id ).before('<li class="tab-title customize-control">'+ title  +'</li>');
    9494                        } else {
    … …  
    109109                // General Setting
    110110                futuristic_architecture_customizer_label( 'futuristic_architecture_preloader_hide', 'Preloader' );
     111                futuristic_architecture_customizer_label( 'futuristic_architecture_sticky_header', 'Sticky Header' );
    111112                futuristic_architecture_customizer_label( 'futuristic_architecture_scroll_hide', 'Scroll To Top' );
    112113                futuristic_architecture_customizer_label( 'futuristic_architecture_scroll_top_position', 'Scroll to top Position' );
    … …  
    122123                //Header Image
    123124                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' );       
    124129
    125130                // Social Icon
    … …  
    152157
    153158                //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' );
    155160       
    156161
  • futuristic-architecture/0.1.7/assets/js/theme-script.js

    r262719 r309733  
    115115  jQuery('.search-form-main .search-field').focus();
    116116});
     117
     118jQuery(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  
    3030            if ( '1' === $futuristic_architecture_comments_number ) {
    3131                /* translators: %s: post title */
    32                 printf( esc_html__( 'One thought on &ldquo;%s&rdquo;', 'futuristic-architecture' ), esc_html( get_the_title() ) );
     32                printf( esc_html__( 'One thought on &ldquo;%s&rdquo;', 'futuristic-architecture' ), esc_html(get_the_title() ) );
    3333            } else {
    3434                printf(
    … …  
    8686            'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">',
    8787            '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' )) ),
    8890        ) );
    8991    ?>
  • futuristic-architecture/0.1.7/custom-option.php

    r300580 r309733  
    2020    }
    2121
     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
    2255    /*--------------------------- Footer Widget Heading Alignment -------------------*/
    2356
    … …  
    94127        $futuristic_architecture_theme_css .='body{';
    95128            $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;';
    115129        $futuristic_architecture_theme_css .='}';
    116130    }
    … …  
    195209        $futuristic_architecture_theme_css .='}';
    196210    }
     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  
    425425}
    426426
     427/**
     428 * Enqueue S Header.
     429 */
     430function 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}
     448add_action( 'wp_enqueue_scripts', 'futuristic_architecture_sticky_header' );
     449
     450/** * Posts pagination. */
     451if ( ! 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
    427462/*radio button sanitization*/
    428463function futuristic_architecture_sanitize_choices( $input, $setting ) {
  • futuristic-architecture/0.1.7/inc/customizer.php

    r300580 r309733  
    88 */
    99
    10 if ( ! defined( 'futuristic_architecture_URL' ) ) {
    11     define( 'futuristic_architecture_URL', esc_url( 'https://www.themagnifico.net/products/architect-design-wordpress-theme', 'futuristic-architecture') );
     10if ( ! defined( 'FUTURISTIC_ARCHITECTURE_URL' ) ) {
     11    define( 'FUTURISTIC_ARCHITECTURE_URL', esc_url( 'https://www.themagnifico.net/products/architect-design-wordpress-theme', 'futuristic-architecture') );
    1212}
    13 if ( ! defined( 'futuristic_architecture_TEXT' ) ) {
    14     define( 'futuristic_architecture_TEXT', __( 'Futuristic Architecture Pro','futuristic-architecture' ));
     13if ( ! defined( 'FUTURISTIC_ARCHITECTURE_TEXT' ) ) {
     14    define( 'FUTURISTIC_ARCHITECTURE_TEXT', __( 'Futuristic Architecture Pro','futuristic-architecture' ));
    1515}
    16 if ( ! defined( 'futuristic_architecture_BUY_TEXT' ) ) {
    17     define( 'futuristic_architecture_BUY_TEXT', __( 'Buy Futuristic Architecture Pro','futuristic-architecture' ));
     16if ( ! defined( 'FUTURISTIC_ARCHITECTURE_BUY_TEXT' ) ) {
     17    define( 'FUTURISTIC_ARCHITECTURE_BUY_TEXT', __( 'Buy Futuristic Architecture Pro','futuristic-architecture' ));
    1818}
    1919
    … …  
    2626    $manager->add_section(
    2727        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' ),
    2929            'priority'    => 0,
    3030            'button_text' => __( 'GET PREMIUM', 'futuristic-architecture' ),
    31             'button_url'  => esc_url( futuristic_architecture_URL )
     31            'button_url'  => esc_url( FUTURISTIC_ARCHITECTURE_URL )
    3232        ] )
    3333    );
    … …  
    7272            echo '<a href="'. esc_url($this->description) .'" target="_blank">';
    7373                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>';
    7575            echo '</a>';
    7676        }
    … …  
    147147                'type'        => 'pro_options',
    148148                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    149                 'description' => esc_url( futuristic_architecture_URL ),
     149                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    150150                'priority'    => 100
    151151            )
    … …  
    342342                'type'        => 'pro_options',
    343343                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    344                 'description' => esc_url( futuristic_architecture_URL ),
     344                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    345345                'priority'    => 100
    346346            )
    … …  
    372372    ));
    373373
     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
    374389    // General Settings
    375390     $wp_customize->add_section('futuristic_architecture_general_settings',array(
    … …  
    446461        'section' => 'futuristic_architecture_general_settings',
    447462        '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',
    448474    )));
    449475
    … …  
    651677                'type'        => 'pro_options',
    652678                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    653                 'description' => esc_url( futuristic_architecture_URL ),
     679                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    654680                'priority'    => 100
    655681            )
    … …  
    716742        'type'  => 'text'
    717743    ));
     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    );
    718819
    719820    //Top Header
    … …  
    786887                'type'        => 'pro_options',
    787888                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    788                 'description' => esc_url( futuristic_architecture_URL ),
     889                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    789890                'priority'    => 100
    790891            )
    … …  
    895996                'type'        => 'pro_options',
    896997                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    897                 'description' => esc_url( futuristic_architecture_URL ),
     998                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    898999                'priority'    => 100
    8991000            )
    … …  
    9711072                'type'        => 'pro_options',
    9721073                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    973                 'description' => esc_url( futuristic_architecture_URL ),
     1074                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    9741075                'priority'    => 100
    9751076            )
    … …  
    9831084    ));
    9841085
    985     $wp_customize->add_setting('futuristic_architecture_post_page_title',array(
     1086     $wp_customize->add_setting('futuristic_architecture_post_page_title',array(
    9861087        'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox',
    9871088        'default'           => 1,
    … …  
    10151116        'description' => esc_html__('Check this box to enable thumbnail on post page.', 'futuristic-architecture'),
    10161117    ));
     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    ) );
    10171150
    10181151    $wp_customize->add_setting('futuristic_architecture_post_page_content',array(
    … …  
    10641197    ));
    10651198
     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
    10661279    $wp_customize->add_setting('futuristic_architecture_single_post_page_content',array(
    10671280        'sanitize_callback' => 'futuristic_architecture_sanitize_checkbox',
    … …  
    10751288    ));
    10761289
     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
    10771328    // Pro Version
    10781329    $wp_customize->add_setting( 'pro_version_post_settings', array(
    … …  
    10841335                'type'        => 'pro_options',
    10851336                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    1086                 'description' => esc_url( futuristic_architecture_URL ),
     1337                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    10871338                'priority'    => 100
    10881339            )
    … …  
    11551406                'type'        => 'pro_options',
    11561407                'label'       => esc_html__( 'Customizer Options', 'futuristic-architecture' ),
    1157                 'description' => esc_url( futuristic_architecture_URL ),
     1408                'description' => esc_url( FUTURISTIC_ARCHITECTURE_URL ),
    11581409                'priority'    => 100
    11591410            )
  • futuristic-architecture/0.1.7/readme.txt

    r306545 r309733  
    22Contributors: TheMagnifico52
    33Requires at least: 5.0
    4 Tested up to: 6.7
     4Tested up to: 6.9
    55Requires PHP: 7.2
    6 Stable tag: 0.1.6
     6Stable tag: 0.1.7
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
    … …  
    9696== Changelog ==
    9797
     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
    98111= 0.1.6
    99112
  • futuristic-architecture/0.1.7/style.css

    r306545 r309733  
    66Author URI: https://www.themagnifico.net/
    77Description: 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.6
     8Version: 0.1.7
    99Requires at least: 5.0
    10 Tested up to: 6.7
     10Tested up to: 6.9
    1111Requires PHP: 7.2
    1212License: GNU General Public License v3.0
    … …  
    716716  z-index: 999;
    717717  top: 0;
    718   background: #ebebeb;
    719 }
    720 
    721 .admin-bar .navigation_header.stick_header {
     718  background: #000;
     719}
     720
     721.admin-bar .stick_header {
    722722  margin-top: 32px;
    723723}
    … …  
    13231323  -ms-flex-pack: center !important;
    13241324  justify-content: center !important;
     1325  margin-bottom: 30px;
    13251326}
    13261327
    … …  
    17471748}
    17481749
    1749 .sidebar ul li a {
     1750.sidebar ul li a,
     1751.wp-block-latest-comments a {
    17501752  color: #222222;
     1753}
     1754.wp-block-latest-comments a {
     1755  font-size: 15px;
     1756  font-weight: 500;
    17511757}
    17521758
  • futuristic-architecture/0.1.7/template-parts/content-single.php

    r268726 r309733  
    88 */
    99
     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 );
    1014$futuristic_architecture_single_post_page_content =  get_theme_mod( 'futuristic_architecture_single_post_page_content', 1 );
    1115?>
    … …  
    1317<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1418    <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()){
    1724            the_post_thumbnail();
    1825            } 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; ?>
    2138    </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>
    2639    <div class="entry-content">
    2740        <?php if ($futuristic_architecture_single_post_page_content == 1 ) {?>
    … …  
    4457                'after' => '</div>',
    4558            ));
    46 
    47             the_tags();
    4859            ?>
    4960        <?php }?>
    5061    </div>
    51 
    5262</article>
  • futuristic-architecture/0.1.7/template-parts/patterns.php

    r298974 r309733  
    2626    <?php endif;
    2727        if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){
    28         the_posts_navigation();
     28        futuristic_architecture_blog_posts_pagination();
    2929    } ?>
    3030</div>
    … …  
    5454        <?php endif;
    5555            if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){
    56             the_posts_navigation();
     56            futuristic_architecture_blog_posts_pagination();
    5757        } ?>
    5858    </div>
    … …  
    7878        <?php endif;
    7979            if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){
    80             the_posts_navigation();
     80            futuristic_architecture_blog_posts_pagination();
    8181        } ?>
    8282    </div>
    … …  
    105105        <?php endif;
    106106            if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){
    107             the_posts_navigation();
     107            futuristic_architecture_blog_posts_pagination();
    108108        } ?>
    109109    </div>
    … …  
    138138        <?php endif;
    139139            if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){
    140             the_posts_navigation();
     140            futuristic_architecture_blog_posts_pagination();
    141141        } ?>
    142142    </div>
    … …  
    168168        <?php endif;
    169169            if( get_theme_mod('futuristic_architecture_post_page_pagination',1) == 1){
    170             the_posts_navigation();
     170            futuristic_architecture_blog_posts_pagination();
    171171        } ?>
    172172    </div>
  • futuristic-architecture/0.1.7/template-parts/topheader/mainheader.php

    r262719 r309733  
    66 */
    77?>
    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); ?>">
    1016    <div class="container">
    1117        <div class="row nav-box m-0">
Note: See TracChangeset for help on using the changeset viewer.