Plugin Directory

Changeset 644481


Ignore:
Timestamp:
12/26/2012 12:13:37 AM (13 years ago)
Author:
siriokun
Message:

Compatible with WordPress 3.5

Location:
quickpress-fullscreen/tags/2.0
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • quickpress-fullscreen/tags/2.0/quickpress-fullscreen.php

    r491553 r644481  
    22/**
    33 * @package QuickPress_Fullscreen
    4  * @version 1.0
     4 * @version 2.0
    55 */
    66/*
     
    99Description: Turn QuickPress in WordPress Dashboard into fullscreen when expanded.
    1010Author: Rio Purnomo
    11 Version: 1.0
     11Version: 2.0
    1212Author URI: http://siriokun.com/
    1313*/
    1414
    15 
    1615// Make QuickPress fullscreen when expanded
    17 function quickpress_fullscreen() {
    18     echo "
    19     <style type='text/css'>
    20     #screen-meta.metabox-prefs,#screen-meta-links{position:relative;z-index:26}
    21     #screen-meta-links{right:15px}
    22     #wpbody{position:initial}
    23     #screen-meta{z-index:4}
    24     #dashboard_quick_press {
    25         background: #F9F9F9;
    26         position: absolute;
    27         top: 28px;
    28         left: 6px;
    29         z-index: 25;
    30         height:95%;
    31         width:99%
    32     }
    33     #dashboard_quick_press form .input-text-wrap,
    34     #dashboard_quick_press form .textarea-wrap {background: #fff}
    35     #dashboard_quick_press form .input-text-wrap input,
    36     #dashboard_quick_press form .textarea-wrap textarea {width: 100%}
    37     #dashboard_quick_press .inside {margin: 22px}
    38     #dashboard_quick_press #content {height: 300px}
    39     #dashboard_quick_press.closed {
    40         position: relative;
    41         top: 0;
    42         left: 0
    43     }
    44     #dashboard_quick_press .hndle span{cursor:pointer}
    45     #dashboard_quick_press .hndle span:after {
    46         content:' (Click to Minimize)';
    47         color: #21759B;
    48         font-weight:normal
    49     }
    50     #dashboard_quick_press.closed .hndle span:after {
    51         content:' (Click to Fullscreen mode)';
    52     }
    53     </style>
    54     ";
     16if ( ! function_exists( 'quickpress_fullscreen' ) ) {
     17        function quickpress_fullscreen() {
     18            wp_register_style( 'quickpress-fullscreen', plugins_url('style.css', __FILE__) );
     19            wp_enqueue_style( 'quickpress-fullscreen' );
     20        }
    5521}
    5622// Make that style above only load in Dashboard
  • quickpress-fullscreen/tags/2.0/readme.txt

    r491552 r644481  
    44Tags: quickpress, fullscreen
    55Requires at least: 3.2
    6 Tested up to: 3.3.1
     6Tested up to: 3.5
    77Stable tag: 2.0
    88
     
    1111== Description ==
    1212
    13 This simple plugin can turn QuickPress in WordPress Dashboard into fullscreen when expanded. What this plugin do is add small amount of css overide so the container fits the whole window, but not the Toolbar.
     13This simple plugin can turn QuickPress in WordPress Dashboard into more wider. What this plugin do is add small amount of css overide so the container fits the content area.
    1414
    1515== Installation ==
     
    2424
    2525= 2.0 =
    26 * Compatible for WordPress 3.3.1
     26* Compatible for WordPress 3.5
    2727
    2828= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.