Make WordPress Themes

Changeset 262094


Ignore:
Timestamp:
03/05/2025 11:33:16 PM (9 months ago)
Author:
themedropbox
Message:

New version of Movie Review Blog - 2.0

Location:
movie-review-blog/2.0
Files:
1 added
13 edited
1 copied

Legend:

Unmodified
Added
Removed
  • movie-review-blog/2.0/archive.php

    r254132 r262094  
    3232            else:
    3333
    34               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     34              get_template_part( 'nothing-found' );
    3535
    3636            endif;
     
    6161            else:
    6262
    63               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     63              get_template_part( 'nothing-found' );
    6464
    6565            endif;
     
    8787            else:
    8888
    89               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     89              get_template_part( 'nothing-found' );
    9090
    9191            endif;
     
    119119            else:
    120120
    121               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     121              get_template_part( 'nothing-found' );
    122122
    123123            endif;
     
    144144                else:
    145145
    146                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     146                  get_template_part( 'nothing-found' );
    147147
    148148                endif;
     
    167167                else:
    168168
    169                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     169                  get_template_part( 'nothing-found' );
    170170
    171171                endif;
     
    198198                else:
    199199
    200                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     200                  get_template_part( 'nothing-found' );
    201201
    202202                endif;
  • movie-review-blog/2.0/core/includes/class-upgrade-pro.php

    r234128 r262094  
    7575                    'title'       => esc_html__( 'Upgrade to Movie Review Blog PRO', 'movie-review-blog' ),
    7676                    'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'movie-review-blog' ),
    77                     'pro_text'    => esc_html__( 'View Movie Review Blog PRO', 'movie-review-blog' ),
    78                     'pro_url'     => 'https://www.misbahwp.com/products/movie-review-wordpress-theme',
     77                    'pro_text'    => esc_html__( 'View Movie Review Blog PRO', 'movie-review-blog' ),
     78                    'pro_url'     => esc_url( MOVIE_REVIEW_BLOG_BUY_NOW ),
     79                    'bundle_text' => esc_html__( 'Get All Themes In Single Pack', 'movie-review-blog' ),
     80                    'bundle_url'  => esc_url( MOVIE_REVIEW_BLOG_THEME_BUNDLE ),
    7981                    'priority'    => 1,
    8082                )
  • movie-review-blog/2.0/core/includes/customizer.php

    r258958 r262094  
    204204
    205205
    206     // PANEL
     206// PANEL
    207207    Kirki::add_panel( 'movie_review_blog_panel_id_3', array(
    208208        'priority'    => 10,
    209         'title'       => esc_html__( '404 Settings', 'movie-review-blog' ),
     209        'title'       => esc_html__( '404 Settings / No Result', 'movie-review-blog' ),
    210210    ) );
    211211
    212212    // 404 SECTION
    213213    Kirki::add_section( 'movie_review_blog_section_404', array(
     214        'panel'          => 'movie_review_blog_panel_id_3',
    214215        'title'          => esc_html__( '404 Settings', 'movie-review-blog' ),
    215216        'priority'       => 3,
     
    227228    Kirki::add_field( 'theme_config_id', [
    228229        'type'        => 'custom',
    229         'settings'    => 'movie_review_blog_not_found_heading',
     230        'settings'    => 'movie_review_blog_404_heading',
    230231        'section'     => 'movie_review_blog_section_404',
    231         'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Not Found Heading', 'movie-review-blog' ) . '</h3>',
     232        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Heading', 'movie-review-blog' ) . '</h3>',
    232233        'priority'    => 10,
    233234    ]);
     
    243244        Kirki::add_field( 'theme_config_id', [
    244245        'type'        => 'custom',
    245         'settings'    => 'movie_review_blog_not_found_text',
     246        'settings'    => 'movie_review_blog_404_text',
    246247        'section'     => 'movie_review_blog_section_404',
    247         'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Not Found Content', 'movie-review-blog' ) . '</h3>',
     248        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Content', 'movie-review-blog' ) . '</h3>',
    248249        'priority'    => 10,
    249250    ]);
     
    254255        'section'  => 'movie_review_blog_section_404',
    255256        'default'  => esc_html__('Sorry, no posts matched your criteria.', 'movie-review-blog'),
     257        'priority' => 10,
     258    ] );
     259
     260    // NO Result
     261    Kirki::add_section( 'movie_review_blog_no_result', array(
     262        'panel'          => 'movie_review_blog_panel_id_3',
     263        'title'          => esc_html__( 'No Result Page Settings', 'movie-review-blog' ),
     264        'priority'       => 3,
     265    ) );
     266
     267    Kirki::add_field( 'theme_config_id', [
     268        'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'movie-review-blog' ) . '</span>',
     269        'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( MOVIE_REVIEW_BLOG_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'movie-review-blog' ) . '</a>',
     270        'type'        => 'custom',
     271        'section'     => 'movie_review_blog_no_result',
     272        'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'movie-review-blog' ) . '</div>',
     273        'priority'    => 10,
     274    ]);
     275
     276    Kirki::add_field( 'theme_config_id', [
     277        'type'        => 'custom',
     278        'settings'    => 'movie_review_blog_not_found_heading',
     279        'section'     => 'movie_review_blog_no_result',
     280        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Heading', 'movie-review-blog' ) . '</h3>',
     281        'priority'    => 10,
     282    ]);
     283
     284    Kirki::add_field( 'theme_config_id', [
     285        'type'     => 'text',
     286        'settings' => 'movie_review_blog_no_results_page_title',
     287        'section'  => 'movie_review_blog_no_result',
     288        'default'  => esc_html__('404 Not Found', 'movie-review-blog'),
     289        'priority' => 10,
     290    ] );
     291
     292    Kirki::add_field( 'theme_config_id', [
     293        'type'        => 'custom',
     294        'settings'    => 'movie_review_blog_not_found_text',
     295        'section'     => 'movie_review_blog_no_result',
     296        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Content', 'movie-review-blog' ) . '</h3>',
     297        'priority'    => 10,
     298    ]);
     299
     300    Kirki::add_field( 'theme_config_id', [
     301        'type'     => 'text',
     302        'settings' => 'movie_review_blog_no_results_page_content',
     303        'section'  => 'movie_review_blog_no_result',
     304        'default'  => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'movie-review-blog'),
    256305        'priority' => 10,
    257306    ] );
  • movie-review-blog/2.0/core/includes/tgm.php

    r254132 r262094  
    2020            'force_activation' => false,
    2121        ),
     22        array(
     23            'name'             => __( 'Mosaic Gallery Advanced Gallery', 'movie-review-blog' ),
     24            'slug'             => 'mosaic-gallery-advanced-gallery',
     25            'required'         => false,
     26            'force_activation' => false,
     27        ),
    2228    );
    2329    $config = array();
  • movie-review-blog/2.0/core/includes/upgrade-pro.php

    r234128 r262094  
    2727
    2828    /**
     29     * Custom button text to output.
     30     *
     31     * @since  1.0.0
     32     * @access public
     33     * @var    string
     34     */
     35    public $bundle_text = '';
     36
     37    /**
    2938     * Custom pro button URL.
    3039     *
     
    3443     */
    3544    public $pro_url = '';
     45
     46    /**
     47     * Custom pro button URL.
     48     *
     49     * @since  1.0.0
     50     * @access public
     51     * @var    string
     52     */
     53    public $bundle_url = '';
    3654
    3755    /**
     
    4866        $json['pro_url']  = esc_url( $this->pro_url );
    4967
     68        $json['bundle_text'] = $this->bundle_text;
     69        $json['bundle_url']  = esc_url( $this->bundle_url );
     70
    5071        return $json;
    5172    }
     
    6081    protected function render_template() { ?>
    6182        <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }} cannot-expand">
    62 
    6383            <h3 class="accordion-section-title">
    6484                {{ data.title }}
     
    6989                    <a href="{{ data.pro_url }}" class="button button-primary" target="_blank">{{ data.pro_text }}</a>
    7090                <# } #>
     91
     92                <# if ( data.bundle_text && data.bundle_url ) { #>
     93                    <a href="{{ data.bundle_url }}" class="button button-primary" target="_blank">{{ data.bundle_text }}</a>
     94                <# } #>
    7195                   
    7296            </h3>
    73            
    7497        </li>
    7598    <?php }
  • movie-review-blog/2.0/css/customize-controls.css

    r254132 r262094  
    6969    display: none;
    7070}
     71a.button.button-primary{
     72  margin: 4px;
     73}
  • movie-review-blog/2.0/index.php

    r254132 r262094  
    3232            else:
    3333
    34               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     34              get_template_part( 'nothing-found' );
    3535
    3636            endif;
     
    6161            else:
    6262
    63               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     63              get_template_part( 'nothing-found' );
    6464
    6565            endif;
     
    8787            else:
    8888
    89               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     89              get_template_part( 'nothing-found' );
    9090
    9191            endif;
     
    119119            else:
    120120
    121               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     121              get_template_part( 'nothing-found' );
    122122
    123123            endif;
     
    144144                else:
    145145
    146                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     146                  get_template_part( 'nothing-found' );
    147147
    148148                endif;
     
    167167                else:
    168168
    169                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     169                  get_template_part( 'nothing-found' );
    170170
    171171                endif;
     
    198198                else:
    199199
    200                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     200                  get_template_part( 'nothing-found' );
    201201
    202202                endif;
  • movie-review-blog/2.0/readme.txt

    r258958 r262094  
    33Tags: photography, entertainment, blog, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, grid-layout, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, featured-image-header, editor-style, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
    44Requires at least: 5.0
    5 Stable tag: 1.9
     5Stable tag: 2.0
    66Requires PHP: 7.2
    77Tested up to: 6.7
     
    9494* Updated customizer settings.
    9595
     96= 2.0 = March - 04 - 2025
     97
     98* Added no result settings.
     99* Added nothing-found.php file.
     100* Added bundle button in customizer.
     101* recommend mosaic plugin.
     102* Updated woocommerce template.
     103* Do proper escaping.
     104
    96105== Resources ==
    97106
  • movie-review-blog/2.0/search.php

    r254132 r262094  
    3333            else:
    3434
    35               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     35              get_template_part( 'nothing-found' );
    3636
    3737            endif;
     
    6363            else:
    6464
    65               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     65              get_template_part( 'nothing-found' );
    6666
    6767            endif;
     
    9090            else:
    9191
    92               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     92              get_template_part( 'nothing-found' );
    9393
    9494            endif;
     
    123123            else:
    124124
    125               esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     125              get_template_part( 'nothing-found' );
    126126
    127127            endif;
     
    150150                else:
    151151
    152                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     152                  get_template_part( 'nothing-found' );
    153153
    154154                endif;
     
    175175                else:
    176176
    177                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     177                  get_template_part( 'nothing-found' );
    178178
    179179                endif;
     
    207207                else:
    208208
    209                   esc_html_e( 'Sorry, no post found on this archive.', 'movie-review-blog' );
     209                  get_template_part( 'nothing-found' );
    210210
    211211                endif;
  • movie-review-blog/2.0/style.css

    r258958 r262094  
    55Theme URI: https://www.misbahwp.com/products/free-movie-wordpress-theme
    66Author URI: https://www.misbahwp.com/
    7 Version: 1.9
     7Version: 2.0
    88Requires PHP: 7.2
    99Tested up to: 6.7
     
    11991199.bypostauthor {
    12001200}
     1201a.button.button-primary{
     1202  margin: 4px;
     1203}
  • movie-review-blog/2.0/woocommerce/archive-product.php

    r234128 r262094  
    2525      <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
    2626    </div>
    27     <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Archive Product Page','movie-review-blog')); ?></h1>
     27    <h1 class="post-title feature-header-title"><?php esc_html_e('Archive Product Page','movie-review-blog'); ?></h1>
    2828    <?php if ( get_theme_mod('movie_review_blog_breadcrumb_enable',true) ) : ?>
    2929      <div class="bread_crumb text-center">
  • movie-review-blog/2.0/woocommerce/myaccount/form-login.php

    r244560 r262094  
    1313 * @see     https://woocommerce.com/document/template-structure/
    1414 * @package WooCommerce\Templates
    15  * @version 9.2.0
     15 * @version 9.7.0
    1616 */
    1717
     
    3232        <h2><?php esc_html_e( 'Login', 'movie-review-blog' ); ?></h2>
    3333
    34         <form class="woocommerce-form woocommerce-form-login login" method="post">
     34        <form class="woocommerce-form woocommerce-form-login login" method="post" novalidate>
    3535
    3636            <?php do_action( 'woocommerce_login_form_start' ); ?>
  • movie-review-blog/2.0/woocommerce/single-product.php

    r257527 r262094  
    2828      <img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/banner.png'; ?>">
    2929    </div>
    30     <h1 class="post-title feature-header-title"><?php echo get_the_title(); ?></h1>
     30   <h1 class="post-title feature-header-title"><?php esc_html_e('Single Product Page','movie-review-blog'); ?></h1>
    3131    <?php if ( get_theme_mod('movie_review_blog_breadcrumb_enable',true) ) : ?>
    3232      <div class="bread_crumb text-center">
Note: See TracChangeset for help on using the changeset viewer.