Author: Konrad Fedorczyk
Sometimes you need to show something on your website in timeframe. This snippet will show you how to do it precisely: File: between_dates.php ———————– <?php $showDate = "2019-07-16 20:00:00.0"; $hideDate = "2019-07-22 20:00:00.0"; $timezone = new DateTimeZone('Europe/Warsaw'); $now = new DateTime(); $now->setTimezone($timezone); // If in timeframe if( $now > new DateTime($showDate, $timezone) && $now < […]
This short tutorial will show you how to create a shortcut to run machine in headless mode (on Windows).
In case anyone searching I’ve created a modified version of Flamingo plugin for WordPress. Now it exports proper polish csv files out of box (encoded in Windows-1250 and delimited with semicolons). Download here: http://realhe.ro/pub/flamingo-polish-export.zip Install using zip upload ability in WordPress or by FTP.
This is my approach for displaying full page regulations on your website. User won’t be able to do anything until scrolling to the bottom of license. Acceptance button will be enabled only after that.
Here are few image resource pages that I use in my everyday design tasks: StockSnap.io pxhere Gratisography Unsplash Negative Space freestocks.org lifeofpix.com New Old Stock FREE REFE REAL LIFE PHOTOS kaboompics Free to use original photography by Daria PikWizzard
You should not torture your visitors with floating messages about your awesome free newsletter. Maybe try this instead: You’re welcome! 🙂
Gravs documentation is a little bit harsh on PHP developers that want to write plugins. What can you do in this situation? Look trough source code, check other plugins or var_dump $this object 🙂 I’ve spent some time searching for an answer how to access language var in plugins class. And this is it: Have […]
If you’ve ever created an intranet HTML application that must be protected from external world, then you’ll probably know that Google Fonts are hard to convert for offline use… Someone created awesome app to change this: https://google-webfonts-helper.herokuapp.com Glory to the Mario Ranftl! You’re awesome dude!
Use this method to show message to logged user on remote computer: Message from shared text file will be outputted on remote computer.