Plugin Directory

Changeset 3713526


Ignore:
Timestamp:
09/25/2026 08:16:44 PM (4 weeks ago)
Author:
jitendra742744
Message:

Fixed And Release v1.1

Location:
simple-show-date/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-show-date/trunk/readme.txt

    r3243014 r3713526  
    11=== Simple Show Date ===
    2 Contributors: Come2theweb
     2Contributors: jitendra742744
    33Donate link: https://come2theweb.com/
    4 Tags: Show current date, Show Today date, simple show today date, previous day widget, show next day, Shortcode for current date, Simple current date, simple add today date shortcode, show day after tomorrow date, show tomorrow date, simple add date, offer expiry date, offer show date, coming soon offer.
     4Tags: current date, show date, date shortcode, today date, relative date
    55Requires at least: 4.6
    6 Tested up to: 6.7.2
    7 Stable tag: 1.0
     6Tested up to: 7.1
     7Requires PHP: 5.6
     8Stable tag: 1.1
    89License: GPLv2 or later
    9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
     10License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1011
    11 Show Current date on your website with this plugin, very simple way to use for any website, Show current date with shortcode, show next day date on website with shortcode, Its very simple to use also without any code confliction, this is free plugin to use.
     12Display the current date, tomorrow, or custom relative dates on your site using simple shortcodes. Lightweight and free.
    1213
    1314== Description ==
    1415
    15 Add today date anywhere on your website with simple way by using this plugin, this plugin make very easy steps for user to add today date, tomorrow date, day after tomorrow date, 2 day ahead date, previous date without having technical knowledge, just install & activate plugin and go to Show Date menu will appear, also you will get setting page where you can choose style / type. You can add your custom created date format, very simple and easy to use this plugin, you can try one time, and you will not face any code confliction issue with this plugin.
     16Add today's date (or tomorrow, yesterday, or any relative day) anywhere on your website using simple shortcodes. No coding knowledge required.
     17
     18Just install & activate the plugin, copy a shortcode from the settings page, and paste it where you want the date to appear.
    1619
    1720= Features =
    18 * Show today date
    19 * Show tomorrow date
    20 * Show previous date
    21 * Fully Compatible to all devices
    22 * Without conflict with any other plugin or code
    23 * Fully Responsive
    24 * Shortcode provided
    25 * Custom formats  create
    26 * Video Tutorial
    27 * Free to Use
     21* Show today's date
     22* Show tomorrow / previous day / any relative day
     23* Multiple built-in date formats
     24* Custom date format shortcode
     25* Fully compatible with all devices
     26* Lightweight – no conflicts with other plugins
     27* Completely free – no ads or upsells
    2828
     29= Shortcodes =
    2930
     31**Default styles**
     32* `[ssdc2tw_date]` – Default format
     33* `[ssdc2tw_date style="2"]` – d/m/Y
     34* `[ssdc2tw_date style="3"]` – Full day name
     35* `[ssdc2tw_date day="1"]` – Tomorrow
     36* `[ssdc2tw_date day="-1"]` – Yesterday
     37
     38**Custom format**
     39* `[ssdc2tw_custom_date format="d/m/Y"]`
     40* `[ssdc2tw_custom_date day="2" format="l, F j, Y"]`
    3041
    3142== Installation ==
    3243
    33 This section describes how to install the plugin and get it working.
    34 
    35 1. Upload simple-show-date folder to your wp-content/plugins/ directory.
     441. Upload the `simple-show-date` folder to the `/wp-content/plugins/` directory.
    36452. Activate the plugin through the 'Plugins' menu in WordPress.
    37 3. Go to setting page and choose your shortcode.
    38 4. Copy shortcode and paste where you want to show date, That’s All
     463. Go to **Show Date** in the admin menu.
     474. Copy the shortcode you need and paste it on any page, post, or widget.
    3948
    4049== Frequently Asked Questions ==
    4150
    42 = How can i add today date on my website? =
     51= How do I show today's date? =
     52Use the shortcode `[ssdc2tw_date]`.
    4353
    44 You simply have to install plugin then activate and take shortcode from setting page, that’s all
     54= How do I show tomorrow or yesterday? =
     55Use the `day` attribute: `[ssdc2tw_date day="1"]` for tomorrow, `[ssdc2tw_date day="-1"]` for yesterday.
    4556
    46 = How can i show yesterday date? =
     57= Can I use a custom date format? =
     58Yes. Use `[ssdc2tw_custom_date format="YOUR_FORMAT"]`.
    4759
    48 You can go to setting page and see you will get -day or + day option.
    49 
    50 = Can i add custom date format? =
    51 
    52 Yes, just go to setting page and choose custom style, and you can see code for day, month, year etc.
    53 
    54 = Can my date visible on desktop & mobile both? =
    55 
    56 Yes, by default it will visible on mobile & desktop both, if you want to write some css, you can write with class name.
    57 
    58 = Are you facing any other issue with this plugin? =
    59 
    60 Yes, - Ok please write a mail at support@come2theweb.com or submit your query in support we will get back to you within 24 hours.
    61 
     60= Where can I get support? =
     61Contact us at support@come2theweb.com or info@come2theweb.com.
    6262
    6363== Screenshots ==
    6464
    65 1. Wordpress Backend plugin view.
    66 2. Simple show date setting view.
    67 2. Custom shortcode hints view.
    68 2. Shortcode added on page.
    69 3. Shortcode working on frontend.
    70 
     651. WordPress backend plugin view
     662. Simple Show Date settings page
     673. Custom shortcode hints
     684. Shortcode added on a page
     695. Shortcode working on the frontend
    7170
    7271== Changelog ==
     72
     73= 1.1 =
     74* Fixed all WordPress.org guideline issues
     75* Removed activation email that sent site data without consent
     76* Fixed Plugin URI (was returning 404)
     77* Updated Contributors, Tested up to 7.1, reduced tags to 5
     78* Fixed short description length
     79* Improved admin script loading (only on plugin page)
     80* Code cleanup
     81
    7382= 1.0 =
    7483* Initial version
    7584
    7685== Upgrade Notice ==
     86
     87= 1.1 =
     88Important update required to comply with WordPress.org guidelines. Removes activation tracking and fixes review issues. Safe to update.
  • simple-show-date/trunk/simple-show-date.php

    r3035410 r3713526  
    11<?php
    2 /*
    3  * Plugin Name:       Simple Show Date
    4  * Plugin URI:        https://come2theweb.com/plugins/ssd/
    5  * Description:       Show Current date on your website with this plugin, very simple way to use for any website, Show current date with shortcode, show next day date on website with shortcode, Its very simple to use also without any code confliction, this is free plugin to use.
    6  * Version:           1.0
     2/**
     3 * Plugin Name: Simple Show Date
     4 * Plugin URI:  https://come2theweb.com/
     5 * Description: Display the current date, tomorrow, or custom relative dates on your site using simple shortcodes. Lightweight and free.
     6 * Version:     1.1
    77 * Requires at least: 4.6
    8  * Requires PHP:      7.2
    9  * Author:            Come2theweb
    10  * Author URI:        https://come2theweb.com
    11  * License:           GPL v2 or later
    12  * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
    13  * Text Domain:       come2theweb
    14  * Domain Path:       /languages
    15 */
    16 
    17 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly   
     8 * Requires PHP: 5.6
     9 * Author:      Come2theweb
     10 * Author URI:  https://come2theweb.com
     11 * License:     GPL-2.0-or-later
     12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     13 * Text Domain: simple-show-date
     14 */
     15
     16if ( ! defined( 'ABSPATH' ) ) {
     17        exit; // Exit if accessed directly.
     18}
    1819
    1920/* ==== Load script and style here for admin ======= */
    20 function ssdc2tw_load_adminplugin_scripts() {
    21     $plugin_url = plugin_dir_url( __FILE__ );
    22     wp_enqueue_style( 'ssdc2tw_style', $plugin_url . 'assets/css/ssdc2tw_admin.css' );
    23     wp_enqueue_style('thickbox');
     21function ssdc2tw_load_adminplugin_scripts( $hook ) {
     22        // Only load on our settings page.
     23        if ( 'toplevel_page_simple-show-date' !== $hook ) {
     24                return;
     25        }
     26        $plugin_url = plugin_dir_url( __FILE__ );
     27        wp_enqueue_style( 'ssdc2tw_style', $plugin_url . 'assets/css/ssdc2tw_admin.css', array(), '1.1' );
    2428}
    2529add_action( 'admin_enqueue_scripts', 'ssdc2tw_load_adminplugin_scripts' );
    … …  
    260264add_shortcode('ssdc2tw_custom_date', 'ssdc2tw_customgenerate_shortcode');
    261265
    262 // Register activation hook
    263 register_activation_hook(__FILE__, 'ssdc2tw_activate_function');
    264 function ssdc2tw_activate_function() {
    265     $siteurl = get_site_url();
    266         $sdate = date('d M Y');
    267         $autmail ='jitendra.wd@gmail.com';
    268         $authsub='A user activated plugin - Simple Show Date';
    269         $autmsg='Dear Author, A user activate your plugin[Simple Show Date] url is - '. $siteurl.' | Date - '.$sdate;
    270         wp_mail($autmail, $authsub, $autmsg);
    271 }
     266
    272267?>
Note: See TracChangeset for help on using the changeset viewer.