Plugin Directory

Changeset 1781114


Ignore:
Timestamp:
12/05/2017 04:54:39 AM (8 years ago)
Author:
klickonit
Message:

v0.0.2

Location:
my-own-shortcodes
Files:
64 added
7 edited

Legend:

Unmodified
Added
Removed
  • my-own-shortcodes/trunk/css/klick-mos-notices.css

    r1772032 r1781114  
    4646    top: 8px;
    4747    left: 0;
     48    -webkit-transition: all .1s ease-in-out;
    4849    transition: all .1s ease-in-out;
    4950    margin: 0;
  • my-own-shortcodes/trunk/css/klick-mos.css

    r1772032 r1781114  
    142142    color: #fff!important;
    143143    border-color: #f4780b #f4780b #c36009!important;
     144    -webkit-box-shadow: 0 1px 0 #f4780b !important;
    144145    box-shadow: 0 1px 0 #f4780b !important;
    145146    text-shadow: 0 -1px 1px #f4780b,1px 0 1px #f4780b,0 1px 1px #f4780b,-1px 0 1px #f4780b!important;
     
    238239    padding: 5px 3px;
    239240    cursor: pointer;
    240     transition: all 0.35s ease 0s;
     241    -webkit-transition: all 0.35s ease 0s;
     242       -moz-transition: all 0.35s ease 0s;
     243        -ms-transition: all 0.35s ease 0s;
     244         -o-transition: all 0.35s ease 0s;
     245            transition: all 0.35s ease 0s;
    241246}
    242247.klick-mos-data-table .klick-mos-edit-row span:hover{
  • my-own-shortcodes/trunk/includes/class-klick-mos-shortcodes.php

    r1772032 r1781114  
    1616        $this->_shortcodes = $this->options->get_option('shortcodes');
    1717        $all_shotcodes = $this->get_all();
    18         foreach ($all_shotcodes as $key => $value) {
    19             add_shortcode($key, array($this, 'execute_shortcode'));
     18        if(isset($all_shotcodes) && !empty($all_shotcodes)){
     19            foreach ($all_shotcodes as $key => $value) {
     20                add_shortcode($key, array($this, 'execute_shortcode'));
     21            }
    2022        }
     23       
    2124    }
    2225
     
    97100     */
    98101    public function shortcode_list(){
    99         if(count($this->_shortcodes) > 0){
     102        if(count($this->_shortcodes) > 0 && !empty($this->_shortcodes)){
    100103            $table = "";
    101104            $table .= '<table class="wp-list-table widefat fixed striped pages mos-table">';
     
    118121            }
    119122            $table .= '</tbody></table>';
     123            return $table;
    120124        }
    121125
    122         return $table;
     126        return "You have not created any shortcode yet!!!";
    123127    }
    124128
  • my-own-shortcodes/trunk/my-own-shortcodes.php

    r1772032 r1781114  
    33Plugin Name: My Own Shortcodes
    44Description: Personalised custom shortcodes created right in your admin panel.
    5 Version: 0.0.1
     5Version: 0.0.2
    66Author: klick on it
    77Author URI: http://klick-on-it.com
  • my-own-shortcodes/trunk/readme.md

    r1772032 r1781114  
    66Requires at least: 3.8
    77Tested up to: 4.8.2
    8 Stable tag: 0.0.1
     8Stable tag: 0.0.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6363 * Initial release
    6464
     65= 0.0.2 =
     66* >Minor updates and bugs.
     67
    6568 If any suggestions or issues, just contact us on : 'support@klick-on-it.com'
  • my-own-shortcodes/trunk/templates/klick-mos-tab-change-log.php

    r1772032 r1781114  
    55   
    66    <div class="klick-mos-log-listing-wrap">
     7        <article class="klick-mos-log-listing-row"> <!-- Changelog starts -->
     8            <h1>My Own Shortcodes 0.0.2 is now available!<time>5th December 2017</time></h1> <!-- Header tab-->
     9            <h4>Bug Fixes</h4> <!-- Inner title and points-->
     10            <ul>
     11                <li>>Minor updates and bugs.</li>
     12            </ul>
     13        </article>
     14
    715        <article class="klick-mos-log-listing-row"> <!-- Changelog starts -->
    816            <h1>My Own Shortcodes 0.0.1 is now available!<time>13th November 2017</time></h1> <!-- Header tab-->
  • my-own-shortcodes/trunk/templates/klick-mos-tab-our-other-plugins.php

    r1772032 r1781114  
    77        // Array (plugin logos and links)
    88        $logo_links = array(
     9            array('link_name' => 'user-activity-logger','link_logo' => 'UAL'),
    910            array('link_name' => '404-page-management','link_logo' => '404'),
    10             array('link_name' => 'advance-plugin-search','link_logo' => 'APS'),
    1111            array('link_name' => 'configuration-and-status','link_logo' => 'CS'),
    1212            array('link_name' => 'cron-viewer-and-manager','link_logo' => 'CVM'),
    1313            array('link_name' => 'make-my-own-shortcodes','link_logo' => 'MOS'),
    14             array('link_name' => 'new-install-setup','link_logo' => 'NIS'),
    15             array('link_name' => 'plugin-template','link_logo' => 'PT'),
    1614            array('link_name' => 'statistics-and-analytics','link_logo' => 'SA'),
    1715            array('link_name' => 'short-link-and-traffic','link_logo' => 'SLT'),
    18             array('link_name' => 'user-activity-logger','link_logo' => '404'),
    19             array('link_name' => 'wordpress-reset','link_logo' => 'WPR'),
     16            array('link_name' => 'advance-plugin-search','link_logo' => 'APS'),
     17            array('link_name' => 'advance-plugin-view','link_logo' => 'APV'),
     18            array('link_name' => 'advance-theme-search','link_logo' => 'ATS'),
    2019        );
    2120        $logo_with_link = "";
Note: See TracChangeset for help on using the changeset viewer.