We’ve just created a live demo of Elementor Pro

What is Elementor Pro?

The most powerful, live page builder, built for the web-designer. Elementor Pro is here, and it’s time to take it for a spin and see just what it has to offer.

Check out the details here:

Elementor Pro Demo

We started with a lean, free page builder. Now, after months of hard work, we are proud to have reached a much more mature, premium page builder, jam packed with amazing features and capabilities.

With Elementor Pro, you have much more control over your entire website design and functionality, and this control is expected to grow significantly in the next months.

– elementor.com

UCM Pro is 40% off in the Envato Corporate Sale – this week only

Good news! UCM Pro is 40% off this week as part of the Envato Corporate Sale.

 

Our Ultimate Client Manager System is on sale this week at 40% OFF over on CodeCanyon. UCM is a Project Management System and CRM designed for freelancers and small businesses who need a quick and easy way to manage their clients, projects and invoicing.

Featured in Envato Blog Diagonal Designs

Diagonal & Slanted Lines Inspiration for Web Design.  

Our theme Pastel was lucky enough to be featured in a blog post by Envato listing the best examples of website designs with slanted lines.

Pastel wordpress

This is what they had to say:

For a much more subtle example of slanted design check out Pastel. This layout has page sections with very slight diagonals moving down to the right at maybe a 15° slant.

But the layout also uses hexagons for various images throughout the design. The blog section in particular uses hexagons for all post thumbnails and they really jump off the page.

Pastel is a great example of how a few simple slanted lines can play a big role in the final layout.

How to run PhantomJS from PHP

I was adding PhantomJS into an existing PHP script and running passthru('phantomjs .....'); just wasn’t working.

A few tips:

  • If you’re running the script locally, add export DISPLAY=:0 to the PHP passthru()
  • If you’re running the script on a remote host make sure someting like Xvfb is installed, then run nohup Xvfb :40 -ac -screen 0 1600x4000x24 & and export DISPLAY=:40 before executing pantomjs

Here’s the final script that worked great on my local PHP / Linux install:

 

$screenshot_file_name = "thumbs/screen1.jpg";
$website_address = 'http://example.com';

$screenshot_file_name = realpath($screenshot_file_name);
$script = "var page = require('webpage').create();
page.viewportSize = {
 width: 1600,
 height: 1400
};
page.open('$website_address', function () {
 window.setTimeout(function () {
 page.render('$screenshot_file_name');
 phantom.exit();
 }, 1000); // Change timeout as required to allow sufficient time 
});";

$file = "/tmp/phantom".md5($website_address).'.js';
file_put_contents($file, $script);
passthru("export DISPLAY=:0 && phantomjs $file && convert $screenshot_file_name -resize 406x -crop 400x300+0+0 +repage $screenshot_file_name.thumb.jpg");
if(filesize($screenshot_file_name)){
 echo "<br>Screenshot saved: $screenshot_file_name ";
}else{
 echo "<br>Warning:! Screenshot $screenshot_file_name failed to generate <br>\n";
}
unlink($file);

 

Just passed 6000 installations on Hosted-Demo!

Five months ago I created hosted-demo.net as a way to allow my customers backend access to WordPress themes before purchase.

This tool gave customers a temporary 1 hour website to test all the features of the theme and confirm it will suit their needs before buying.

To view an example of our live theme demo pages please go here: http://dtbaker2.theme-demo.net

We’ve had great feedback from everyone using the system and today we just passed 6000 live demo instances!

These were created by 4500 unique ThemeForest customers.

If you would like to offer your own theme demo service please head over to http://hosted-demo.net/portal/ and sign up.