Plugin Directory

Changeset 1720533


Ignore:
Timestamp:
08/28/2017 11:50:41 AM (8 years ago)
Author:
shishir.adhikari
Message:

New Version 1.7 - Mades some changes and fixed some issues

Location:
w2o-admin-drop-down-menu/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • w2o-admin-drop-down-menu/trunk/core/core.php

    r1357122 r1720533  
    7878                    $img = '<div class="wp-menu-image w2oadm_menu_text_toplevel dashicons-before '.$item[6].'">'.$w2oadm_customtag_toplevel.'</div>';
    7979                else {
    80                    
    8180                    preg_match_all('/^data:image\/svg\+xml;base64,(.*)/', $item[6], $matches_svg);                             
    8281                    if ( !empty($matches_svg) && ( isset($matches_svg[1][0]) && !empty($matches_svg[1][0]) ) ) {
     
    9392                        $height ='20px';
    9493                        if (function_exists('getimagesize')) {
    95                             list($width, $height) = getimagesize($item[6]);
     94                            list($width, $height) = @getimagesize($item[6]);
    9695                            $width = ($width>0 && $width<=20) ? $width : '20';
    9796                            $width = $width.'px';
    98                                                        
     97
    9998                            $height = ($height>0 && $height<=20) ? $height : '20';
    10099                            $height = $height.'px';
     
    304303    $query = http_build_query($query);
    305304
    306     echo "<link rel='stylesheet' href='{$plugin}w2oadm.css.php?$query' type='text/css' media='all' w2oadm='www.w2orange.com' />\n
    307     <link rel='stylesheet' href='{$plugin}w2oadm.responsive.css.php?$query' type='text/css' media='all' w2oadm='www.w2orange.com' />\n
     305    echo "<link rel='stylesheet' href='{$plugin}w2oadm.css.php?$query' type='text/css' media='all' w2oadm='shishir.adhikari' />\n
     306    <link rel='stylesheet' href='{$plugin}w2oadm.responsive.css.php?$query' type='text/css' media='all' w2oadm='shishir.adhikari' />\n
    308307    ";
    309308}
     
    370369        $arrSearch = array( '[~color_scheme_key~]','[~icon_colors_base~]','[~icon_colors_foucs~]' );
    371370       
    372         echo '<style type="text/css" w2oadm="www.w2orange.com">
     371        echo '<style type="text/css" w2oadm="shishir.adhikari">
    373372                /* w2oadm menus icon colors */
    374373        ';
     
    399398}
    400399
    401 // To add Admin Color Scheme called "W2orange"
     400// To add Admin Color Scheme called "W2O"
    402401function wp_w2o_admin_color_scheme () {
    403402    global $wp_w2oadm;
     
    405404    $suffix = is_rtl() ? '-rtl' : '';
    406405    wp_admin_css_color(
    407         'w2orange', __( 'W2orange', 'admin_schemes' ),
     406        'w2orange', __( 'W2O', 'admin_schemes' ),
    408407        plugins_url( "admincolorscheme/w2orange/colors".$suffix.".css", __FILE__ ),
    409408        array( '#ff9724', '#6fb61d', '#de5e60', '#ceee65' ),
  • w2o-admin-drop-down-menu/trunk/core/w2oadm.css.php

    r1444832 r1720533  
    2121/* W2OADM Style */
    2222/* Restyle or hide original items */
    23 #adminmenu                  {display:none;}
     23#adminmenu                  {display:none !important;}
    2424#wpbody, div.folded #wpbody {margin-<?php echo $dir; ?>:0px}
    2525
     
    3030}
    3131#screen-meta {
    32     display:none; /* hidden in case we have no JS to move it */
     32    display:none !important; /* hidden in case we have no JS to move it */
    3333}
    3434
     
    4040.folded #adminmenuback, .folded #adminmenuwrap, .folded #adminmenu, .folded #adminmenu li.menu-top,
    4141.js.folded #adminmenuback, .js.folded #adminmenuwrap, .js.folded #adminmenu, .js.folded #adminmenu li.menu-top {
    42     visibility:hidden;
     42    visibility:hidden !important;
    4343}
    4444
     
    7979    width: 14px;
    8080    height: 14px;
    81     background: #afcd42;
     81    background: #0a9600; /* #afcd42; */
    8282    -moz-border-radius: 50px;
    8383    -webkit-border-radius: 50px;
     
    122122
    123123/* for IE (<= IE7 only) */
    124 .no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { width: auto !important; overflow:visible; }
     124.no-font-face #wpadminbar ul.ab-top-menu > li > a.ab-item { width: auto !important; overflow:visible !important; }
    125125
    126126/* for IE7 only */
     
    128128    #border-top-width: 31px;
    129129}
    130 #media-upload-header #sidemenu { display: block; }
     130#media-upload-header #sidemenu { display: block !important; }
    131131
    132132
     
    147147/* Some CSS codes for W2OADM classes, IDs  (initialize) */
    148148.w2oadm_topmenu {
    149     display:block;
     149    display:block !important;
    150150}
    151151.w2oadm_topmenu > a.ab-item {
     
    167167.w2oadm_customtag_toplevel {
    168168    padding-left:6px !important;
    169     display:inline-block;
     169    display:inline-block !important;
    170170}
    171171
  • w2o-admin-drop-down-menu/trunk/core/w2oadm.responsive.css.php

    r1357122 r1720533  
    3434    .folded #adminmenuback, .folded #adminmenuwrap, .folded #adminmenu, .folded #adminmenu li.menu-top,
    3535    .js.folded #adminmenuback, .js.folded #adminmenuwrap, .js.folded #adminmenu, .js.folded #adminmenu li.menu-top {
    36         visibility:visible;
     36        visibility:visible !important;
    3737    }
    3838   
  • w2o-admin-drop-down-menu/trunk/readme.txt

    r1698040 r1720533  
    11=== W2O Admin Dropdown Menu ===
    22Contributors: shishiradhikari
     3Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=raju.rachana%40gmail.com
    34Tags: w2o, admin, menu, menus, top menu, admin menu, menu bar, admin bar, dropdown, drop down, responsive, responsive menu
    45Requires at least: 4.0
    5 Tested up to: 4.8
    6 Stable tag: 1.6
     6Tested up to: 4.8.1
     7Stable tag: 1.7
    78License: GPLv2 or later
    89
     
    2324A new feature to display "ICONS ONLY" as parent menus has been added in the plugin recently. This feature has been added from version 1.4 upon request/suggestion received from some people who are using this plugin. To use this feature you simply need to set the value of 'wpiconsonly' to 1 (i.e. from 'wpiconsonly' => 0 to 'wpiconsonly' => 1) in "core.php" at line number: 254 (fyi, "core.php" resides inside your "/wp-content/plugins/w2o-admin-drop-down-menu/core/" directory).
    2425
    25 If you like this plugin and would like to DONATE, please contact us via email at [email protected]
     26If you like this plugin then why don't you buy me a beer at-least. Click on the "Donate to this plugin" button on the right side.
     27
     28You can also contact us via **[itrsnepal.com](http://itrsnepal.com/?utm_source=w2oadm&utm_medium=WP Plugin Page&utm_campaign=W2O Admin Dropdown Menu)**
    2629
    2730== Installation ==
     
    3639
    3740== Changelog ==
     41
     42= 1.7 =
     43* Made the info circle more contrast to make the number more readable per feedback received.
     44* Fixed an issue related to menu icon. Handled the error caused by incorrect icon path of some third party plugins.
     45* Fixed vertical menu still displaying issue on a rare case per feedback received.
     46* Added a DONATE link. I now wanna some beer guys!!! :)
     47* Successfully tested the plugin up to WordPress 4.8.1
    3848
    3949= 1.6 =
  • w2o-admin-drop-down-menu/trunk/w2o-admin-drop-down-menu.php

    r1567728 r1720533  
    33Plugin Name: W2O Admin Dropdown Menu
    44Plugin URI: https://wordpress.org/plugins/w2o-admin-drop-down-menu/
    5 Description: Neat, clean, responsive and Wordpress environment friendly horizontal dropdown menu for Admin that eliminates the left menu and saves screen space <em><strong>(For WordPress 4.0+)</strong></em>. <strong>If you like this plugin and would like to DONATE, please use this link <a href='mailto:[email protected]&subject=Love to donate for W2O Admin Dropdown Menu'>Contact Us</a></strong>
    6 Version: 1.6
     5Description: Neat, clean, responsive and Wordpress environment friendly horizontal dropdown menu for Admin that eliminates the left menu and saves screen space <em><strong>(For WordPress 4.0+)</strong></em>.<strong> If you like this plugin then why don't you buy me a beer at-least. <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=raju.rachana%40gmail.com" target="_blank">DONATE SOMETHING, YOU WILL SURELY FEEL GREAT.</a></strong>
     6Version: 1.7
    77Author: Shishir Raj Adhikari
    88Author URI: https://profiles.wordpress.org/shishiradhikari/
     
    2727
    2828
    29 define( 'W2OADM_VER', '1.6' );
     29define( 'W2OADM_VER', '1.7' );
    3030 
    3131/***** Hooks of the plugins when visiting an admin page for W2O Admin Dropdown Menu (W2OADM). ****/
Note: See TracChangeset for help on using the changeset viewer.