• Author

    HTML Knowledge Base

    I wrote few articles about WordPress, about WooCommerce, PHP etc. But where are the basics? With this entry I would like to start a new series – articles about HTML, which is not as obvious as it seems. Important: we are talking about HTML5 here. We don’t need XHTML or HTML4 anymore. And this is so good… The global structure of an HTML document Document Type Document type should be the first element passed to the browser, after headers. Browser has to know, what we are passing to it. To use HTML5 and this is the only situation we discuss here, use: <!doctype html> The HTML element As you probably…

  • Development,  Plugin,  WordPress

    Using native WordPress loading icons (spinners) in your plugins

    When we create our plugin, sometimes the loading icon (or the spinner icon) can be very useful and handy. It can be used to signal the saving of settings, processing of some data or loading data by Ajax. There are many fields to use, everything is limited by your invention and your needs. I have seen many times programmers create their own “spinners” or use ready-made ones instead of using WordPress ones. Inquiry – Why use those from WordPress? For one reason – to create a consistent interface. And, in addition, to reduce the size of the plugin being created. There are many possibilities, it is worth using them. WordPress…