Make WordPress Themes

Changeset 298928


Ignore:
Timestamp:
11/18/2025 06:09:30 AM (6 days ago)
Author:
themedropbox
Message:

New version of Misbah Lighting - 3.5

Location:
misbah-lighting/3.5
Files:
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • misbah-lighting/3.5/core/includes/class-upgrade-pro.php

    r262093 r298928  
    6868        $manager->register_section_type( 'Misbah_Lighting_Customize_Section_Pro' );
    6969
     70        // Add the PRO Upgrade section.
    7071        $manager->add_section(
    71             new Misbah_Lighting_Customize_Section_Pro(
    72                 $manager,
    73                 'misbah_lighting_upgrade_pro',
    74                 array(
    75                     'title'       => esc_html__( 'Upgrade to Misbah Lighting PRO', 'misbah-lighting' ),
    76                     'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'misbah-lighting' ),
    77                     'pro_text'    => esc_html__( 'View Misbah Lighting PRO', 'misbah-lighting' ),
    78                     'pro_url'     => esc_url( MISBAH_LIGHTING_BUY_NOW ),
    79                     'bundle_text' => esc_html__( 'Get All Themes In Single Pack', 'misbah-lighting' ),
    80                     'bundle_url'  => esc_url( MISBAH_LIGHTING_THEME_BUNDLE ),
    81                     'priority'    => 1,
    82                 )
    83             )
     72            new Misbah_Lighting_Customize_Section_Pro(
     73                $manager,
     74                'misbah_lighting_upgrade_pro',
     75                array(
     76                    'title'         => esc_html__( 'Misbah Lighting PRO', 'misbah-lighting' ),
     77                    'pro_text'      => esc_html__( 'Lighting PRO', 'misbah-lighting' ),
     78                    'pro_url'       => esc_url( MISBAH_LIGHTING_BUY_NOW ),
     79                    'demo_text'     => esc_html__( 'Demo', 'misbah-lighting' ),
     80                    'demo_url'      => esc_url( MISBAH_LIGHTING_DEMO_PRO ),
     81                    'support_text'  => esc_html__( 'Support', 'misbah-lighting' ),
     82                    'support_url'   => esc_url( MISBAH_LIGHTING_SUPPORT_FREE ),
     83                    'bundle_text'   => esc_html__( 'Get All Themes', 'misbah-lighting' ),
     84                    'bundle_url'    => esc_url( MISBAH_LIGHTING_THEME_BUNDLE ),
     85                    'lite_doc_text' => esc_html__( 'Lite Doc', 'misbah-lighting' ),
     86                    'lite_doc_url'  => esc_url( MISBAH_LIGHTING_DOCS_FREE ),
     87                    'review_text'   => esc_html__( 'Review', 'misbah-lighting' ),
     88                    'review_url'    => esc_url( MISBAH_LIGHTING_REVIEW_FREE ),
     89                    'priority'      => 1,
     90                )
     91            )
    8492        );
     93
    8594    }
    8695
     
    94103    public function enqueue_control_scripts() {
    95104
    96         wp_enqueue_script( 'misbah-lighting-customize-controls', trailingslashit( get_template_directory_uri() ) . '/js/customize-controls.js', array( 'customize-controls' ) );
     105        wp_enqueue_script(
     106            'misbah-lighting-customize-controls',
     107            trailingslashit( get_template_directory_uri() ) . '/js/customize-controls.js',
     108            array( 'customize-controls' )
     109        );
    97110
    98         wp_enqueue_style( 'misbah-lighting-customize-controls', trailingslashit( get_template_directory_uri() ) . '/css/customize-controls.css' );
     111        wp_enqueue_style(
     112            'misbah-lighting-customize-controls',
     113            trailingslashit( get_template_directory_uri() ) . '/css/customize-controls.css'
     114        );
    99115    }
    100116}
  • misbah-lighting/3.5/core/includes/main.php

    r291757 r298928  
    151151                <div class="insidee theme-bundle">
    152152                    <img width="100%" src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/bundle-image.png' ); ?>" alt="<?php esc_attr_e('logo', 'misbah-lighting'); ?>">
    153                     <p class="offer"><?php esc_html_e('Get 90+ Perfect WordPress Theme In A Single Package at just $89."','misbah-lighting'); ?></p>
    154                     <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 90+ WordPress Themes At 15% Off','misbah-lighting'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','misbah-lighting'); ?></span></p>
     153                    <p class="offer"><?php esc_html_e('Get 100+ Perfect WordPress Theme In A Single Package at just $89."','misbah-lighting'); ?></p>
     154                    <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 100+ WordPress Themes At 15% Off','misbah-lighting'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','misbah-lighting'); ?></span></p>
    155155                <div id="admin_pro_linkss">
    156156                    <a class="blue-button-1" href="<?php echo esc_url( MISBAH_LIGHTING_THEME_BUNDLE ); ?>" target="_blank"><?php esc_html_e( 'Buy All Themes - $89', 'misbah-lighting' ) ?></a>
  • misbah-lighting/3.5/core/includes/upgrade-pro.php

    r262093 r298928  
    1818
    1919    /**
    20      * Custom button text to output.
    21      *
    22      * @since  1.0.0
    23      * @access public
    24      * @var    string
     20     * Custom button texts and URLs.
    2521     */
    2622    public $pro_text = '';
     23    public $bundle_text = '';
     24    public $pro_url = '';
     25    public $bundle_url = '';
    2726
    28     /**
    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     /**
    38      * Custom pro button URL.
    39      *
    40      * @since  1.0.0
    41      * @access public
    42      * @var    string
    43      */
    44     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 = '';
     27    // Added new fields
     28    public $demo_text = '';
     29    public $demo_url = '';
     30    public $support_text = '';
     31    public $support_url = '';
     32    public $lite_doc_text = '';
     33    public $lite_doc_url = '';
     34    public $review_text = '';
     35    public $review_url = '';
    5436
    5537    /**
     
    6345        $json = parent::json();
    6446
    65         $json['pro_text'] = $this->pro_text;
    66         $json['pro_url']  = esc_url( $this->pro_url );
     47        $json['pro_text']      = $this->pro_text;
     48        $json['pro_url']       = esc_url( $this->pro_url );
     49        $json['bundle_text']   = $this->bundle_text;
     50        $json['bundle_url']    = esc_url( $this->bundle_url );
    6751
    68         $json['bundle_text'] = $this->bundle_text;
    69         $json['bundle_url']  = esc_url( $this->bundle_url );
     52        // New JSON fields
     53        $json['demo_text']     = $this->demo_text;
     54        $json['demo_url']      = esc_url( $this->demo_url );
     55        $json['support_text']  = $this->support_text;
     56        $json['support_url']   = esc_url( $this->support_url );
     57        $json['lite_doc_text'] = $this->lite_doc_text;
     58        $json['lite_doc_url']  = esc_url( $this->lite_doc_url );
     59        $json['review_text']   = $this->review_text;
     60        $json['review_url']    = esc_url( $this->review_url );
    7061
    7162        return $json;
     
    8374            <h3 class="accordion-section-title">
    8475                {{ data.title }}
     76                <span class="customize-action">{{ data.description }}</span>
     77                <div class="custom-action-buttonss">
     78                    <# if ( data.demo_text && data.demo_url ) { #>
     79                        <a href="{{ data.demo_url }}" class="button button-primary custom-demo" target="_blank">{{ data.demo_text }}</a>
     80                    <# } #>
    8581
    86                 <span class="customize-action">{{ data.description }}</span>
     82                    <# if ( data.pro_text && data.pro_url ) { #>
     83                        <a href="{{ data.pro_url }}" class="button button-primary custom-pro" target="_blank">{{ data.pro_text }}</a>
     84                    <# } #>
    8785
    88                 <# if ( data.pro_text && data.pro_url ) { #>
    89                     <a href="{{ data.pro_url }}" class="button button-primary" target="_blank">{{ data.pro_text }}</a>
    90                 <# } #>
     86                    <# if ( data.lite_doc_text && data.lite_doc_url ) { #>
     87                        <a href="{{ data.lite_doc_url }}" class="button button-primary custom-doc" target="_blank">{{ data.lite_doc_text }}</a>
     88                    <# } #>
    9189
    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                 <# } #>
    95                    
     90                    <# if ( data.support_text && data.support_url ) { #>
     91                        <a href="{{ data.support_url }}" class="button button-primary custom-support" target="_blank">{{ data.support_text }}</a>
     92                    <# } #>
     93
     94                    <# if ( data.bundle_text && data.bundle_url ) { #>
     95                        <a href="{{ data.bundle_url }}" class="button button-primary custom-bundle" target="_blank">{{ data.bundle_text }}</a>
     96                    <# } #>
     97
     98                    <# if ( data.review_text && data.review_url ) { #>
     99                        <a href="{{ data.review_url }}" class="button button-primary custom-review" target="_blank">{{ data.review_text }}</a>
     100                    <# } #>
     101                </div>
    96102            </h3>
    97103        </li>
  • misbah-lighting/3.5/css/customize-controls.css

    r262093 r298928  
    7575  margin: 4px;
    7676}
     77
     78/* customizer pro details */
     79
     80.wp-full-overlay-sidebar{
     81  width: 18% !important;
     82}
     83#accordion-section-misbah_lighting_upgrade_pro.control-section .accordion-section-title{
     84  padding: 10px !important;
     85}
     86li#accordion-section-misbah_lighting_upgrade_pro {
     87    text-align: center;
     88}
     89.custom-action-buttonss {
     90    display: grid;
     91    justify-content: center;
     92    align-items: center;
     93    grid-template-columns: auto auto auto;
     94    text-align: center;
     95}
     96a.button.button-primary.custom-pro,a.button.button-primary.custom-bundle:hover {
     97    background-image: linear-gradient(96deg, #F0AC0E 0%, #F56616 100%);
     98    border: none;
     99}
     100
     101a.button.button-primary.custom-bundle,a.button.button-primary.custom-pro:hover {
     102    background-image: linear-gradient(96deg, #6254e7 0%, #9289f1 100%);
     103    border: none;
     104}
     105a.button.button-primary.custom-support,a.button.button-primary.custom-doc,a.button.button-primary.custom-demo:hover,a.button.button-primary.custom-review:hover{
     106  background: #7dc746;
     107  border: #7dc746;
     108}
     109a.button.button-primary.custom-demo,a.button.button-primary.custom-review,a.button.button-primary.custom-support:hover,a.button.button-primary.custom-doc:hover{
     110  background: #22a6d5;
     111  border: #22a6d5;
     112}
  • misbah-lighting/3.5/languages/misbah-lighting.pot

    r287969 r298928  
    14721472
    14731473#: core/includes/main.php:152
    1474 msgid "Get 90+ Perfect WordPress Theme In A Single Package at just $89.\""
     1474msgid "Get 100+ Perfect WordPress Theme In A Single Package at just $89.\""
    14751475msgstr ""
    14761476
    14771477#: core/includes/main.php:153
    1478 msgid "Get Our Theme Pack of 90+ WordPress Themes At 15% Off"
     1478msgid "Get Our Theme Pack of 100+ WordPress Themes At 15% Off"
    14791479msgstr ""
    14801480
  • misbah-lighting/3.5/readme.txt

    r296621 r298928  
    33Tags: photography, portfolio, e-commerce, wide-blocks, 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, featured-image-header, footer-widgets, full-width-template, flexible-header, rtl-language-support, editor-style, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
    44Requires at least: 5.0
    5 Stable tag: 3.4
     5Stable tag: 3.5
    66Requires PHP: 7.2
    77Tested up to: 6.8
     
    178178* resolve issues in global color.
    179179
     180= 3.5 = November - 13 - 2025
     181
     182* Increase width of customizer sidebar.
     183* Added buttons in customizer.
     184* Updated themes count to 100+ themes.
     185
    180186== Resources ==
    181187
  • misbah-lighting/3.5/style.css

    r296621 r298928  
    55Theme URI: https://www.misbahwp.com/products/free-lighting-wordpress-theme
    66Author URI: https://www.misbahwp.com/
    7 Version: 3.4
     7Version: 3.5
    88Requires PHP: 7.2
    99Tested up to: 6.8
Note: See TracChangeset for help on using the changeset viewer.