Make WordPress Themes

Changeset 182758


Ignore:
Timestamp:
01/06/2023 06:19:01 AM (4 years ago)
Author:
themedropbox
Message:

New version of Educator Education - 0.4.3

Location:
educator-education/0.4.3
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • educator-education/0.4.3/footer.php

    r171215 r182758  
    4848    </div>
    4949  </div>
    50   <div class="copyright p-3 text-center">
     50  <div class="copyright text-center p-3">
    5151    <p class="mb-0"><?php educator_education_credit();?> <?php echo esc_html(get_theme_mod('educator_education_footer_copy', __('By Themeshopy', 'educator-education')));?></p>
    5252  </div>
  • educator-education/0.4.3/inc/customizer.php

    r181116 r182758  
    758758    ));
    759759
     760    // shop page sidebar alignment
     761    $wp_customize->add_setting('educator_education_shop_page_layout', array(
     762                'default'           => 'Right Sidebar',
     763                'sanitize_callback' => 'educator_education_sanitize_choices',
     764        ));
     765        $wp_customize->add_control('educator_education_shop_page_layout',array(
     766                'type'           => 'radio',
     767                'label'          => __('Shop Page layout', 'educator-education'),
     768                'section'        => 'educator_education_left_right',
     769                'choices'        => array(
     770                        'Left Sidebar'  => __('Left Sidebar', 'educator-education'),
     771                        'Right Sidebar' => __('Right Sidebar', 'educator-education'),
     772                ),
     773        ));
     774
    760775        $wp_customize->add_setting( 'educator_education_wocommerce_single_page_sidebar',array(
    761776                'default' => true,
    … …  
    767782                'section' => 'educator_education_left_right'
    768783    ));
     784   
     785    // single product page sidebar alignment
     786    $wp_customize->add_setting('educator_education_single_product_page_layout', array(
     787                'default'           => 'Right Sidebar',
     788                'sanitize_callback' => 'educator_education_sanitize_choices',
     789        ));
     790        $wp_customize->add_control('educator_education_single_product_page_layout',array(
     791                'type'           => 'radio',
     792                'label'          => __('Single product Page layout', 'educator-education'),
     793                'section'        => 'educator_education_left_right',
     794                'choices'        => array(
     795                        'Left Sidebar'  => __('Left Sidebar', 'educator-education'),
     796                        'Right Sidebar' => __('Right Sidebar', 'educator-education'),
     797                ),
     798        ));
    769799
    770800    $wp_customize->add_setting( 'educator_education_single_page_breadcrumb',array(
  • educator-education/0.4.3/inc/ts-color-pallete.php

    r179812 r182758  
    159159        if($educator_education_copyright_content_align != false){
    160160                $educator_education_custom_css .='.copyright{';
    161                         $educator_education_custom_css .='text-align: '.esc_attr($educator_education_copyright_content_align).';';
     161                        $educator_education_custom_css .='text-align: '.esc_attr($educator_education_copyright_content_align).'!important;';
    162162                $educator_education_custom_css .='}';
    163163        }
  • educator-education/0.4.3/languages/educator-education.pot

    r181116 r182758  
    607607msgstr ""
    608608
     609#: customizer.php:767
     610msgid "Shop Page layout"
     611msgstr ""
     612
    609613#: customizer.php:714
    610614msgid "Show / Hide Single Product Page Sidebar"
     615msgstr ""
     616
     617#: customizer.php:792
     618msgid "Single product Page layout"
    611619msgstr ""
    612620
  • educator-education/0.4.3/readme.txt

    r181116 r182758  
    55Tested up to: 6.1
    66Requires PHP: 7.2
    7 Stable tag: 0.4.2
     7Stable tag: 0.4.3
    88License: GPLv3.0 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    … …  
    1313== Description ==
    1414
    15 Educator Education is a clean, simple, and professionally developed WordPress theme for universities, kindergartens, schools, academies, educational institutions, teachers, tutors, learning management systems, training and coaching centers, language schools, and e-learning portals. Its adaptable and highly responsive layout is going to make the design work exceptionally well on various screens and devices. The user-friendly interface will make it easy for anyone irrespective of their coding skills, to create a functional website. It has got a flexible design that comes with some personalization options for making a few changes. With SEO-friendly HTML codes included in the design, there is hardly anything you would have to do for getting better SEO ranks as simply using a proper keyword would serve the purpose. You have the secure and clean codes that are going to reflect in your website’s performance as well since your web page is going to have a faster page load time. It is possible to achieve a lot with the various social media icons available with the theme. With a Bootstrap framework being used, this theme is such a robust WordPress theme that can handle high traffic flows as well. There are many Call to Action Button (CTA) included along with plenty of social media icons and animation effects.
     15Educator Education is a clean, simple, and professionally developed WordPress theme for universities, kindergartens, schools, lms based website, language school, business school, arts schools, academies, educational institutions, teachers, tutors, learning management systems, training and coaching centers, language schools, and e-learning portals. Its adaptable and highly responsive layout is going to make the design work exceptionally well on various screens and devices. The user-friendly interface will make it easy for anyone irrespective of their coding skills, to create a functional website. It has got a flexible design that comes with some personalization options for making a few changes. With SEO-friendly HTML codes included in the design, there is hardly anything you would have to do for getting better SEO ranks as simply using a proper keyword would serve the purpose. You have the secure and clean codes that are going to reflect in your website’s performance as well since your web page is going to have a faster page load time. It is possible to achieve a lot with the various social media icons available with the theme. With a Bootstrap framework being used, this theme is such a robust WordPress theme that can handle high traffic flows as well. There are many Call to Action Button (CTA) included along with plenty of social media icons and animation effects.
    1616
    1717== Changelog ==
    … …  
    9494* Updated pot file.
    9595
     96= 0.4.3 =
     97* Resolve css error for Copyright text alignment.
     98* Added shop page sidebar layout option.
     99* Added single product page sidebar layout option.
     100* Updated pot file.
     101
    96102== Resources ==
    97103
  • educator-education/0.4.3/style.css

    r181116 r182758  
    44Author: Themeshopy
    55Author URI: https://www.themeshopy.com/
    6 Description: Educator Education is a clean, simple, and professionally developed WordPress theme for universities, kindergartens, schools, academies, educational institutions, teachers, tutors, learning management systems, training and coaching centers, language schools, and e-learning portals. Its adaptable and highly responsive layout is going to make the design work exceptionally well on various screens and devices. The user-friendly interface will make it easy for anyone irrespective of their coding skills, to create a functional website. It has got a flexible design that comes with some personalization options for making a few changes. With SEO-friendly HTML codes included in the design, there is hardly anything you would have to do for getting better SEO ranks as simply using a proper keyword would serve the purpose. You have the secure and clean codes that are going to reflect in your website’s performance as well since your web page is going to have a faster page load time. It is possible to achieve a lot with the various social media icons available with the theme. With a Bootstrap framework being used, this theme is such a robust WordPress theme that can handle high traffic flows as well. There are many Call to Action Button (CTA) included along with plenty of social media icons and animation effects. Demo: https://www.themeshopy.com/educator-education-pro/
     6Description: Educator Education is a clean, simple, and professionally developed WordPress theme for universities, kindergartens, schools, lms based website, language school, business school, arts schools, academies, educational institutions, teachers, tutors, learning management systems, training and coaching centers, language schools, and e-learning portals. Its adaptable and highly responsive layout is going to make the design work exceptionally well on various screens and devices. The user-friendly interface will make it easy for anyone irrespective of their coding skills, to create a functional website. It has got a flexible design that comes with some personalization options for making a few changes. With SEO-friendly HTML codes included in the design, there is hardly anything you would have to do for getting better SEO ranks as simply using a proper keyword would serve the purpose. You have the secure and clean codes that are going to reflect in your website’s performance as well since your web page is going to have a faster page load time. It is possible to achieve a lot with the various social media icons available with the theme. With a Bootstrap framework being used, this theme is such a robust WordPress theme that can handle high traffic flows as well. There are many Call to Action Button (CTA) included along with plenty of social media icons and animation effects. Demo: https://www.themeshopy.com/educator-education-pro/
    77Requires at least: 5.0
    88Tested up to: 6.1
    99Requires PHP: 7.2
    10 Version: 0.4.2
     10Version: 0.4.3
    1111License: GPLv3.0 or later
    1212License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • educator-education/0.4.3/woocommerce/archive-product.php

    r162363 r182758  
    3131        <main role="main" id="maincontent" class="py-5">
    3232                <div class="row m-0">
    33                         <div class="<?php echo esc_html( $colmd ); ?>">
    34                                 <?php
     33                        <?php if(get_theme_mod( 'educator_education_shop_page_layout','Right Sidebar') == 'Right Sidebar'){ ?>
     34                                <div class="<?php echo esc_html( $colmd ); ?>">
     35                                        <?php
     36                                                /**
     37                                                 * Hook: woocommerce_before_main_content.
     38                                                 *
     39                                                 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
     40                                                 * @hooked woocommerce_breadcrumb - 20
     41                                                 * @hooked WC_Structured_Data::generate_website_data() - 30
     42                                                 */
     43                                                do_action( 'woocommerce_before_main_content' );
     44
     45                                        ?>
     46                                        <header role="banner" class="woocommerce-products-header">
     47                                                <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
     48                                                        <h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
     49                                                <?php endif; ?>
     50
     51                                                <?php
     52                                                /**
     53                                                 * Hook: woocommerce_archive_description.
     54                                                 *
     55                                                 * @hooked woocommerce_taxonomy_archive_description - 10
     56                                                 * @hooked woocommerce_product_archive_description - 10
     57                                                 */
     58                                                do_action( 'woocommerce_archive_description' );
     59                                                ?>
     60                                        </header>
     61                                        <?php
     62                                        if ( woocommerce_product_loop() ) {
     63
     64                                                /**
     65                                                 * Hook: woocommerce_before_shop_loop.
     66                                                 *
     67                                                 * @hooked woocommerce_output_all_notices - 10
     68                                                 * @hooked woocommerce_result_count - 20
     69                                                 * @hooked woocommerce_catalog_ordering - 30
     70                                                 */
     71                                                do_action( 'woocommerce_before_shop_loop' );
     72
     73                                                woocommerce_product_loop_start();
     74
     75                                                if ( wc_get_loop_prop( 'total' ) ) {
     76                                                        while ( have_posts() ) {
     77                                                                the_post();
     78
     79                                                                /**
     80                                                                 * Hook: woocommerce_shop_loop.
     81                                                                 *
     82                                                                 * @hooked WC_Structured_Data::generate_product_data() - 10
     83                                                                 */
     84                                                                do_action( 'woocommerce_shop_loop' );
     85
     86                                                                wc_get_template_part( 'content', 'product' );
     87                                                        }
     88                                                }
     89
     90                                                woocommerce_product_loop_end();
     91
     92                                                /**
     93                                                 * Hook: woocommerce_after_shop_loop.
     94                                                 *
     95                                                 * @hooked woocommerce_pagination - 10
     96                                                 */
     97                                                do_action( 'woocommerce_after_shop_loop' );
     98                                        }   else {
     99                                                /**
     100                                                 * Hook: woocommerce_no_products_found.
     101                                                 *
     102                                                 * @hooked wc_no_products_found - 10
     103                                                 */
     104                                                do_action( 'woocommerce_no_products_found' );
     105                                        }
     106
    35107                                        /**
    36                                          * Hook: woocommerce_before_main_content.
     108                                         * Hook: woocommerce_after_main_content.
    37109                                         *
    38                                          * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
    39                                          * @hooked woocommerce_breadcrumb - 20
    40                                          * @hooked WC_Structured_Data::generate_website_data() - 30
     110                                         * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    41111                                         */
    42                                         do_action( 'woocommerce_before_main_content' );
    43 
    44                                 ?>
    45                                 <header role="banner" class="woocommerce-products-header">
    46                                         <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
    47                                                 <h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
    48                                         <?php endif; ?>
    49 
    50                                         <?php
     112                                        do_action( 'woocommerce_after_main_content' );?>
     113
     114                                </div>
     115                                <?php if ( false != $educator_education_shop_page_sidebar ) {?>
     116                                        <div class="col-lg-4 col-md-4 mt-3" id="sidebar">
     117                                                <?php dynamic_sidebar('woocommerce_sidebar'); ?>
     118                                        </div>
     119                                <?php } ?>
     120                        <?php } elseif (get_theme_mod( 'educator_education_shop_page_layout','Right Sidebar') == 'Left Sidebar') {?>
     121                                <?php if ( false != $educator_education_shop_page_sidebar ) {?>
     122                                        <div class="col-lg-4 col-md-4 mt-3" id="sidebar">
     123                                                <?php dynamic_sidebar('woocommerce_sidebar'); ?>
     124                                        </div>
     125                                <?php } ?>
     126                                <div class="<?php echo esc_html( $colmd ); ?>">
     127                                        <?php
     128                                                /**
     129                                                 * Hook: woocommerce_before_main_content.
     130                                                 *
     131                                                 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
     132                                                 * @hooked woocommerce_breadcrumb - 20
     133                                                 * @hooked WC_Structured_Data::generate_website_data() - 30
     134                                                 */
     135                                                do_action( 'woocommerce_before_main_content' );
     136
     137                                        ?>
     138                                        <header role="banner" class="woocommerce-products-header">
     139                                                <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
     140                                                        <h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
     141                                                <?php endif; ?>
     142
     143                                                <?php
     144                                                /**
     145                                                 * Hook: woocommerce_archive_description.
     146                                                 *
     147                                                 * @hooked woocommerce_taxonomy_archive_description - 10
     148                                                 * @hooked woocommerce_product_archive_description - 10
     149                                                 */
     150                                                do_action( 'woocommerce_archive_description' );
     151                                                ?>
     152                                        </header>
     153                                        <?php
     154                                        if ( woocommerce_product_loop() ) {
     155
     156                                                /**
     157                                                 * Hook: woocommerce_before_shop_loop.
     158                                                 *
     159                                                 * @hooked woocommerce_output_all_notices - 10
     160                                                 * @hooked woocommerce_result_count - 20
     161                                                 * @hooked woocommerce_catalog_ordering - 30
     162                                                 */
     163                                                do_action( 'woocommerce_before_shop_loop' );
     164
     165                                                woocommerce_product_loop_start();
     166
     167                                                if ( wc_get_loop_prop( 'total' ) ) {
     168                                                        while ( have_posts() ) {
     169                                                                the_post();
     170
     171                                                                /**
     172                                                                 * Hook: woocommerce_shop_loop.
     173                                                                 *
     174                                                                 * @hooked WC_Structured_Data::generate_product_data() - 10
     175                                                                 */
     176                                                                do_action( 'woocommerce_shop_loop' );
     177
     178                                                                wc_get_template_part( 'content', 'product' );
     179                                                        }
     180                                                }
     181
     182                                                woocommerce_product_loop_end();
     183
     184                                                /**
     185                                                 * Hook: woocommerce_after_shop_loop.
     186                                                 *
     187                                                 * @hooked woocommerce_pagination - 10
     188                                                 */
     189                                                do_action( 'woocommerce_after_shop_loop' );
     190                                        }   else {
     191                                                /**
     192                                                 * Hook: woocommerce_no_products_found.
     193                                                 *
     194                                                 * @hooked wc_no_products_found - 10
     195                                                 */
     196                                                do_action( 'woocommerce_no_products_found' );
     197                                        }
     198
    51199                                        /**
    52                                          * Hook: woocommerce_archive_description.
     200                                         * Hook: woocommerce_after_main_content.
    53201                                         *
    54                                          * @hooked woocommerce_taxonomy_archive_description - 10
    55                                          * @hooked woocommerce_product_archive_description - 10
     202                                         * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    56203                                         */
    57                                         do_action( 'woocommerce_archive_description' );
    58                                         ?>
    59                                 </header>
    60                                 <?php
    61                                 if ( woocommerce_product_loop() ) {
    62 
    63                                         /**
    64                                          * Hook: woocommerce_before_shop_loop.
    65                                          *
    66                                          * @hooked woocommerce_output_all_notices - 10
    67                                          * @hooked woocommerce_result_count - 20
    68                                          * @hooked woocommerce_catalog_ordering - 30
    69                                          */
    70                                         do_action( 'woocommerce_before_shop_loop' );
    71 
    72                                         woocommerce_product_loop_start();
    73 
    74                                         if ( wc_get_loop_prop( 'total' ) ) {
    75                                                 while ( have_posts() ) {
    76                                                         the_post();
    77 
    78                                                         /**
    79                                                          * Hook: woocommerce_shop_loop.
    80                                                          *
    81                                                          * @hooked WC_Structured_Data::generate_product_data() - 10
    82                                                          */
    83                                                         do_action( 'woocommerce_shop_loop' );
    84 
    85                                                         wc_get_template_part( 'content', 'product' );
    86                                                 }
    87                                         }
    88 
    89                                         woocommerce_product_loop_end();
    90 
    91                                         /**
    92                                          * Hook: woocommerce_after_shop_loop.
    93                                          *
    94                                          * @hooked woocommerce_pagination - 10
    95                                          */
    96                                         do_action( 'woocommerce_after_shop_loop' );
    97                                 }   else {
    98                                         /**
    99                                          * Hook: woocommerce_no_products_found.
    100                                          *
    101                                          * @hooked wc_no_products_found - 10
    102                                          */
    103                                         do_action( 'woocommerce_no_products_found' );
    104                                 }
    105 
    106                                 /**
    107                                  * Hook: woocommerce_after_main_content.
    108                                  *
    109                                  * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    110                                  */
    111                                 do_action( 'woocommerce_after_main_content' );?>
    112 
    113                         </div>
    114                         <?php if ( false != $educator_education_shop_page_sidebar ) {?>
    115                                 <div class="col-lg-4 col-md-4 mt-3" id="sidebar">
    116                                         <?php dynamic_sidebar('woocommerce_sidebar'); ?>
     204                                        do_action( 'woocommerce_after_main_content' );?>
     205
    117206                                </div>
    118                         <?php } ?>
     207                        <?php }?>       
    119208                </div>
    120209        </main>
  • educator-education/0.4.3/woocommerce/single-product.php

    r162363 r182758  
    3434        <main role="main" id="maincontent">
    3535                <div class="row m-0">
    36                         <div class="<?php echo esc_html( $colmd ); ?> background-img-skin">
    37                                 <?php
    38                                         /**
    39                                          * woocommerce_before_main_content hook.
    40                                          *
    41                                          * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
    42                                          * @hooked woocommerce_breadcrumb - 20
    43                                          */
    44                                         do_action( 'woocommerce_before_main_content' );
    45                                 ?>
     36                        <?php if(get_theme_mod( 'educator_education_single_product_page_layout','Right Sidebar') == 'Right Sidebar'){ ?>
     37                                <div class="<?php echo esc_html( $colmd ); ?> background-img-skin">
     38                                        <?php
     39                                                /**
     40                                                 * woocommerce_before_main_content hook.
     41                                                 *
     42                                                 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
     43                                                 * @hooked woocommerce_breadcrumb - 20
     44                                                 */
     45                                                do_action( 'woocommerce_before_main_content' );
     46                                        ?>
    4647
    47                                         <?php while ( have_posts() ) : the_post(); ?>
     48                                                <?php while ( have_posts() ) : the_post(); ?>
    4849
    49                                                 <?php wc_get_template_part( 'content', 'single-product' ); ?>
     50                                                        <?php wc_get_template_part( 'content', 'single-product' ); ?>
    5051
    51                                         <?php endwhile; // end of the loop. ?>
     52                                                <?php endwhile; // end of the loop. ?>
    5253
    53                                 <?php
    54                                         /**
    55                                          * woocommerce_after_main_content hook.
    56                                          *
    57                                          * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    58                                          */
    59                                         do_action( 'woocommerce_after_main_content' );
    60                                 ?>
    61                         </div>
    62                         <?php if ( false != $educator_education_wocommerce_single_page_sidebar ) {?>
    63                                 <div class="col-lg-4 col-md-4 mt-3" id="sidebar">
    64                                         <?php dynamic_sidebar( 'woocommerce-single-sidebar' ); ?>
     54                                        <?php
     55                                                /**
     56                                                 * woocommerce_after_main_content hook.
     57                                                 *
     58                                                 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
     59                                                 */
     60                                                do_action( 'woocommerce_after_main_content' );
     61                                        ?>
    6562                                </div>
    66                         <?php } ?>
     63                                <?php if ( false != $educator_education_wocommerce_single_page_sidebar ) {?>
     64                                        <div class="col-lg-4 col-md-4 mt-3" id="sidebar">
     65                                                <?php dynamic_sidebar( 'woocommerce-single-sidebar' ); ?>
     66                                        </div>
     67                                <?php } ?>
     68                        <?php } elseif (get_theme_mod( 'educator_education_single_product_page_layout','Right Sidebar') == 'Left Sidebar') {?> 
     69                                <?php if ( false != $educator_education_wocommerce_single_page_sidebar ) {?>
     70                                        <div class="col-lg-4 col-md-4 mt-3" id="sidebar">
     71                                                <?php dynamic_sidebar( 'woocommerce-single-sidebar' ); ?>
     72                                        </div>
     73                                <?php } ?>
     74                                <div class="<?php echo esc_html( $colmd ); ?> background-img-skin">
     75                                        <?php
     76                                                /**
     77                                                 * woocommerce_before_main_content hook.
     78                                                 *
     79                                                 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
     80                                                 * @hooked woocommerce_breadcrumb - 20
     81                                                 */
     82                                                do_action( 'woocommerce_before_main_content' );
     83                                        ?>
     84
     85                                                <?php while ( have_posts() ) : the_post(); ?>
     86
     87                                                        <?php wc_get_template_part( 'content', 'single-product' ); ?>
     88
     89                                                <?php endwhile; // end of the loop. ?>
     90
     91                                        <?php
     92                                                /**
     93                                                 * woocommerce_after_main_content hook.
     94                                                 *
     95                                                 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
     96                                                 */
     97                                                do_action( 'woocommerce_after_main_content' );
     98                                        ?>
     99                                </div>
     100                        <?php }?>       
    67101                </div>
    68102        </main>
Note: See TracChangeset for help on using the changeset viewer.