Make WordPress Themes

Changeset 262095


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

New version of Project Management - 1.9

Location:
project-management/1.9
Files:
1 added
13 edited
1 copied

Legend:

Unmodified
Added
Removed
  • project-management/1.9/archive.php

    r254642 r262095  
    3535            else:
    3636
    37               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     37              get_template_part( 'nothing-found' );
    3838
    3939            endif;
     
    6464            else:
    6565
    66               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     66              get_template_part( 'nothing-found' );
    6767
    6868            endif;
     
    9090            else:
    9191
    92               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     92              get_template_part( 'nothing-found' );
    9393
    9494            endif;
     
    122122            else:
    123123
    124               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     124              get_template_part( 'nothing-found' );
    125125
    126126            endif;
     
    147147                else:
    148148
    149                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     149                  get_template_part( 'nothing-found' );
    150150
    151151                endif;
     
    170170                else:
    171171
    172                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     172                  get_template_part( 'nothing-found' );
    173173
    174174                endif;
     
    201201                else:
    202202
    203                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     203                  get_template_part( 'nothing-found' );
    204204
    205205                endif;
  • project-management/1.9/core/includes/class-upgrade-pro.php

    r239734 r262095  
    7575                    'title'       => esc_html__( 'Upgrade to Project Management PRO', 'project-management' ),
    7676                    'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'project-management' ),
    77                     'pro_text'    => esc_html__( 'View Project Management PRO', 'project-management' ),
    78                     'pro_url'     => 'https://www.misbahwp.com/products/project-management-wordpress-theme',
     77                    'pro_text'    => esc_html__( 'View Project Management PRO', 'project-management' ),
     78                    'pro_url'     => esc_url( PROJECT_MANAGEMENT_BUY_NOW ),
     79                    'bundle_text' => esc_html__( 'Get All Themes In Single Pack', 'project-management' ),
     80                    'bundle_url'  => esc_url( PROJECT_MANAGEMENT_THEME_BUNDLE ),
    7981                    'priority'    => 1,
    8082                )
  • project-management/1.9/core/includes/customizer.php

    r258677 r262095  
    205205    Kirki::add_panel( 'project_management_panel_id_3', array(
    206206        'priority'    => 10,
    207         'title'       => esc_html__( '404 Settings', 'project-management' ),
     207        'title'       => esc_html__( '404 Settings / No Result', 'project-management' ),
    208208    ) );
    209209
    210210    // 404 SECTION
    211211    Kirki::add_section( 'project_management_section_404', array(
     212        'panel'          => 'project_management_panel_id_3',
    212213        'title'          => esc_html__( '404 Settings', 'project-management' ),
    213214        'priority'       => 3,
     
    225226    Kirki::add_field( 'theme_config_id', [
    226227        'type'        => 'custom',
    227         'settings'    => 'project_management_not_found_heading',
     228        'settings'    => 'project_management_404_heading',
    228229        'section'     => 'project_management_section_404',
    229         'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Not Found Heading', 'project-management' ) . '</h3>',
     230        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Heading', 'project-management' ) . '</h3>',
    230231        'priority'    => 10,
    231232    ]);
     
    241242        Kirki::add_field( 'theme_config_id', [
    242243        'type'        => 'custom',
    243         'settings'    => 'project_management_not_found_text',
     244        'settings'    => 'project_management_404_text',
    244245        'section'     => 'project_management_section_404',
    245         'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Not Found Content', 'project-management' ) . '</h3>',
     246        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Content', 'project-management' ) . '</h3>',
    246247        'priority'    => 10,
    247248    ]);
     
    254255        'priority' => 10,
    255256    ] );
     257
     258    // NO Result
     259    Kirki::add_section( 'project_management_no_result', array(
     260        'panel'          => 'project_management_panel_id_3',
     261        'title'          => esc_html__( 'No Result Page Settings', 'project-management' ),
     262        'priority'       => 3,
     263    ) );
     264
     265    Kirki::add_field( 'theme_config_id', [
     266        'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'project-management' ) . '</span>',
     267        'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( PROJECT_MANAGEMENT_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'project-management' ) . '</a>',
     268        'type'        => 'custom',
     269        'section'     => 'project_management_no_result',
     270        '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>', 'project-management' ) . '</div>',
     271        'priority'    => 10,
     272    ]);
     273
     274    Kirki::add_field( 'theme_config_id', [
     275        'type'        => 'custom',
     276        'settings'    => 'project_management_not_found_heading',
     277        'section'     => 'project_management_no_result',
     278        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Heading', 'project-management' ) . '</h3>',
     279        'priority'    => 10,
     280    ]);
     281
     282    Kirki::add_field( 'theme_config_id', [
     283        'type'     => 'text',
     284        'settings' => 'project_management_no_results_page_title',
     285        'section'  => 'project_management_no_result',
     286        'default'  => esc_html__('404 Not Found', 'project-management'),
     287        'priority' => 10,
     288    ] );
     289
     290    Kirki::add_field( 'theme_config_id', [
     291        'type'        => 'custom',
     292        'settings'    => 'project_management_not_found_text',
     293        'section'     => 'project_management_no_result',
     294        'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Content', 'project-management' ) . '</h3>',
     295        'priority'    => 10,
     296    ]);
     297
     298    Kirki::add_field( 'theme_config_id', [
     299        'type'     => 'text',
     300        'settings' => 'project_management_no_results_page_content',
     301        'section'  => 'project_management_no_result',
     302        'default'  => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'project-management'),
     303        'priority' => 10,
     304    ] );
     305
    256306
    257307    // PANEL
  • project-management/1.9/core/includes/tgm.php

    r239734 r262095  
    1414            'force_activation' => false,
    1515        ),
     16        array(
     17            'name'             => __( 'Mosaic Gallery Advanced Gallery', 'project-management' ),
     18            'slug'             => 'mosaic-gallery-advanced-gallery',
     19            'required'         => false,
     20            'force_activation' => false,
     21        ),
    1622    );
    1723    $config = array();
  • project-management/1.9/core/includes/upgrade-pro.php

    r239734 r262095  
    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 }
  • project-management/1.9/css/customize-controls.css

    r254642 r262095  
    6969    display: none;
    7070}
     71a.button.button-primary{
     72  margin: 4px;
     73}
  • project-management/1.9/index.php

    r258677 r262095  
    3434            else:
    3535
    36               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     36              get_template_part( 'nothing-found' );
    3737
    3838            endif;
     
    6363            else:
    6464
    65               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     65              get_template_part( 'nothing-found' );
    6666
    6767            endif;
     
    8989            else:
    9090
    91               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     91              get_template_part( 'nothing-found' );
    9292
    9393            endif;
     
    121121            else:
    122122
    123               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     123              get_template_part( 'nothing-found' );
    124124
    125125            endif;
     
    146146                else:
    147147
    148                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     148                  get_template_part( 'nothing-found' );
    149149
    150150                endif;
     
    169169                else:
    170170
    171                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     171                  get_template_part( 'nothing-found' );
    172172
    173173                endif;
     
    200200                else:
    201201
    202                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     202                  get_template_part( 'nothing-found' );
    203203
    204204                endif;
  • project-management/1.9/readme.txt

    r258677 r262095  
    33Tags: news, portfolio, education, 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.8
     5Stable tag: 1.9
    66Requires PHP: 7.2
    77Tested up to: 6.7
     
    8484* Updated customizer settings.
    8585
     86= 1.9 = March - 04 - 2025
     87
     88* Added no result settings.
     89* Added nothing-found.php file.
     90* Added bundle button in customizer.
     91* recommend mosaic plugin.
     92* Updated woocommerce template.
     93* Do proper escaping.
     94
    8695== Resources ==
    8796
  • project-management/1.9/search.php

    r254642 r262095  
    3636            else:
    3737
    38               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     38              get_template_part( 'nothing-found' );
    3939
    4040            endif;
     
    6666            else:
    6767
    68               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     68              get_template_part( 'nothing-found' );
    6969
    7070            endif;
     
    9393            else:
    9494
    95               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     95              get_template_part( 'nothing-found' );
    9696
    9797            endif;
     
    126126            else:
    127127
    128               esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     128              get_template_part( 'nothing-found' );
    129129
    130130            endif;
     
    153153                else:
    154154
    155                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     155                  get_template_part( 'nothing-found' );
    156156
    157157                endif;
     
    178178                else:
    179179
    180                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     180                  get_template_part( 'nothing-found' );
    181181
    182182                endif;
     
    210210                else:
    211211
    212                   esc_html_e( 'Sorry, no post found on this archive.', 'project-management' );
     212                  get_template_part( 'nothing-found' );
    213213
    214214                endif;
  • project-management/1.9/style.css

    r258677 r262095  
    55Theme URI: https://www.misbahwp.com/products/free-project-management-wordpress-theme
    66Author URI: https://www.misbahwp.com/
    7 Version: 1.8
     7Version: 1.9
    88Requires PHP: 7.2
    99Tested up to: 6.7
  • project-management/1.9/woocommerce/archive-product.php

    r239734 r262095  
    2626    </div>
    2727    <div class="header-area">
    28         <h1 class="post-title feature-header-title"><?php echo(esc_html_e('Archive Product Page','project-management')); ?></h1>
     28        <h1 class="post-title feature-header-title"><?php esc_html_e('Archive Product Page','project-management'); ?></h1>
    2929        <?php if ( get_theme_mod('project_management_breadcrumb_enable',true) ) : ?>
    3030          <div class="bread_crumb text-center">
  • project-management/1.9/woocommerce/myaccount/form-login.php

    r244561 r262095  
    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', 'project-management' ); ?></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' ); ?>
  • project-management/1.9/woocommerce/single-product.php

    r257886 r262095  
    2929    </div>
    3030    <div class="header-area">
    31         <h1 class="post-title feature-header-title"><?php echo get_the_title(); ?></h1>
     31        <h1 class="post-title feature-header-title"><?php esc_html_e('Single Product Page','project-management'); ?></h1>
    3232        <?php if ( get_theme_mod('project_management_breadcrumb_enable',true) ) : ?>
    3333          <div class="bread_crumb text-center">
Note: See TracChangeset for help on using the changeset viewer.