Plugin Directory

Changeset 2822373


Ignore:
Timestamp:
11/22/2022 07:21:19 PM (3 years ago)
Author:
darkmysite
Message:

Version 1.0.2

Location:
darkmysite
Files:
79 added
4 edited

Legend:

Unmodified
Added
Removed
  • darkmysite/trunk/assets/js/client_main.js

    r2821001 r2822373  
    1717
    1818    /* Auto exclude elements those has no background color set */
    19     document.querySelectorAll( "div, section, header, footer, main, aside" ).forEach( function(e) {
     19    document.querySelectorAll( "div, section, header, footer, main, aside, table, thead, tr, th, tbody, td" ).forEach( function(e) {
    2020        if(window.getComputedStyle(e, null).backgroundColor == 'rgba(0, 0, 0, 0)'){
    2121            e.classList.add("darkmysite_bg_ignore");
  • darkmysite/trunk/backend/templates/views/advanced.php

    r2819372 r2822373  
    4444
    4545
     46
     47    <div class="darkmysite_section_header">
     48        <h3>Page Restriction</h3>
     49        <p>Allow or Disallow dark mode on WordPress Pages</p>
     50    </div>
     51    <div class="darkmysite_section_block">
     52        <div class="darkmysite_textarea_setting pro_lock" onclick="darkmysite_show_pro_popup(``, ``)">
     53            <h4>Allow Only Pages</h4>
     54            <p>Dark mode will be applied only to these pages.</p>
     55            <textarea rows="3"></textarea>
     56            <span>Choose the pages only where dark mode and floating switch can work. No other pages will be able to process dark mode.</span>
     57        </div>
     58        <div class="darkmysite_section_block_separator" style="height: 0; background: transparent;"></div>
     59        <div class="darkmysite_textarea_setting pro_lock" onclick="darkmysite_show_pro_popup(``, ``)">
     60            <h4>Disallowed Pages</h4>
     61            <p>Dark mode will not be applied to these pages.</p>
     62            <textarea rows="3"></textarea>
     63            <span>Choose the pages where dark mode and floating switch can not work. Other pages will be able to process dark mode.</span>
     64        </div>
     65    </div>
     66
     67
     68
     69
    4670    <div class="darkmysite_section_header">
    4771        <h3>Custom CSS</h3>
  • darkmysite/trunk/darkmysite.php

    r2821001 r2822373  
    44 * Plugin URI:        https://darkmysite.com
    55 * Description:       Simplest way to enable dark mode on your website - DarkMySite.
    6  * Version:           1.0.1
     6 * Version:           1.0.2
    77 * Author:            DarkMySite - WP Dark Mode
    88 * Author URI:        https://darkmysite.com
     
    1919}
    2020
    21 defined( 'DARKMYSITE_VERSION' ) or define( 'DARKMYSITE_VERSION', '1.0.1' );
     21defined( 'DARKMYSITE_VERSION' ) or define( 'DARKMYSITE_VERSION', '1.0.2' );
    2222defined( 'DARKMYSITE_PATH' ) or define( 'DARKMYSITE_PATH', plugin_dir_path( __FILE__ ) );
    2323defined( 'DARKMYSITE_URL' ) or define( 'DARKMYSITE_URL', plugin_dir_url( __FILE__ ) );
  • darkmysite/trunk/readme.txt

    r2821001 r2822373  
    66Requires at least: 4.8
    77Tested up to: 6.1
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1818<p>As a website owner, you might want to consider adding dark mode to your website and making it easy for your visitors to enjoy your content without straining their eyes. DarkMySite can make doing so easy, and give you a bit more control over your site’s appearance and usability by creating a dark version of your website. DarkMySite allows your visitors who prefer browsing in dark mode to enable the option via a floating switch in your website. </p>
    1919
     20[youtube https://www.youtube.com/watch?v=277_UYIzHJU]
    2021
    2122<h3>Multiple Floating Switch</h3>
     
    115116== Changelog ==
    116117
     118= 1.0.2 =
     119New functionality added and minor bugs have been fixed.
     1201. WordPress Page Restriction has been added to allow or disallow dark mode on specific pages
     1212. Issue on applying dark mode on tables has been solved
     122
    117123= 1.0.1 =
    118124Support for page builder has been added and tested with more than 20 themes.
Note: See TracChangeset for help on using the changeset viewer.