Changeset 299603
- Timestamp:
- 11/21/2025 07:38:59 AM (3 days ago)
- Location:
- doctor-general-physician/2.7
- Files:
-
- 4 edited
- 1 copied
-
. (copied) (copied from doctor-general-physician/2.6)
-
inc/customizer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
-
template-parts/post/single-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doctor-general-physician/2.7/inc/customizer.php
r285592 r299603 549 549 ) ); 550 550 551 //TP Single Blog Option 552 $wp_customize->add_section('doctor_general_physician_single_blog_option',array( 553 'title' => __('Single Post Option', 'doctor-general-physician'), 554 'priority' => 1, 555 'panel' => 'doctor_general_physician_panel_id' 556 ) ); 557 558 /** Meta Order */ 559 $wp_customize->add_setting('doctor_general_physician_single_blog_meta_order', array( 560 'default' => array('date', 'author', 'comment','category', 'time'), 561 'sanitize_callback' => 'doctor_general_physician_sanitize_sortable', 562 )); 563 $wp_customize->add_control(new doctor_general_physician_Control_Sortable($wp_customize, 'doctor_general_physician_single_blog_meta_order', array( 564 'label' => esc_html__('Meta Order', 'doctor-general-physician'), 565 'description' => __('Drag & Drop post items to re-arrange the order and also hide and show items as per the need by clicking on the eye icon.', 'doctor-general-physician') , 566 'section' => 'doctor_general_physician_single_blog_option', 567 'choices' => array( 568 'date' => __('date', 'doctor-general-physician') , 569 'author' => __('author', 'doctor-general-physician') , 570 'comment' => __('comment', 'doctor-general-physician') , 571 'category' => __('category', 'doctor-general-physician') , 572 'time' => __('time', 'doctor-general-physician') , 573 ) , 574 ))); 575 576 $wp_customize->add_setting('doctor_general_physician_single_post_date_icon',array( 577 'default' => 'far fa-calendar-alt', 578 'sanitize_callback' => 'sanitize_text_field' 579 )); 580 $wp_customize->add_control(new Doctor_General_Physician_Icon_Changer( 581 $wp_customize,'doctor_general_physician_single_post_date_icon',array( 582 'label' => __('Change Date Icon','doctor-general-physician'), 583 'transport' => 'refresh', 584 'section' => 'doctor_general_physician_single_blog_option', 585 'type' => 'doctor-general-physician-icon' 586 ))); 587 588 $wp_customize->add_setting('doctor_general_physician_single_post_author_icon',array( 589 'default' => 'fas fa-user', 590 'sanitize_callback' => 'sanitize_text_field' 591 )); 592 $wp_customize->add_control(new Doctor_General_Physician_Icon_Changer( 593 $wp_customize,'doctor_general_physician_single_post_author_icon',array( 594 'label' => __('Change Author Icon','doctor-general-physician'), 595 'transport' => 'refresh', 596 'section' => 'doctor_general_physician_single_blog_option', 597 'type' => 'doctor-general-physician-icon' 598 ))); 599 600 $wp_customize->add_setting('doctor_general_physician_single_post_comment_icon',array( 601 'default' => 'fas fa-comments', 602 'sanitize_callback' => 'sanitize_text_field' 603 )); 604 $wp_customize->add_control(new Doctor_General_Physician_Icon_Changer( 605 $wp_customize,'doctor_general_physician_single_post_comment_icon',array( 606 'label' => __('Change Comment Icon','doctor-general-physician'), 607 'transport' => 'refresh', 608 'section' => 'doctor_general_physician_single_blog_option', 609 'type' => 'doctor-general-physician-icon' 610 ))); 611 612 $wp_customize->add_setting('doctor_general_physician_single_post_category_icon',array( 613 'default' => 'fas fa-list', 614 'sanitize_callback' => 'sanitize_text_field' 615 )); 616 $wp_customize->add_control(new Doctor_General_Physician_Icon_Changer( 617 $wp_customize,'doctor_general_physician_single_post_category_icon',array( 618 'label' => __('Change Category Icon','doctor-general-physician'), 619 'transport' => 'refresh', 620 'section' => 'doctor_general_physician_single_blog_option', 621 'type' => 'doctor-general-physician-icon' 622 ))); 623 624 $wp_customize->add_setting('doctor_general_physician_single_post_time_icon',array( 625 'default' => 'fas fa-clock', 626 'sanitize_callback' => 'sanitize_text_field' 627 )); 628 $wp_customize->add_control(new Doctor_General_Physician_Icon_Changer( 629 $wp_customize,'doctor_general_physician_single_post_time_icon',array( 630 'label' => __('Change Time Icon','doctor-general-physician'), 631 'transport' => 'refresh', 632 'section' => 'doctor_general_physician_single_blog_option', 633 'type' => 'doctor-general-physician-icon' 634 ))); 635 551 636 //MENU TYPOGRAPHY 552 637 $wp_customize->add_section( 'doctor_general_physician_menu_typography', array( -
doctor-general-physician/2.7/readme.txt
r298211 r299603 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 2. 67 Stable tag: 2.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 139 139 = 2.6 = 140 140 * Resolved theme css errors. 141 142 = 2.7 = 143 * Added post meta order option for single post display. 144 * Added option to customize the date icon in single posts. 145 * Added option to customize the author icon in single posts. 146 * Added option to customize the comment icon in single posts. 147 * Added option to customize the category icon in single posts. 148 * Added option to customize the time icon in single posts. 141 149 142 150 == Resources == -
doctor-general-physician/2.7/style.css
r298211 r299603 5 5 Author URI: https://www.themespride.com/ 6 6 Description: The Doctor Physician WordPress Lite Theme is a modern and responsive solution designed specifically for healthcare professionals, doctors, clinics, and medical institutions. Whether you are a general practitioner, specialist, or running a healthcare clinic, this theme provides all the essential features needed to create a professional online presence effortlessly. It boasts a mobile-responsive design that ensures your website looks great across all devices, offering patients easy access to your site anytime, anywhere.The theme features a clean and professional layout, prioritizing readability and user experience, helping you present your services clearly. You can integrate appointment booking plugins seamlessly, allowing patients to schedule consultations directly from your site. The customizable service pages enable you to showcase your medical expertise and offerings in a way that’s easy for patients to understand.Optimized for SEO, the Doctor Physician WordPress Lite Theme helps your practice rank well in search results, attracting local traffic. It also includes blogging capabilities, allowing you to share medical advice, health tips, and updates, thereby engaging with your audience while boosting your SEO. The built-in contact forms and Google Maps integration make it easy for patients to reach out to you and find your clinic, improving accessibility. With customizable sections for colors, fonts, and layouts, you can effortlessly personalize the theme to match your brand without any coding knowledge. Designed for simplicity, efficiency, and elegance, the Doctor Physician WordPress Lite Theme is the perfect choice for medical professionals seeking to enhance their digital presence while focusing on patient care. 7 Version: 2. 67 Version: 2.7 8 8 Tested up to: 6.8 9 9 Requires PHP: 5.6 -
doctor-general-physician/2.7/template-parts/post/single-post.php
r281110 r299603 11 11 <div class="box-info"> 12 12 <?php 13 $doctor_general_physician_blog_archive_ordering = get_theme_mod(' blog_meta_order', array('date', 'author', 'comment', 'category'));13 $doctor_general_physician_blog_archive_ordering = get_theme_mod('doctor_general_physician_single_blog_meta_order', array('date', 'author', 'comment', 'category')); 14 14 15 15 foreach ($doctor_general_physician_blog_archive_ordering as $doctor_general_physician_blog_data_order) : 16 16 if ('date' === $doctor_general_physician_blog_data_order) : ?> 17 <i class=" far fa-calendar-alt mb-1 me-2"></i>17 <i class="<?php echo esc_attr(get_theme_mod('doctor_general_physician_single_post_date_icon','far fa-calendar-alt mb-1 me-2')); ?>"></i> 18 18 <span class="entry-date me-3"><?php echo get_the_date('j F, Y'); ?></span> 19 19 <?php elseif ('author' === $doctor_general_physician_blog_data_order) : ?> 20 <i class=" fas fa-user mb-1 me-2"></i>20 <i class="<?php echo esc_attr(get_theme_mod('doctor_general_physician_single_post_author_icon','fas fa-user mb-1 me-2')); ?>"></i> 21 21 <span class="entry-author me-3"><?php the_author(); ?></span> 22 22 <?php elseif ('comment' === $doctor_general_physician_blog_data_order) : ?> 23 <i class=" fas fa-comments mb-1 me-2"></i>23 <i class="<?php echo esc_attr(get_theme_mod('doctor_general_physician_single_post_comment_icon','fas fa-comments mb-1 me-2')); ?>"></i> 24 24 <span class="entry-comments me-3"><?php comments_number(__('0 Comments', 'doctor-general-physician'), __('0 Comments', 'doctor-general-physician'), __('% Comments', 'doctor-general-physician')); ?></span> 25 25 <?php elseif ('category' === $doctor_general_physician_blog_data_order) : ?> 26 <i class=" fas fa-list mb-1 me-2"></i>26 <i class="<?php echo esc_attr(get_theme_mod('doctor_general_physician_single_post_category_icon','fas fa-list mb-1 me-2')); ?>"></i> 27 27 <span class="entry-category me-3"><?php doctor_general_physician_display_post_category_count(); ?></span> 28 28 <?php elseif ('time' === $doctor_general_physician_blog_data_order) : ?> 29 <i class=" fas fa-clock mb-1 me-2"></i>29 <i class="<?php echo esc_attr(get_theme_mod('doctor_general_physician_single_post_time_icon','fas fa-clock mb-1 me-2')); ?>"></i> 30 30 <span class="entry-time me-3"><?php echo get_the_time('g:i a'); ?></span> 31 31
Note: See TracChangeset
for help on using the changeset viewer.