Make WordPress Themes

Changeset 161177


Ignore:
Timestamp:
01/25/2022 12:50:22 PM (4 years ago)
Author:
themedropbox
Message:

New version of Dental Insight - 0.2.9

Location:
dental-insight/0.2.9
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • dental-insight/0.2.9/assets/js/dental-insight-custom.js

    r153203 r161177  
    3232    jQuery(".preloader").delay(2000).fadeOut("slow");
    3333});
     34
     35jQuery(window).scroll(function(){
     36    if (jQuery(this).scrollTop() > 100) {
     37        jQuery('.scrollup').addClass('is-active');
     38    } else {
     39        jQuery('.scrollup').removeClass('is-active');
     40    }
     41});
     42
     43jQuery( document ).ready(function() {
     44    jQuery('#dental-insight-scroll-to-top').click(function (argument) {
     45        jQuery("html, body").animate({
     46               scrollTop: 0
     47           }, 600);
     48    })
     49})
  • dental-insight/0.2.9/footer.php

    r146341 r161177  
    1414            </div>
    1515        </div>
    16         <?php get_template_part( 'template-parts/footer/site', 'info' ); ?>
     16        <?php get_template_part( 'template-parts/footer/site', 'info' ); ?>
     17        <?php if( get_theme_mod( 'dental_insight_scroll_enable',true) != '') { ?>
     18            <div class="scroll-top">
     19                <button type=button id="dental-insight-scroll-to-top" class="scrollup"><i class="fas fa-chevron-up"></i></button>
     20            </div>
     21        <?php }?>
    1722    </footer>
    1823<?php wp_footer(); ?>
  • dental-insight/0.2.9/inc/customizer.php

    r158925 r161177  
    123123        'type'        => 'toggle',
    124124        'settings'    => 'dental_insight_theme_loader',
     125    ) ) );
     126
     127    $wp_customize->add_setting( 'dental_insight_scroll_enable', array(
     128        'default'           => true,
     129        'transport'         => 'refresh',
     130        'sanitize_callback' => 'dental_insight_sanitize_checkbox',
     131    ) );
     132    $wp_customize->add_control( new Dental_Insight_Toggle_Control( $wp_customize, 'dental_insight_scroll_enable', array(
     133        'label'       => esc_html__( 'Show Scroll Top', 'dental-insight' ),
     134        'section'     => 'dental_insight_theme_settings',
     135        'type'        => 'toggle',
     136        'settings'    => 'dental_insight_scroll_enable',
    125137    ) ) );
    126138
  • dental-insight/0.2.9/readme.txt

    r158925 r161177  
    55Requires PHP: 7.2
    66Tested up to: 5.8
    7 Stable tag: 0.2.8
     7Stable tag: 0.2.9
    88License: GNU General Public License v3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5454    -- Added Width Settings.
    5555
     56= 0.2.9 =
     57    -- Added Scroll Top.
     58
    5659== Resources ==
    5760
    58 Dental Insight WordPress Theme, Copyright 2021 pewilliams
     61Dental Insight WordPress Theme, Copyright 2022 pewilliams
    5962Dental Insight is distributed under the terms of the GNU GPL
    6063
  • dental-insight/0.2.9/style.css

    r158925 r161177  
    55Author URI: https://www.ovationthemes.com/
    66Description: Dental Insight Theme is specially designed for dentists, dental practices, Dental Insights, dental hygienists, medicine, providers, medical stores, orthodontists, medical facilities, lab, therapy, healing, health clinics, Sanitize sanitization, cleaning,  radiography, laboratory, air purifier, doctors, hospital, pharma, dental implants, nursing, dispensary, endodontic, oral health care surgery websites and any other health and medical organization. The theme’s design is flawless and eye-catching, elegant but luxurious. Showcase your work and place of work online with this modern theme. It is packed with a lot of features to help you showcase a perfect professional website. It is SEO-friendly which will index your website soon on major search engines. The responsive layout makes it mobile-friendly too so your visitors can contact easily in case of urgent need. It is also translation-ready with RTL layout support important for international patients. You can add shortcodes to further increase the functionality of your website. This expert theme is cleanly coded to provide fast page load times to your visitors. For the ease of interaction a call to action button is provided. Use social media integration and link all your social media pages to popularize your work. The testimonial section will let your visitor’s comment on your work.
    7 Version: 0.2.8
     7Version: 0.2.9
    88Requires at least: 5.0
    99Tested up to: 5.8
     
    1414Tags: wide-blocks, block-styles, one-column, two-columns, left-sidebar, right-sidebar, grid-layout, custom-colors, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, threaded-comments, theme-options, food-and-drink, portfolio, e-commerce
    1515
    16 Dental Insight WordPress Theme, Copyright 2021 pewilliams
     16Dental Insight WordPress Theme, Copyright 2022 pewilliams
    1717Dental Insight is distributed under the terms of the GNU GPL
    1818*/
     
    620620}
    621621
     622/*------------Scroll-Top------------------*/
     623.scrollup {
     624    position: fixed;
     625    top: 0;
     626    right: 25px;
     627    width: 42px;
     628    height: 42px;
     629    line-height: 42px;
     630    padding: 0;
     631    font-size: 20px;
     632    outline: none;
     633    border-bottom-left-radius: 50%;
     634    border-top-left-radius: 50%;
     635    border-bottom-right-radius: 50%;
     636    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .2);
     637    -webkit-transition: .9s;
     638    transition: .9s;
     639    z-index: 99;
     640    visibility: hidden;
     641    opacity: 0;
     642}
     643
     644.scrollup i {
     645    display: inline-block;
     646    -webkit-transition: all .5s;
     647    -o-transition: all .5s;
     648    transition: all .5s;
     649}
     650
     651.scrollup.is-active {
     652    top: 98%;
     653    -webkit-transform: translateY(-98%);
     654    transform: translateY(-98%);
     655    opacity: 1;
     656    visibility: visible;
     657}
     658
     659.scrollup.is-active:hover,
     660.scrollup.is-active:focus {
     661    color: #000;
     662    background: #fe8086;
     663    transform: translateY(-98%) rotate(-45deg);
     664    -webkit-transform: translateY(-98%) rotate(-45deg);
     665    -moz-transform: translateY(-98%) rotate(-45deg);
     666    -o-transform: translateY(-98%) rotate(-45deg);
     667    -ms-transform: translateY(-98%) rotate(-45deg);
     668}
     669
     670.scrollup.is-active:hover i,
     671.scrollup.is-active:focus i {
     672    transform: translateY(0) rotate(45deg);
     673    -webkit-transform: translateY(0) rotate(45deg);
     674    -moz-transform: translateY(0) rotate(45deg);
     675    -o-transform: translateY(0) rotate(45deg);
     676    -ms-transform: translateY(0) rotate(45deg);
     677}
     678
    622679/*--------- Category Section--------- */
    623680
Note: See TracChangeset for help on using the changeset viewer.