Justin Peacock
Forum Replies Created
-
Forum: Plugins
In reply to: [Device Mockups] Gallery SliderMake sure you upload and create a gallery normally but make sure to add “dm-” before the normal [gallery] shortcode.
[device type="macbook" width="" link=""][dm-gallery include="766,765,764,763,762"][/device]
Hope this helps! (I’m working on better documentation)
JP
Forum: Plugins
In reply to: [Device Mockups] Documentation??Hey guys,
I moved my documentation site a while back and the move caused issues with the code snippets.
I’m going to work on getting the site updated and I’ll let you know when everything is back up.
Thanks,
JPForum: Plugins
In reply to: [Device Mockups] Need helpHey meadata,
You’re correct, place the image inside the shortcode. The link attribute will place an anchor around the image for you so use that to link something.
I listed some recommended sizes at the bottom of the home page located here. https://www.dm.byjust.in
Thanks,
JPForum: Plugins
In reply to: [Device Mockups] I am a newbie and can't get the image to displayHey @meijin2k,
“link” is used for linking the image to a URL.
For the image you’ll want to do the following:
[device type="imac" width="100%" link=""https://www.domainname.com/wp-content/uploads/2015/07/dad_mockup1.jpg][/device]
Forum: Plugins
In reply to: [Device Mockups] Link AttributeThanks Darija,
If you’d like to add target=”_blank” to a link, try this.
Instead of using link=””, just wrap a link around the image inside the shortcode like so:
`[device]YOUR_IMG[/device]
Hope that helps!
JP
Forum: Plugins
In reply to: [Device Mockups] Apple WatchHey JeanPaulH,
I’ll add this to my to-do list. I hadn’t thought about adding but it’s something I can definitely do.
I’m working on a major update to this plugin (not sure when I’ll finish) but it will most likely be included in that update.
Thanks,
JPForum: Plugins
In reply to: [Device Mockups] iPhone Device Won't CentreHave a look at https://www.dm.byjust.in/iphone-6/
Below you can see an example of how I’m centering the iPhone at the top of the post.
<div style="text-align: center">[device type="iphone6" width="50%"]<img class="alignnone size-large wp-image-229" src="https://byjust.in/wp-content/uploads/sites/3/2014/09/iphone6-589x1024.png" alt="iphone6" width="589" height="1024" />[/device]</div>
Let me know if this helps!
Thanks,
JPForum: Plugins
In reply to: [Device Mockups] TinyMCE button doesn’t showHey rickhougardy,
It could be one of two things (or both maybe).
1. Is your WordPress version at least 4.0?
2. Are you using a custom post type?
If it’s 2 then it’s an issue I’ve fixed in a major update I’m working on but there’s no ETA on when I’ll release it. I may do a hotfix and get this fixed though.
Thanks,
JPForum: Plugins
In reply to: [Device Mockups] Documentation??Hey cbmatthews,
Sorry I’m just now responding.
The documentation link is listed in the description of the plugin.
Documentation
For more information, including code examples and more, check out (https://dm.byjust.in).Let me know if you need anymore help!
—
JPForum: Plugins
In reply to: [Device Mockups] Autoplay VideoHey @rodrigo.
I’ve created an example for you on my site here. https://www.dm.byjust.in/autoplay-example/
Instead of using the [embed] shortcode that I recommend in the docs, just use the embed code from Vimeo itself. Click on the advanced options on Vimeo and you’ll be able to tick “Autoplay”.
[device type="iphone6" orientation="landscape"]<iframe src="https://player.vimeo.com/video/14600175?autoplay=1" width="500" height="250" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>[/device]
Hope this helps!
—
JPForum: Plugins
In reply to: [Device Mockups] BugHey @unocoma,
Can you create a test post and insert the video without using the device mockup shortcode? I just want to make sure that it’s the shortcode causing the issue and not something else.
Thanks,
JPForum: Plugins
In reply to: [Device Mockups] Multisite support?Haven’t heard back but I’m sure this was the issue.
Forum: Plugins
In reply to: [Device Mockups] Multisite support?Hey @stillingen,
Whenever you “Network Activate” a plugin that means it’s “Activated” for all of the sites in your network. That means it won’t show up under Plugins if you’re in the Dashboard of one of your sites.
Can you go to one of the sites in your network and add one of the shortcodes such as [device][/device] and see if it’s working? If it’s not working I’ll look further into but I’ve tested on multisites before and haven’t had any issues.
Thanks,
JustinForum: Plugins
In reply to: [Device Mockups] BugHey Barn2Media,
Just letting you know I’ve resolved the bug you reported. Thanks again for pointing that out.
Forum: Plugins
In reply to: [Device Mockups] BugThanks for bringing this to my attention. I’m working on a fix for it now.