-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
181 lines (143 loc) · 5.17 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
=== Device Mockups ===
Contributors: mrdink, phikai
Donate link: https://www.paypal.me/justinpeacock
Tags: portfolio, shortcode, device, mockup, iphone, responsive, gallery
Requires at least: 3.7
Tested up to: 4.8.1
Stable tag: 1.8.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Show your work in high resolution, responsive device mockups using only shortcodes.
== Description ==
Show your work in high resolution, responsive device mockups using only shortcodes. Wrap images, videos, or any other content within a few simple shortcodes to display them within any of the pre-packaged devices mockups, which are easily selectable from within the editor.
[Documentation](https://devicemockupswp.com/)
= Available shortcodes =
* [device][/device]
* [browser][/browser]
= Device Attributes =
* type: imac|iphone6|iphone6-plus|iphone5s|iphone5|s3|lumia920|ipad|nexus7|surface
* color: black|white|gold|silver
* orientation: portrait|landscape
* stacked: open|closed
* position: left|right
* link
* width: (px or %)
* hide: left|right
* scroll: false
* gallery: false
= Browser Attributes =
* type: chrome|firefox|safari
* link
* width: (px or %)
* gallery: false
= Creating a Gallery =
* Add gallery="true" to your device|browser shortcode
* Add your images within your device
* Add a `<div>` around each image within the device
I'm working to simplify this process but for now, this will get your galleries working.
See [Gallery Slider](https://devicemockupswp.com/gallery-slider/)
= Recommended Image Sizes =
* iPhone 6 – 1334×750
* iPhone 6 Plus – 1920×1080
* iPhone 5s – 1136×640
* iPhone 5 – 640×1136
* iPad – 2048×1536
* iMac – 1920×1200
* Macbook Pro – 1440×900
* Galaxy S3 – 720×1280
* Nexus 7 – 1920×1200
* Surface – 1920×1080
* Lumia 920 – 768×1280
* Chrome – 1440×900
* Firefox – 1440×900
* Safari – 1440×900
= Bugs: =
* [Report an issue](https://wordpress.org/support/plugin/device-mockups)
= Questions/Comments =
* https://byjust.in/contact/
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/device-mockups` directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress
== Screenshots ==
1. Devices
2. Stacking
3. Browsers
== Upgrade Notice ==
= 1.8.1 =
* Removed the shortcode filter because the new output needs no filter. If you see any issues like extra p or br tags, please let me know.
= 1.8.0 =
* The gallery shortcode has been updated – please see the [Gallery Slider](https://devicemockupswp.com/gallery-slider/) for an example.
== Changelog ==
= 1.8.1 =
* Added composer to grab latest wpcs and phpcs
* Removed shortcode filter
* More code optimization to meet WordPress Coding Standards
= 1.8.0 =
* Removed [dm-gallery] shortcode and replaced it with a simpler way to create a gallery
* Simplified CSS by using @extend
* More code optimization
= 1.7.0 =
* updated code to reflect WordPress Coding Standards
* optimized images to help save on loading time
* this release is mainly to clean up code so that I can start working on future updates
= 1.6.0 =
* adding ability to scroll within the device
* cleaned up code
* added support for jetpack videos
= 1.5.2 =
* optimized output to work better with other shortcodes i.e. page builders
* removed conditional statements to check for if shortcode is used to enqueue and moved enqueue within the shortcode function
* shortcodes will work within widgets now
= 1.5.0 =
* semi-major update
* re-wrote entire code base
* styles and scripts only enqueue when shortcodes are used
* re-organized tinymce button
* switched to slick.js for gallery slider
* added internalization
= 1.4.2 =
* pull request from @irazasyed to fix the custom url to the plugin dir
* removed README.md
= 1.4.0 =
* added FlexSlider
* fixed a CSS issues with iPhone 6
* fixed stacking button in editor
* reverted to node-sass
* updated file structure
= 1.3.1 =
* URL fix in the readme.txt
* image optimization
= 1.3.0 =
* added iPhone 6, iPhone 6 Plus, and iPhone 5s
* added an attribute to hide the left or right of the device (currently doesn't work with stacking) - idea credit to @raphaelkross
* added browsers (chrome, firefox, and safari)
* added hiding but currently in beta
* added documentation link to plugin
* and much more
= 1.2.1 =
* added icons to support WP 4.0 installer (Created by @timm3h)
* added more browser prefixes
= 1.1.9 =
* fixed a bug reported by Barn2Media
= 1.1.8 =
* added width attribute. (Example width="80%" or width="400px")
* note that `width` isn't for overall width of `stacked` devices. I suggest wrapping the `stacked` items in a div and applying a max-width
= 1.1.7 =
* added the ability to wrap a link around a device screen
= 1.1.4 =
* added missing styles for stacked devices
= 1.1.3 =
* added the unminified CSS file and removed Neat
* added conditionals for data attributes
* added screenshot for shortcodes button
* added version string to CSS
= 1.1.1 =
* fixed a conditional statement that was outputting classes that weren't needed
= 1.1 =
* added TinyMCE button for predefined shortcodes
= 1.0.2 =
* formatting fixes for readme.txt :)
= 1.0.1 =
* readme.txt fixes
= 1.0 =
* Initial commit