Documentation: Device Mockup - Image, Video & Website Preview
Table of Contents
- Software Requirements
- Recommended PHP Configuration Limits
- Installation
- Registration
- User Guide
i. Software Requirements
- WordPress 4.6 or higher
- PHP 5.3 or higher (5.6 recommended)
- MySQL 5.6 or higher
ii. Recommended PHP Configurations Limits
- max_execution_time 180
- memory_limit 128M
- post_max_size 32M
- upload_max_filesize 32M
1. Installation
- Download the plugin from your CodeCanyon "Downloads" page
- Open WordPress, go to plugins, then "Add New"
- Click "Upload Plugin"
- Upload the plugin .ZIP downloaded from CodeCanyon, then click "Install Now"
- Activate the plugin.
- Go to Fusion Builder > Settings
- Make sure the "ArcticLune Device Mockup" element is checked. Click Save Settings.
The element will now be available to add to your pages!
2. Registration
To enable updates including new features and bug fixes, you’ll need to register the plugin.
After the plugin is activated in the WordPress plugin list, a notification bar will appear near the top of the screen with registration instructions. Once that process is complete, plugin updates will be activated.
If for whatever reason the notification bar does not show up, you can also register by clicking "Registration" underneath the plugin name. This registration link will only show up if the plugin is activated.
You can check for updates by going to the WordPress plugin list, and clicking "Check for updates" below the plugin description.
3. User Guide
This element is designed to be used with the Fusion Builder page builder interface.
Quick Start Guide
- Click the "+ Element" button, then "ArcticLune Device Mockup"
- Open the element's settings.
- Use the fields provided to set the content, device type, and customize other settings as needed.
- Click "Save" to apply the changes
- Update the page and view it to see the results!
Sizing note: the Device Mockup is responsive, and will scale to fit the width of its container.
Set the Mockup Content
- Open the element's settings.
- Under the "General" tab, set the "Content Type" dropdown to the desired content.
- Set the following field to the image, website, or video to be displayed.
- Click "Save" to apply the changes
- Update the page and view it to see the results!
Set the Device Type
- Open the element's settings.
- Under the "General" tab, set the "Device Type" to the desired device.
- NOTE: You can also choose a custom device that isn't listed.
- Upload a custom PNG image with the inner area transparent.
- Set the "Device Viewport Offset" fields as a percentage that the viewport is from each edge of the image.
- Click "Save" to apply the changes
- Update the page and view it to see the results!
Set a Custom Overlay Color
- Open the element's settings.
- Under the "Design" tab, set the "Overlay Color" to the to a color with some transparency.
- Click "Save" to apply the changes
- Update the page and view it to see the results!
Responsive behavior
Sizing note: the device mockup is responsive, and will scale to fit the width of its container on smaller screen sizes.