Make WordPress Themes

Changeset 305213


Ignore:
Timestamp:
12/23/2025 04:28:35 AM (11 months ago)
Author:
themedropbox
Message:

New version of Moviemaker - 0.1.8

Location:
moviemaker/0.1.8
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • moviemaker/0.1.8/assets/css/block-editor-style.css

    r252926 r305213  
    7070.wp-block-quote:not(.is-large):not(.is-style-large),
    7171.wp-block-pullquote {
    72   border-left: 4px solid #F01E59;
     72  border-left: 4px solid var(--first-color);
    7373  padding: 1em;
    7474  background-color: rgba(0, 0, 0, 0.03);
    … …  
    171171.wp-block-pullquote {
    172172  border: 0;
    173   border-top: 4px solid #F01E59;
    174   border-bottom: 4px solid #F01E59;
     173  border-top: 4px solid var(--first-color);
     174  border-bottom: 4px solid var(--first-color);
    175175  padding: 1em;
    176176}
    … …  
    214214    -o-transition: all 0.3s ease-in-out;
    215215    transition: all 0.3s ease-in-out;
    216   background: #F01E59;
     216  background: var(--first-color);
    217217  color: #ffffff !important;
    218218}
    … …  
    229229}
    230230.wp-block-button.is-style-outline .wp-block-button__link {   
    231   border: 2px solid #F01E59!important;;
     231  border: 2px solid var(--first-color) !important;;
    232232  margin: 10px 0px;
    233233  background:none;
    234   color: #F01E59!important;
     234  color: var(--first-color) !important;
    235235}
    236236
  • moviemaker/0.1.8/custom-option.php

    r266105 r305213  
    130130    }
    131131
    132     /*-------------------- Global First Color -------------------*/
     132     /*-------------------- Global First Color -------------------*/
    133133
    134     $moviemaker_global_color = get_theme_mod('moviemaker_global_color');
     134    $moviemaker_first_color = get_theme_mod('moviemaker_first_color');
    135135
    136     if($moviemaker_global_color != false){
    137         $moviemaker_theme_css .='.comment-respond input#submit,.wp-block-button__link,.main-navigation .sub-menu,.sidebar input[type="submit"], .sidebar button[type="submit"],a.btn-text,.featured .owl-carousel .owl-nav .owl-prev:hover, .featured .owl-carousel .owl-nav .owl-next:hover,#colophon,#top-slider .slide-btn a,#button, span.onsale, .pro-button a, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button.alt,.woocommerce a.added_to_cart, .woocommerce ul.products li.product .onsale, .woocommerce span.onsale, .woocommerce .woocommerce-ordering select, .woocommerce-account .woocommerce-MyAccount-navigation ul li, .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover, .posts-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover, .navigation.pagination .nav-links a.current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links span.current, .navigation.pagination .nav-links span:hover, #colophon, .sidebar h5, .sidebar .tagcloud a:hover, p.wp-block-tag-cloud a:hover{';
    138             $moviemaker_theme_css .='background-color: '.esc_attr($moviemaker_global_color).';';
    139         $moviemaker_theme_css .='}';
     136    if ($moviemaker_first_color) {
     137        $moviemaker_theme_css .= ':root {';
     138        $moviemaker_theme_css .= '--first-color: ' . esc_attr($moviemaker_first_color) . ' !important;';
     139        $moviemaker_theme_css .= '} ';
    140140    }
    141 
    142     if($moviemaker_global_color != false){
    143         $moviemaker_theme_css .='a,.main-navigation .menu > li > a:hover,.post-navigation .nav-previous a, .post-navigation .nav-next a, .posts-navigation .nav-previous a, .posts-navigation .nav-next a,.article-box h3.entry-title a,.navbar-brand a,.navbar-brand p,span.woo-cat,.top-info .social-link a i:hover, .service-icon i, section.featured span.last_slide_head, p.price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce-message::before, .woocommerce-info::before, .widget a:hover, .widget a:focus, .sidebar ul li a:hover{';
    144             $moviemaker_theme_css .='color: '.esc_attr($moviemaker_global_color).';';
    145         $moviemaker_theme_css .='}';
    146     }
    147 
    148     if($moviemaker_global_color != false){
    149         $moviemaker_theme_css .='.wp-block-button.is-style-outline .wp-block-button__link,.postcat-name{';
    150             $moviemaker_theme_css .='color: '.esc_attr($moviemaker_global_color).' !important;';
    151         $moviemaker_theme_css .='}';
    152     }
    153 
    154     if($moviemaker_global_color != false){
    155         $moviemaker_theme_css .='.wp-block-button.is-style-outline .wp-block-button__link,.button-header a, #top-slider .slide-btn a, .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover, .posts-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover, .navigation.pagination .nav-links a.current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links span.current, .navigation.pagination .nav-links span:hover{';
    156             $moviemaker_theme_css .='border-color: '.esc_attr($moviemaker_global_color).';';
    157         $moviemaker_theme_css .='}';
    158     }
    159 
    160     if($moviemaker_global_color != false){
    161         $moviemaker_theme_css .='.woocommerce-message, .woocommerce-info{';
    162             $moviemaker_theme_css .='border-top-color: '.esc_attr($moviemaker_global_color).';';
    163         $moviemaker_theme_css .='}';
    164     }
    165 
    166     $moviemaker_theme_css .='@media screen and (max-width:1000px) {';
    167         if($moviemaker_global_color != false){
    168             $moviemaker_theme_css .='.toggle-nav i, .sidenav .closebtn{
    169             background: '.esc_attr($moviemaker_global_color).';
    170             }';
    171         }
    172     $moviemaker_theme_css .='}';
    173141
    174142    /*-------------------- Heading typography -------------------*/
  • moviemaker/0.1.8/footer.php

    r255595 r305213  
    103103                </div>
    104104                <?php } ?>
    105             <?php if(get_theme_mod('moviemaker_scroll_hide','')){ ?>
     105            <?php if (get_theme_mod('moviemaker_scroll_hide', true)) {?>
    106106                <a id="button"><?php esc_html_e('TOP','moviemaker'); ?></a>
    107107            <?php } ?>
  • moviemaker/0.1.8/functions.php

    r298975 r305213  
    607607                        <h2 style="font-weight: 600;line-height: 1.3; margin: 0px;"><?php esc_html_e('Thank You For Choosing ', 'moviemaker'); ?><?php echo wp_get_theme(); ?><h2>
    608608                        <p style="color: #3c434a; font-weight: 400; margin-bottom: 30px;"><?php _e('Get Started With Theme By Clicking On Getting Started.', 'moviemaker'); ?><p>
    609                         <a class="admin-notice-btn button button-primary button-hero" href="<?php echo esc_url( admin_url( 'themes.php?page=moviemaker-info.php' )); ?>"><?php esc_html_e( 'Get started', 'moviemaker' ) ?></a>
     609                        <a class="admin-notice-btn button button-primary button-hero" href="<?php echo esc_url( admin_url( 'themes.php?page=moviemaker-info' )); ?>"><?php esc_html_e( 'Get started', 'moviemaker' ) ?></a>
    610610                        <a class="admin-notice-btn button button-primary button-hero notice-pro-btn" target="_blank" href="<?php echo esc_url( MOVIEMAKER_GET_PREMIUM_PRO ); ?>"><?php esc_html_e( 'Get Premium ', 'moviemaker' ) ?></a>
    611611                        <a class="admin-notice-btn button button-primary button-hero notice-bundle-btn" target="_blank" href="<?php echo esc_url( MOVIEMAKER_BUNDLE_LINK ); ?>"><?php esc_html_e( 'Buy All Themes - 120+ Templates', 'moviemaker' ) ?></a>
    … …  
    680680function moviemaker_create_demo_menu() {
    681681
    682     // Page import process
    683     $pages_to_create = array(
    684         array(
    685             'title'    => 'Home',
    686             'slug'     => 'home',
     682   $menu_structure = [
     683
     684        [
     685            'title' => 'Home',
     686            'slug'  => 'home',
    687687            'template' => 'page-template/home-template.php',
    688         ),
    689         array(
    690             'title'    => 'About Us',
    691             'slug'     => 'about-us',
    692             'template' => '',
    693         ),
    694         array(
    695             'title'    => 'Projects',
    696             'slug'     => 'projects',
    697             'template' => '',
    698         ),
    699         array(
    700             'title'    => 'Services',
    701             'slug'     => 'services',
    702             'template' => '',
    703         ),
    704         array(
    705             'title'    => 'Blogs',
    706             'slug'     => 'blogs',
    707             'template' => '',
    708         ),
    709         array(
    710             'title'    => 'Contact',
    711             'slug'     => 'contact',
    712             'template' => '',
    713         ),
    714     );
    715 
    716     // Loop through each page data to create pages
    717     foreach ($pages_to_create as $page_data) {
    718         $page_check = get_page_by_title($page_data['title']);
    719        
    720         // Check if the page doesn't exist already
    721         if (!$page_check) {
    722             $page = array(
     688        ],
     689        [
     690            'title' => 'About',
     691            'slug'  => 'about',
     692            'content' => "<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
     693                "
     694        ],
     695        [
     696            'title' => 'Projects',
     697            'slug'  => 'projects',
     698            'content' => "<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
     699                "
     700        ],
     701        [
     702            'title' => 'Services',
     703            'slug'  => 'services',
     704            'content' => "<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
     705                "
     706        ],
     707        [
     708            'title' => 'Blog',
     709            'slug'  => 'blog',
     710        ],
     711        [
     712            'title' => 'Contact',
     713            'slug'  => 'contact',
     714            'content' => "<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
     715                "
     716        ],
     717    ];
     718
     719    // ----------------------------------------------------
     720    // Do not modify below this line unless needed
     721    // ----------------------------------------------------
     722
     723    $created_pages = [];
     724
     725    $menu_name = 'Primary Menu';
     726    $location  = 'primary';
     727    $menu = wp_get_nav_menu_object($menu_name);
     728
     729    $menu_id = (!$menu) ? wp_create_nav_menu($menu_name) : $menu->term_id;
     730
     731    $create_page_and_menu = function($item, $parent_menu_id = 0, $parent_page_id = 0)
     732        use (&$create_page_and_menu, &$created_pages, $menu_id) {
     733
     734        $page = get_page_by_title($item['title']);
     735
     736        if (!$page) {
     737            $page_id = wp_insert_post([
     738                'post_title'   => $item['title'],
    723739                'post_type'    => 'page',
    724                 'post_title'   => $page_data['title'],
    725740                'post_status'  => 'publish',
    726                 'post_author'  => 1,
    727                 'post_slug'    => $page_data['slug'],
    728             );
    729            
    730             // Insert the page and get the inserted page ID
    731             $page_id = wp_insert_post($page);
    732            
    733             // Set the page template
    734             if ($page_id) {
    735                 add_post_meta($page_id, '_wp_page_template', $page_data['template']);
     741                'post_name'    => $item['slug'],
     742                'post_parent'  => $parent_page_id,
     743                'post_content' => !empty($item['content']) ? $item['content'] : '',
     744            ]);
     745
     746            if (!empty($item['template'])) {
     747                update_post_meta($page_id, '_wp_page_template', $item['template']);
     748            }
     749
     750        } else {
     751            $page_id = $page->ID;
     752        }
     753
     754        $created_pages[$item['title']] = $page_id;
     755
     756        $menu_item_id = wp_update_nav_menu_item($menu_id, 0, [
     757            'menu-item-title'     => $item['title'],
     758            'menu-item-object'    => 'page',
     759            'menu-item-object-id' => $page_id,
     760            'menu-item-type'      => 'post_type',
     761            'menu-item-parent-id' => $parent_menu_id,
     762            'menu-item-status'    => 'publish'
     763        ]);
     764
     765        if (!empty($item['children'])) {
     766            foreach ($item['children'] as $child) {
     767                $create_page_and_menu($child, $menu_item_id, $page_id);
    736768            }
    737769        }
    738     }
    739 
    740     // Set 'Home' as the front page
    741     $home_page = get_page_by_title('Home');
    742     if ($home_page) {
    743         update_option('page_on_front', $home_page->ID);
     770    };
     771
     772    foreach ($menu_structure as $item) {
     773        $create_page_and_menu($item);
     774    }
     775
     776    if (!empty($created_pages['Home'])) {
     777        update_option('page_on_front', $created_pages['Home']);
    744778        update_option('show_on_front', 'page');
    745779    }
    746780
    747     // Set 'Blog' as the posts page
    748     $blog_page = get_page_by_title('Blog');
    749     if ($blog_page) {
    750         update_option('page_for_posts', $blog_page->ID);
    751     }
    752     // ------- Create Main Menu --------
    753     $menuname =  'Primary Menu';
    754     $bpmenulocation = 'primary';
    755     $menu_exists = wp_get_nav_menu_object($menuname);
    756    
    757     if (!$menu_exists) {
    758         $menu_id = wp_create_nav_menu($menuname);
    759         wp_update_nav_menu_item($menu_id, 0, array(
    760             'menu-item-title' =>  __('Home','moviemaker'),
    761             'menu-item-classes' => 'home',
    762             'menu-item-url' => home_url( '/' ),
    763             'menu-item-status' => 'publish'));
    764 
    765         wp_update_nav_menu_item($menu_id, 0, array(
    766             'menu-item-title' => __('About','moviemaker'),
    767             'menu-item-classes' => 'about',
    768             'menu-item-url' => home_url( '/' ),
    769             'menu-item-status' => 'publish',
    770         ));
    771 
    772         wp_update_nav_menu_item($menu_id, 0, array(
    773             'menu-item-title' =>  __('Projects','moviemaker'),
    774             'menu-item-classes' => 'projects',
    775             'menu-item-url' => home_url( '/' ),
    776             'menu-item-status' => 'publish'
    777         ));
    778 
    779         wp_update_nav_menu_item($menu_id, 0, array(
    780             'menu-item-title' =>  __('Services','moviemaker'),
    781             'menu-item-classes' => 'services',
    782             'menu-item-url' => home_url( '/' ),
    783             'menu-item-status' => 'publish'
    784         ));
    785 
    786         wp_update_nav_menu_item($menu_id, 0, array(
    787             'menu-item-title' =>  __('Blogs','moviemaker'),
    788             'menu-item-classes' => 'blogs',
    789             'menu-item-url' => home_url( '/' ),
    790             'menu-item-status' => 'publish'
    791         ));
    792 
    793         wp_update_nav_menu_item($menu_id, 0, array(
    794             'menu-item-title' =>  __('Contact','moviemaker'),
    795             'menu-item-classes' => 'contact',
    796             'menu-item-url' => home_url( '/' ),
    797             'menu-item-status' => 'publish'
    798         ));
    799 
    800         // Assign the menu to the location
    801         if (!has_nav_menu($bpmenulocation)) {
    802             $locations = get_theme_mod('nav_menu_locations');
    803             $locations[$bpmenulocation] = $menu_id;
    804             set_theme_mod('nav_menu_locations', $locations);
    805         }
    806     }
     781    if (!empty($created_pages['Blog'])) {
     782        update_option('page_for_posts', $created_pages['Blog']);
     783    }
     784
     785    $locations = get_theme_mod('nav_menu_locations');
     786    $locations[$location] = $menu_id;
     787    set_theme_mod('nav_menu_locations', $locations);
    807788   
    808789    //Header
  • moviemaker/0.1.8/inc/customizer.php

    r298975 r305213  
    139139    ));
    140140
    141     $wp_customize->add_setting( 'moviemaker_global_color', array(
     141    $wp_customize->add_setting( 'moviemaker_first_color', array(
    142142        'default' => '#F01E59',
    143143        'sanitize_callback' => 'sanitize_hex_color'
    144144    ));
    145     $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'moviemaker_global_color', array(
     145    $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'moviemaker_first_color', array(
     146        'label' => __('Select Your First Color', 'moviemaker'),
    146147        'description' => __('Change the global color of the theme in one click.', 'moviemaker'),
    147148        'section' => 'moviemaker_global_color_settings',
    148         'settings' => 'moviemaker_global_color',
     149        'settings' => 'moviemaker_first_color',
    149150    )));
    150151
    … …  
    350351            'pattern_grid_post' => esc_url(get_template_directory_uri()).'/assets/img/grid.png',
    351352    ))
    352     ));
     353    )); 
    353354
    354355    // General Settings
    … …  
    442443
    443444    $wp_customize->add_setting('moviemaker_scroll_hide', array(
    444         'default' => false,
     445        'default' => true,
    445446        'sanitize_callback' => 'moviemaker_sanitize_checkbox'
    446447    ));
    … …  
    13361337    ));
    13371338
    1338     $wp_customize->add_setting( 'moviemaker_blog_post_columns', array(
    1339         'default'  => 'Two',
    1340         'sanitize_callback' => 'moviemaker_sanitize_choices'
    1341     ));
    1342     $wp_customize->add_control( 'moviemaker_blog_post_columns', array(
    1343         'section' => 'moviemaker_post_settings',
    1344         'type' => 'select',
    1345         'label' => __( 'No. of Posts per row', 'moviemaker' ),
    1346         'choices' => array(
    1347             'One'  => __( 'One', 'moviemaker' ),
    1348             'Two' => __( 'Two', 'moviemaker' ),
    1349             'Three' => __( 'Three', 'moviemaker' ),
    1350         )
    1351     ));
    1352 
    13531339    $wp_customize->add_setting('moviemaker_post_page_pagination',array(
    13541340        'sanitize_callback' => 'moviemaker_sanitize_checkbox',
    … …  
    13731359            'blog-nav-numbers'  => __( 'Numeric', 'moviemaker' ),
    13741360            'next-prev' => __( 'Older/Newer Posts', 'moviemaker' ),
    1375         )
    1376     ));
    1377 
    1378     $wp_customize->add_setting( 'moviemaker_blog_sidebar_position', array(
    1379         'default'           => 'Right Side',
    1380         'sanitize_callback' => 'moviemaker_sanitize_choices'
    1381     ));
    1382     $wp_customize->add_control( 'moviemaker_blog_sidebar_position', array(
    1383         'section' => 'moviemaker_post_settings',
    1384         'type' => 'select',
    1385         'label' => __( 'Post Page Sidebar Position', 'moviemaker' ),
    1386         'choices' => array(
    1387             'Right Side' => __( 'Right Side', 'moviemaker' ),
    1388             'Left Side' => __( 'Left Side', 'moviemaker' ),
    13891361        )
    13901362    ));
  • moviemaker/0.1.8/page-template/left-side-template.php

    r252926 r305213  
    88        <div id="skip-content" class="container">
    99                <div class="row">
    10                         <?php get_sidebar(); ?>
     10                        <div class="col-lg-3 col-md-3">
     11                <?php get_sidebar(); ?>
     12            </div>
    1113                    <div id="primary" class="content-area col-sm-12 col-lg-8">
    1214                        <main id="main" class="site-main module-border-wrap">
  • moviemaker/0.1.8/page-template/right-side-template.php

    r252926 r305213  
    2424                </main>
    2525            </div>
    26             <?php get_sidebar(); ?>
     26            <div class="col-lg-3 col-md-3">
     27                <?php get_sidebar(); ?>
     28            </div>
    2729        </div>
    2830    </div>
  • moviemaker/0.1.8/page.php

    r266105 r305213  
    1818        <div class="row">
    1919            <?php if (get_theme_mod('moviemaker_single_page_sidebar_layout','No Sidebar') == 'Left Side'){?>
    20                 <?php get_sidebar(); ?>
     20                <div class="col-lg-3 col-md-3">
     21                    <?php get_sidebar(); ?>
     22                </div>
    2123            <?php }?>
    2224            <div id="primary" class="content-area <?php if (get_theme_mod('moviemaker_single_page_sidebar_layout','No Sidebar') == 'Left Side' || get_theme_mod('moviemaker_single_page_sidebar_layout','No Sidebar') == 'Right Side'){?> col-lg-9 col-md-8 <?php }?>">
    … …  
    3739            </div>
    3840            <?php if (get_theme_mod('moviemaker_single_page_sidebar_layout','No Sidebar') == 'Right Side'){?>
    39                 <?php get_sidebar(); ?>
     41                <div class="col-lg-3 col-md-3">
     42                    <?php get_sidebar(); ?>
     43                </div>
    4044            <?php }?>
    4145        </div>
  • moviemaker/0.1.8/readme.txt

    r302738 r305213  
    44Tested up to: 6.8
    55Requires PHP: 7.2
    6 Stable tag: 0.1.7
     6Stable tag: 0.1.8
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
    … …  
    100100
    101101== Changelog ==
     102
     103= 0.1.8
     104
     105* Update single.php file
     106* Update page single file.
     107* Update archive product file.
     108* Update single-product file.
     109* Update notice code.
     110* Added new code of global color.
     111* Updated Demo importer code.
     112* Update pattern file.
    102113
    103114= 0.1.7
  • moviemaker/0.1.8/single.php

    r268728 r305213  
    1313        <div class="row">
    1414            <?php if (get_theme_mod('moviemaker_single_post_sidebar_position','Right Side') == 'Left Side'){?>
    15                 <?php get_sidebar(); ?>
     15                <div class="col-lg-3 col-md-3">
     16                    <?php get_sidebar(); ?>
     17                </div>
    1618            <?php }?>
    1719            <div id="primary" class="content-area col-lg-9 col-md-8">
    … …  
    3234            </div>
    3335            <?php if (get_theme_mod('moviemaker_single_post_sidebar_position','Right Side') == 'Right Side'){?>
    34                 <?php get_sidebar(); ?>
     36                <div class="col-lg-3 col-md-3">
     37                    <?php get_sidebar(); ?>
     38                </div>
    3539            <?php }?>
    3640        </div>
  • moviemaker/0.1.8/style.css

    r302738 r305213  
    66Author URI: https://www.themagnifico.net/
    77Description: The Moviemaker WordPress Theme is a bold and visually striking platform tailored for filmmakers, movie directors, film production houses, indie film creators, videographers, cinematographers, and film studios looking to present their cinematic work in an immersive and professional way. Ideal for showcasing short films, documentaries, music videos, full-length feature films, video editing services, film festival entries, acting portfolios, and behind-the-scenes content, this theme integrates cinematic design elements like fullscreen video backgrounds, dynamic sliders, and portfolio grids. Whether you run a movie production company, a film school offering film direction or screenwriting courses, or a personal filmmaker blog, this theme includes everything you need—such as trailer embedding, crew member profiles, cast biographies, shooting schedules, and project timelines. With features for sharing filmmaking tutorials, camera gear recommendations, and post-production tips, it's also ideal for content creators and YouTube vloggers. Its responsive and retina-ready layout ensures seamless viewing across devices, and the built-in video player support lets you stream content effortlessly. SEO-friendly coding, fast loading speeds, social media integration, and Gutenberg compatibility enhance content management and visibility. Customization options allow users to adjust layouts, fonts, and colors to match their brand or film style. Whether you're launching a film magazine site, building a movie fan page, or promoting upcoming cinema releases, the Moviemaker WordPress Theme offers the ultimate platform to captivate audiences and shine in the spotlight of the film and entertainment industry.
    8 Version: 0.1.7
     8Version: 0.1.8
    99Requires at least: 5.0
    1010Tested up to: 6.8
    … …  
    3737}
    3838a {
    39   color: #F01E59;
     39  color: var(--first-color);
    4040  background-color: transparent;
    4141  text-decoration: none;
    … …  
    252252
    253253/*--------------------------------------------------------------
     254# Global Color
     255--------------------------------------------------------------*/
     256
     257:root {
     258  --first-color: #F01E59;
     259}
     260
     261/*--------------------------------------------------------------
    254262# Typography
    255263--------------------------------------------------------------*/
    … …  
    258266  color: white;
    259267  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
     268}
     269section.no-results.not-found{
     270  text-align: center;
    260271}
    261272
    … …  
    297308#button {
    298309  display: inline-block;
    299   background-color: #F01E59;
     310  background-color: var(--first-color);
    300311  width: 55px;
    301312  height: 55px;
    … …  
    349360  line-height: 20px;
    350361}
     362.top-info p.location a:hover,.top-info p.location:hover i{
     363  color: var(--first-color);
     364}
    351365.top-info p.location i{
    352366  color: #ffffff;
    … …  
    359373}
    360374.top-header .social-link a:hover{
    361   color: #F01E59;
     375  color: var(--first-color);
    362376}
    363377.logo-box {
    … …  
    441455}
    442456.header-search-wrapper .search-form-main {
    443   border-top-color: #F01E59;
     457  border-top-color: var(--first-color);
    444458}
    445459.header-search-wrapper .search-form-main:before {
    … …  
    460474}
    461475.header-search-wrapper .search-form-main:before {
    462   border-bottom-color: #F01E59;
     476  border-bottom-color: var(--first-color);
    463477}
    464478.button-header a {
    465   background: #F01E59;
     479  background: var(--first-color);
    466480  padding: 10px 30px;
    467481  border-radius: 30px;
    468482  font-size: 12px;
    469483  font-weight: 600;
    470   border: 1px solid #F01E59;
     484  border: 1px solid var(--first-color);
    471485  color: #ffffff;
    472486}
    … …  
    519533.header-right-box {
    520534  margin-left: -14px;
    521   background: #F01E59;
     535  background: var(--first-color);
    522536  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    523537  border-radius: 43px 8px 8px 20px;
    … …  
    529543}
    530544.header-right-box:hover a{
    531   color: #F01E59;
     545  color: var(--first-color);
    532546}
    533547.header-right-box a{
    … …  
    543557}
    544558.navbar-brand a {
    545   color: #F01E59;
     559  color: var(--first-color);
    546560  font-family: Kumar One;
    547561  font-size: 15px;
    … …  
    549563}
    550564.navbar-brand p {
    551   color: #F01E59;
     565  color: var(--first-color);
    552566  text-align: center;
    553567  font-size: 15px;
    … …  
    584598}
    585599#top-slider .slider-inner-box h5.main-heading {
    586   color: #F01E59;
     600  color: var(--first-color);
    587601  font-size: 14px;
    588602  font-weight: 600;
    … …  
    630644span.image-video-btn a:hover{
    631645  background: #ffffff;
    632   color: #F01E59 !important;
     646  color: var(--first-color) !important;
    633647}
    634648span.image-video-btn a {
    635649  width: 43px;
    636650  height: 43px;
    637   background: #F01E59;
     651  background: var(--first-color);
    638652  display: inline-block;
    639653  padding: 11px;
    … …  
    711725}
    712726#top-slider .slide-btn a {
    713   background: #F01E59;
     727  background: var(--first-color);
    714728  padding: 8px 25px;
    715729  font-size: 16px;
    … …  
    749763}
    750764#top-slider .owl-carousel .owl-nav .owl-prev:hover, #top-slider .owl-carousel .owl-nav .owl-next:hover {
    751     background: #F01E59;
     765    background: var(--first-color);
    752766}
    753767#top-slider .owl-carousel .owl-nav .owl-prev, #top-slider .owl-carousel .owl-nav .owl-next {
    … …  
    775789}
    776790.featured h4.main-heading {
    777   color: #F01E59;
     791  color: var(--first-color);
    778792  font-size: 14px;
    779793  font-weight: 600;
    … …  
    807821}
    808822.ser-content:hover .team-content{
    809   background: #F01E59;
     823  background: var(--first-color);
    810824}
    811825.ser-content:hover .social-link{
    … …  
    841855}
    842856span.woo-cat {
    843   color: #F01E59;
     857  color: var(--first-color);
    844858  font-size: 14px;
    845859  font-weight: 400;
    … …  
    851865}
    852866.cart-btn a i{
    853   color: #F01E59;
     867  color: var(--first-color);
    854868}
    855869.cart-btn a {
    856   color: #F01E59;
     870  color: var(--first-color);
    857871  font-size: 16px;
    858872  font-weight: 600;
    … …  
    894908}
    895909.featured .owl-carousel .owl-nav .owl-prev:hover, .featured .owl-carousel .owl-nav .owl-next:hover{
    896   background: #F01E59;
     910  background: var(--first-color);
    897911}
    898912.featured .owl-carousel .owl-nav .owl-prev, .featured .owl-carousel .owl-nav .owl-next {
    … …  
    958972  100% {
    959973    transform: translatey(-2.5rem);
    960     background-color: #F01E59;
     974    background-color: var(--first-color);
    961975  }
    962976  50% {
    963977    transform: translatey(2.5rem);
    964     background-color: #F01E59;
     978    background-color: var(--first-color);
    965979  }
    966980}
    … …  
    9961010  border-radius: 50%;
    9971011  animation: spin 2s ease infinite;
    998   background: #F01E59;
     1012  background: var(--first-color);
    9991013  opacity: 1;
    10001014}
    … …  
    10341048.postcat-name {
    10351049  font-size: 14px;
    1036   color: #F01E59 !important;
     1050  color: var(--first-color) !important;
    10371051  font-weight: bold;
    10381052}
    … …  
    10501064  border-radius: 10px;
    10511065  width: 100%;
     1066  height: 400px;
     1067  object-fit: cover;
    10521068}
    10531069.article-box h3.entry-title {
    … …  
    10631079.sidebar input[type="submit"],.sidebar button[type="submit"] {
    10641080  width: 100%;
    1065   background: #F01E59;
     1081  background: var(--first-color);
    10661082  border: none;
    10671083  color: #ffffff;
    … …  
    10791095.article-box a{
    10801096  word-wrap: break-word;
    1081   color: #F01E59;
     1097  color: var(--first-color);
    10821098}
    10831099.author-date a {
    … …  
    10861102}
    10871103a.btn-text {
    1088   background: #F01E59;
     1104  background: var(--first-color);
    10891105  padding: 10px 20px;
    10901106  border-radius: 6px;
    … …  
    11231139.woocommerce div.product p.price,
    11241140.woocommerce div.product span.price {
    1125   color: #F01E59;
     1141  color: var(--first-color);
    11261142  font-weight: bold;
    11271143  font-size: 14px;
    … …  
    11311147  top: 0;
    11321148  left: 0;
    1133   background: #F01E59;
     1149  background: var(--first-color);
    11341150  color: #fff;
    11351151  padding: 2px 5px;
    … …  
    11521168  font-size: 15px;
    11531169  border-radius: 30px !important;
    1154   background: #F01E59;
     1170  background: var(--first-color);
    11551171}
    11561172.pro-button a:hover,
    … …  
    11851201  left: 15px;
    11861202  right: auto;
    1187   background: #F01E59;
     1203  background: var(--first-color);
    11881204  padding: 2px 5px;
    11891205  border-radius: 0px;
    … …  
    11971213}
    11981214.woocommerce .woocommerce-ordering select {
    1199   background: #F01E59;
     1215  background: var(--first-color);
    12001216  color: #222222;
    12011217  padding: 2px;
    … …  
    12111227.woocommerce-message,
    12121228.woocommerce-info{
    1213   border-top-color: #F01E59;
     1229  border-top-color: var(--first-color);
    12141230}
    12151231.woocommerce-message::before,
    12161232.woocommerce-info::before{
    1217   color: #F01E59;
     1233  color: var(--first-color);
    12181234}
    12191235input[type="text"],
    … …  
    12411257.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    12421258  display: initial;
    1243   background: #F01E59;
     1259  background: var(--first-color);
    12441260  padding: 10px;
    12451261  margin-right: 5px;
    … …  
    12911307}
    12921308#site-navigation .menu ul li a:hover{
    1293   color: #F01E59;
     1309  color: var(--first-color);
    12941310}
    12951311.navigation_header .nav,.navbar-expand-xl {
    … …  
    13281344}*/
    13291345.main-navigation .menu > li > a:hover{
    1330   color: #F01E59;
     1346  color: var(--first-color);
    13311347}
    13321348.main-navigation .sub-menu {
    1333   background-color: #F01E59;
     1349  background-color: var(--first-color);
    13341350  list-style: none;
    13351351  padding-left: 0;
    … …  
    13411357}
    13421358.main-navigation ul.children {
    1343   background-color: #F01E59;
     1359  background-color: var(--first-color);
    13441360  list-style: none;
    13451361  padding-left: 0;
    … …  
    13521368.main-navigation .sub-menu > li > a:hover,
    13531369.main-navigation .sub-menu > li > a:focus {
    1354   background: #F01E59;
     1370  background: var(--first-color);
    13551371  color: #fff;
    13561372}
    … …  
    14861502  overflow-wrap: anywhere;
    14871503  background: white;
    1488   color: #F01E59;
     1504  color: var(--first-color);
    14891505}
    14901506.post-navigation .nav-previous a:hover,
    … …  
    14921508.posts-navigation .nav-previous a:hover,
    14931509.posts-navigation .nav-next a:hover {
    1494   background: #F01E59;
     1510  background: var(--first-color);
    14951511  color: #ffffff;
    1496   border: 1px solid #F01E59;
     1512  border: 1px solid var(--first-color);
    14971513}
    14981514.post-navigation .nav-next a::after,
    … …  
    15031519.posts-navigation .nav-previous a::before {
    15041520  content: "\2190  ";
     1521}
     1522nav.navigation.pagination{
     1523  margin-bottom: 30px !important;
    15051524}
    15061525.navigation.pagination {
    … …  
    15221541.navigation.pagination .nav-links span.current,
    15231542.navigation.pagination .nav-links span:hover {
    1524   background: #F01E59;
     1543  background: var(--first-color);
    15251544  color: white;
    1526   border: 1px solid #F01E59;
     1545  border: 1px solid var(--first-color);
    15271546}
    15281547
    … …  
    16301649
    16311650.module-border-wrap {
    1632   -moz-border-image: -moz-linear-gradient(to bottom left, #19b094 0%, #F01E59 100%);
    1633   -webkit-border-image: -webkit-linear-gradient(to bottom left, #19b094 0%, #F01E59 100%);
    1634   border-image: linear-gradient(to bottom left, #19b094 0%, #F01E59 100%) 1;
     1651  -moz-border-image: -moz-linear-gradient(to bottom left, #19b094 0%, var(--first-color) 100%);
     1652  -webkit-border-image: -webkit-linear-gradient(to bottom left, #19b094 0%, var(--first-color) 100%);
     1653  border-image: linear-gradient(to bottom left, #19b094 0%, var(--first-color) 100%) 1;
    16351654}
    16361655
    … …  
    16421661}
    16431662.comment-respond input#submit {
    1644   background: #F01E59;
     1663  background: var(--first-color);
    16451664  border: none;
    16461665  color: #ffffff;
    … …  
    16981717}
    16991718.not-found-pagetext input.search-submit.btn.btn-primary {
    1700   background: #F01E59;
     1719  background: var(--first-color);
    17011720}
    17021721.sticky .entry-title a {
    … …  
    17361755--------------------------------------------------------------*/
    17371756#colophon {
    1738   background:#F01E59;
     1757  background:var(--first-color);
    17391758  color: #ffffff;
    17401759}
    … …  
    18001819
    18011820.widget a:hover, .widget a:focus {
    1802   color: #F01E59;
     1821  color: var(--first-color);
    18031822}
    18041823.widget ul li.recentcomments {
    … …  
    18311850  font-size: 30px;
    18321851  color: #ffffff;
    1833   background: #F01E59;
     1852  background: var(--first-color);
    18341853  padding: 15px 10px;
    18351854  margin-bottom: 0;
    … …  
    18601879}
    18611880.sidebar ul li a:hover {
    1862   color: #F01E59;
     1881  color: var(--first-color);
    18631882}
    18641883.sidebar ul li a {
    … …  
    18881907}
    18891908.sidebar .tagcloud a:hover{
    1890   background: #F01E59;
     1909  background: var(--first-color);
    18911910  color: #222222;
    18921911}
    18931912p.wp-block-tag-cloud a:hover{
    1894   background: #F01E59;
     1913  background: var(--first-color);
    18951914  color: #fff;
    18961915}
    … …  
    22602279  }
    22612280  .main-navigation .menu > li > a:hover{
    2262     color: #F01E59;
     2281    color: var(--first-color);
    22632282  }
    22642283  .toggle-nav.mobile-menu {
    … …  
    22932312    color: #fff;
    22942313    padding: 8px;
    2295     background: #F01E59;
     2314    background: var(--first-color);
    22962315  }
    22972316  .toggle-nav button {
    … …  
    23232342    display: block;
    23242343    font-size: 22px;
    2325     background: #F01E59;
     2344    background: var(--first-color);
    23262345    border-radius: 5px;
    23272346    width: 35px;
    … …  
    23802399  }
    23812400  #site-navigation .menu ul li a:hover{
    2382     color: #F01E59;
     2401    color: var(--first-color);
    23832402  }
    23842403  .main-navigation .menu ul{
  • moviemaker/0.1.8/template-parts/patterns.php

    r298975 r305213  
    2626    <?php endif;
    2727        if( get_theme_mod('moviemaker_post_page_pagination',1) == 1){
    28         the_posts_navigation();
     28        moviemaker_blog_posts_pagination();
    2929    } ?>
    3030</div>
    … …  
    5454        <?php endif;
    5555            if( get_theme_mod('moviemaker_post_page_pagination',1) == 1){
    56             the_posts_navigation();
     56            moviemaker_blog_posts_pagination();
    5757        } ?>
    5858    </div>
    … …  
    7878        <?php endif;
    7979            if( get_theme_mod('moviemaker_post_page_pagination',1) == 1){
    80             the_posts_navigation();
     80            moviemaker_blog_posts_pagination();
    8181        } ?>
    8282    </div>
    … …  
    105105        <?php endif;
    106106            if( get_theme_mod('moviemaker_post_page_pagination',1) == 1){
    107             the_posts_navigation();
     107            moviemaker_blog_posts_pagination();
    108108        } ?>
    109109    </div>
    … …  
    138138        <?php endif;
    139139            if( get_theme_mod('moviemaker_post_page_pagination',1) == 1){
    140             the_posts_navigation();
     140            moviemaker_blog_posts_pagination();
    141141        } ?>
    142142    </div>
    … …  
    168168        <?php endif;
    169169            if( get_theme_mod('moviemaker_post_page_pagination',1) == 1){
    170             the_posts_navigation();
     170            moviemaker_blog_posts_pagination();
    171171        } ?>
    172172    </div>
  • moviemaker/0.1.8/woocommerce/archive-product.php

    r252926 r305213  
    103103                        </div>
    104104                        <?php if ( false != $moviemaker_woocommerce_shop_page_sidebar ) {?>
    105                                 <?php
    106                                 /**
    107                                  * Hook: woocommerce_sidebar.
    108                                  *
    109                                  * @hooked woocommerce_get_sidebar - 10
    110                                  */
    111                                 do_action( 'woocommerce_sidebar' ); ?>
     105                                <div class="col-lg-3 col-md-3">
     106                                        <?php
     107                                        /**
     108                                         * Hook: woocommerce_sidebar.
     109                                         *
     110                                         * @hooked woocommerce_get_sidebar - 10
     111                                         */
     112                                        do_action( 'woocommerce_sidebar' ); ?>
     113                                </div>
    112114                        <?php } ?>
    113115                <?php } elseif(get_theme_mod('moviemaker_shop_page_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    114116                        <?php if ( false != $moviemaker_woocommerce_shop_page_sidebar ) {?>
    115                                 <?php
    116                                 /**
    117                                  * Hook: woocommerce_sidebar.
    118                                  *
    119                                  * @hooked woocommerce_get_sidebar - 10
    120                                  */
    121                                 do_action( 'woocommerce_sidebar' ); ?>
     117                                <div class="col-lg-3 col-md-3">
     118                                        <?php
     119                                        /**
     120                                         * Hook: woocommerce_sidebar.
     121                                         *
     122                                         * @hooked woocommerce_get_sidebar - 10
     123                                         */
     124                                        do_action( 'woocommerce_sidebar' ); ?>
     125                                </div>
    122126                        <?php } ?>
    123127                        <div class="<?php echo esc_html( $colmd ); ?>">
  • moviemaker/0.1.8/woocommerce/single-product.php

    r252926 r305213  
    6262                </div>
    6363                <?php if ( false != $moviemaker_woocommerce_single_product_page_sidebar ) {?>
    64                         <?php
    65                                 /**
    66                                  * woocommerce_sidebar hook.
    67                                  *
    68                                  * @hooked woocommerce_get_sidebar - 10
    69                                  */
    70                                 do_action( 'woocommerce_sidebar' );
    71                         ?>
     64                        <div class="col-lg-3 col-md-3">
     65                                <?php
     66                                        /**
     67                                         * woocommerce_sidebar hook.
     68                                         *
     69                                         * @hooked woocommerce_get_sidebar - 10
     70                                         */
     71                                        do_action( 'woocommerce_sidebar' );
     72                                ?>
     73                        </div>
    7274                <?php }?>
    7375        <?php } elseif(get_theme_mod('moviemaker_single_product_sidebar_layout', 'Right Sidebar') == 'Left Sidebar'){ ?>
    7476                <?php if ( false != $moviemaker_woocommerce_single_product_page_sidebar ) {?>
    75                         <?php
    76                                 /**
    77                                  * woocommerce_sidebar hook.
    78                                  *
    79                                  * @hooked woocommerce_get_sidebar - 10
    80                                  */
    81                                 do_action( 'woocommerce_sidebar' );
    82                         ?>
     77                        <div class="col-lg-3 col-md-3">
     78                                <?php
     79                                        /**
     80                                         * woocommerce_sidebar hook.
     81                                         *
     82                                         * @hooked woocommerce_get_sidebar - 10
     83                                         */
     84                                        do_action( 'woocommerce_sidebar' );
     85                                ?>
     86                        </div>
    8387                <?php }?>
    8488                <div class="<?php echo esc_html( $colmd ); ?>">
Note: See TracChangeset for help on using the changeset viewer.