Category: Plugins Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 2:21 pm on November 19, 2015 Permalink | Reply
    Tags:   

    Categories: Plugins, WordPress ( 19 )

    Zen Dash – Version 1.5 released 

    banner-1544x500

    I’ve just released an update to my Zen Dash plugin. Besides adding funky zen-bamboo artwork to the WordPress.org page, I’ve made the following minor amendments:

    • the option to hide the Jetpack menu now only shows up when Jetpack is activated, otherwise it’s hidden
    • I’ve verified compatibility with the immanent release of WordPress 4.4
    • added funky zen-artwork (see above, courtesy of GraphicStock)

    I’ve you’re one of the 70+ active lucky users, you can upgrade the plugin from within WordPress as usual, or you can download a copy from GitHub or the WordPress.org plugin repository:

    Questions, suggestions, translations and pull requests are always welcome!

    What is Zen Dash again?

    Zen Dash is a magical plugin that lets you get rid of the myriad of options in the WordPress admin area. I’ve created it because sometimes less is indeed more, and new users can get overwhelmed by the sheer volume of menu items, dashboard widgets and upgrade notifications.

    While it is possible to let casual users have privileges less than administrators (and therefore see less items), I found this ineffective. With Zen Dash you simply flick a switch and make things disappear that you don’t want to see everyday. You can just as easily bring them back if you need them.

    You can read more about Zen Dash in my release post, which even includes a video on how to use the plugin.





     
  • Jay Versluis 1:15 pm on November 12, 2015 Permalink | Reply
    Tags: ,   

    Categories: Plugins, WordPress ( 19 )

    Child Theme Wizard – Version 1.1 released 

    wizard

    I’ve released a new version of my popular Child Theme Wizard plugin today. Everything remains the same, except for one thing: the parent theme is no longer loaded via CSS, it’s now being loaded via PHP. Let me explain why.

    When I wrote this little tool in 2014, the best practice to create a child theme was to load the parent’s style sheet via CSS. This was done with an @import statement, like this:

    @import url("parent-theme/style.css");
    

    While this approach works just fine, this is no longer regarded as the best approach to the puzzle. That’s because the parent theme’s full path is hard coded into your child theme, and should the parent theme ever change it’s folder name, your child theme would stop working.

    There’s a better way to get the same thing done by loading the parent style sheet via PHP in the functions.php file. Here’s how it’s done:

    function theme_enqueue_styles() {
    
        $parent_style = 'parent-style';
    
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style )
        );
    }
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    

    So that’s what the update does: switch from the older way of loading the parent theme to the new one. There. Keeping up with the times and all ๐Ÿ™‚

    Download Child Theme Wizard

    You can download the plugin from the official WordPress Plugin repository, or take a look at the source code on GitHub. Enjoy!





     
    • John McCulloch 7:59 pm on February 2, 2016 Permalink | Reply

      Mr. Versluis,

      Thank you for creating the child theme wizard. I watched your video and read the documentation associated with it, but I still don’t understand what the Child Theme URL field is referring to. Could you please explain further? Thank you,warm regards,

      John M.

      • Jay Versluis 2:56 am on February 6, 2016 Permalink | Reply

        Hi John, the URL field is a metadata field. If you take a look at your installed themes, you’ll find that the ones made by WordPress link to automattic.com – that’s the URL you put in there, one that links to your theme (say a Github page, or where or where others can download your theme). Needless to say it’s optional.

    • dutchguru 6:03 pm on March 21, 2016 Permalink | Reply

      Hello mr Jay Versluis,

      The plugin made a subdir, copied the style.css and a start for the function.php. So far so good.
      [A] I have lot of CSS made for shadow buttons and so on. But were not executed. Made the extensions by hand in the ‘normal’ style.css and it’s working. ( but I have still a few websites to go.

      [B] I made an enhancement to the footer.php, can I arrange this by coping the footer.php to the Child-directory ?

      • Jay Versluis 10:33 pm on March 21, 2016 Permalink | Reply

        Hi there! As for A, I have no idea. Anything in the child theme’s style.css should be pulled in. If it doesn’t work, I don’t know why. And B, yes indeed – you’re absolutely right: copy the footer.php (or any other amended file) into the child theme’s directory, and WordPress will load that instead of the original. As a rule of thumb, if a file is present in the child theme, it will be loaded instead of the original.

        • dutchguru 6:25 am on March 22, 2016 Permalink | Reply

          Hello, thanks for your answer.
          Regarding [B]
          if the theme author made also an enhancement in the footer.php, I’missing by copying the full file.
          What if I take this footer.php, just only my lines ….. or will it be completely overwritten ?

          • Jay Versluis 7:15 am on March 22, 2016 Permalink

            You’ll have to copy the entire file over, WordPress will replace it completely. Partial amendments only work with style.css, all other files will be overwritten completely by the child theme.

    • David Knoerr 6:44 pm on August 11, 2016 Permalink | Reply

      Your plugin worked great thank you!!! No problems.

      • Jay Versluis 11:06 pm on August 11, 2016 Permalink | Reply

        Excellent, glad to hear it. Thank you, David!

  • Jay Versluis 6:37 pm on March 16, 2014 Permalink | Reply
    Tags:   

    Categories: Plugins, Screencast, WordPress ( 19 )

    How to use ZEN DASH for WordPress 

    I’ve just released Version 1.3 of ZEN DASH and thought a quick video demonstration is in order – and here it is:

    In this podcast I will show you how to use ZEN DASH for WordPress and explain how you can easily hide menu options, dashboard widgets, admin footer links and suppress Update Notifications (for WordPress core, plugins and themes).

    This plugin comes in handy if you’d like to hide functionality before giving the site over to a client. For example, you may not want your client to have access to plugins so he can accidentally deactivate a shopping cart and break the site.

    You can download Zen Dash

    Here’s my release post for Zen Dash with more info:





     
  • Jay Versluis 8:17 pm on March 13, 2014 Permalink | Reply
    Tags:   

    Categories: Plugins, Screencast, WordPress ( 19 )

    Introducing Child Theme Wizard for WordPress 

    wizardI’ve just finished writing a new WordPress Plugin to help you create Child Themes with a single click, and no need for any external tools.

    The Child Theme Wizard is a super slim assistant which can be accessed under Tools – Child Theme Wizard. Pick a Parent Theme, enter additional information, click Create Child Theme and you’re all set!

    Child Theme Wizard in action

    Child Theme Wizard in action

     

    If all goes well

    If all goes well you’ll see this

     

    In case something went wrong

    In case something went wrong

    Child Theme Wizard allows you to enter the following details:

    • Theme Name
    • Description
    • Theme URL
    • Author Name
    • Author URL
    • Version

    You can pick any existing theme that is currently installed, and you won’t be able to choose other child themes as parent themes (obviously). Child Theme Wizard will even pre-populate some of the data if it’s available from your Profile Information.

    You can choose to include the GPL License to make your theme ready for Open Source Distribution. It even creates a thumbnail so you can tell your Child Theme apart from your other themes.

    Funky Thumbnail included

    Funky Thumbnail included

    What does Child Theme Wizard do?

    To create a Child Theme you have to

    • create a directory on your server
    • create a file called style.css
    • paste template code and tweak it
    • make sure you get your template path right
    • add an empty file called functions.php
    • add a screenshot.png file to make it look pretty

    This usually requires an FTP client with credentials, as well as a text editor, or another web interface – in short: it’s much more tedious and time consuming than it really needs to be. Child Theme Wizard does it all conveniently from within the WordPress Admin Interface with a single click.

    Why do I need to use Child Themes again?

    If you make any modifications to the CSS or functionality of existing themes, and you’re tweaking core files, your changes will be overwritten if your current theme is updated with a new version.

    Child Themes however isolate your changes into dedicated files. The Parent Theme can be updated safely and your tweaks remain intact.

    Watch the video

    In this video I’ll show you Child Theme Wizard in action:

    Changelog

    • v1.0 (13/03/2014) – Initial Release

    Roadmap

    I’d like to include the following features in future updates:

    Download and Contribute

    Child Theme Wizard is available from the WordPress.org repository. You can download it simply by searching for “child theme wizard” under Plugins – Add New and following the instructions. Or you can download it here:

    You can also download and contribute to the code on GitHub:

    If you have any suggestions or feature requests, please leave a comment below.





     
  • Jay Versluis 11:04 am on December 13, 2013 Permalink | Reply
    Tags: Disk Space Pie Chart   

    Categories: Plugins, WordPress ( 19 )

    Disk Space Pie Chart – v0.6 released 

    PieI’ve just released a new version of my (totally unpopular) Disk Space Pie Chart plugin for WordPress. The update addresses the background colour of the pie chart which worked well with WordPress 3.7 and below, but now that we have a snazzy new colour scheme in the admin interface, I made sure it still looks good.

    You can download the plugin from the links below, or just hit “update” when you’re in the WordPress backend next.





     
  • Jay Versluis 2:25 pm on December 11, 2013 Permalink | Reply
    Tags: ,   

    Categories: Plugins ( 19 )

    P2 Header Ad – v1.3 released 

    I’ve just released a new version of my P2 Header Ad plugin, adding the following features:

    • added translation readiness
    • added German Translation
    • added Spanish Translation (thanks to Andrew Kurtis from WebHostingHub)
    • verified WordPress 3.8 compatibility

    You can get the latest version simply by using the WordPress updates (under Dashbaord – Updates), or download it from one of the links below:





     
  • Jay Versluis 8:54 pm on December 9, 2013 Permalink | Reply
    Tags:   

    Categories: Plugins, WordPress ( 19 )

    How to internationalise and translate your WordPress Plugin 

    Today I got a lovely request from Andrew over at WebHostingHub.com who asked if he could translate my P2 Header Ad plugin into Spanish. “Of course”, I thought – and then I realised that I knew not much about how to get a plugin translation ready. I knew POEdit of course, but how to make my plugin speak another language wasn’t really clear to me.

    An online search didn’t really reveal all the answers – snippets here and there, but not the whole picture. So here it is – step by step – as of December 2013.

    In a nutshell:

    • add a text domain
    • replace all strings with compatible PHP calls
    • generate a .pot file
    • open it it POEdit and translate your strings
    • switch WordPress to another language to see if it actually works

    Let’s check it out





     
  • Jay Versluis 3:09 pm on October 6, 2013 Permalink | Reply
    Tags: ,   

    Categories: Plugins ( 19 )

    Introducing The P2 Header Ad Plugin 

    P2 Header Ad IconI always loved Automattic’s P2 theme: it’s one of the most innovative ideas for blogging I could find. I’m using it on several of my notebook websites, including this one. I’ve been tweaking P2 for quite some time, and one thing I wanted to do is display an advert inside the P2 header.

    As you may know, P2 doesn’t like child themes very much, so I wrote a future proof solution as this handy plugin.

    P2 Header Ad let’s you display an advert of your choice inside the header. And when the theme is updated, your advert stays in place. Neat, huh?

    (More …)





     
  • Jay Versluis 2:18 pm on September 24, 2013 Permalink | Reply
    Tags:   

    Categories: Plugins ( 19 )

    Introducing Zen Dash 

    zen-treeIt is my pleasure to share with you my latest WordPress Plugin: Zen Dash. It allows you to selectively hide those Dashboard Widgets, Menu Items, Update Notifications and even Footer Links.

    Inspired by Joseph Lowery and my recent post about how to do this in code, I wanted to create the same functionality without users having to use code.

    After a few days of coding I really got into it and added several other features, including some nice jQuery UI tabs.

    (More …)





     
    • dfranzwa 7:00 pm on August 27, 2015 Permalink | Reply

      Hey Jay!

      I just ran across your Zen Dash and can’t believe you haven’t had more praise for your work. I think it’s quite handy and even though you haven’t upgraded it for awhile, it works just fine in WP 4.3. Well, at least nothing is broken yet ๐Ÿ˜‰

      Wish you the best,
      Dave

      • Jay Versluis 5:24 pm on August 28, 2015 Permalink | Reply

        Hi Dave,

        that’s very kind of you to say, thank you! Glad to hear you like Zen Dash ๐Ÿ™‚ Good to hear it’s working under WordPress 4.3, I’ll do a quick test at my end and will update the “tested up to” value (I keep forgetting to do that when a new version of WordPress is released).

        All the best!

  • Jay Versluis 6:56 pm on September 23, 2013 Permalink | Reply  
    Categories: Plugins, WordPress ( 19 )

    Disk Space Pie Chart – Version 0.5 released 

    Screen Shot 2013-09-23 at 18.46.50I’ve just released a small update for my Disk Space Pie Chart plugin for WordPress.

    The new version addresses the following minor issues:

    • Fixed Division by Zero bug (Thanks, Jure!)
    • Tweaked some colours to better blend with WordPress Core
    • Added MySQL Server Version

    The update was inspired by Jure di Mephit who very kindly gave me a tip on how to fix a bug in July last year… I didn’t find the time to write that update until now. Hey, better late than never. Thanks again, Jure ๐Ÿ˜‰

    Find more info about the plugin here, or download it for free from the WordPress Repository.





     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel