Title: Justin Peacock's Replies | WordPress.org

---

# Justin Peacock

  [  ](https://wordpress.org/support/users/mrdink/)

 *   [Profile](https://wordpress.org/support/users/mrdink/)
 *   [Topics Started](https://wordpress.org/support/users/mrdink/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mrdink/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mrdink/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mrdink/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mrdink/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mrdink/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 64 total)

1 [2](https://wordpress.org/support/users/mrdink/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mrdink/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/mrdink/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/mrdink/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/mrdink/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Turning on multiple options](https://wordpress.org/support/topic/turning-on-multiple-options/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/turning-on-multiple-options/#post-9569704)
 * Scrolling and gallery weren’t really built to work with each other. It most likely
   will not work as you’e expecting.
    -  This reply was modified 8 years, 10 months ago by [Justin Peacock](https://wordpress.org/support/users/mrdink/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Can’t Use Other Shortcodes](https://wordpress.org/support/topic/cant-use-other-shortcodes/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/cant-use-other-shortcodes/#post-9498533)
 * Hey [@uxankco](https://wordpress.org/support/users/uxankco/),
 * By default WordPress doesn’t allow shortcodes in widgets, but if you add the 
   following to your `functions.php` within your theme it will allow it.
 * `add_filter('widget_text','do_shortcode');`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Auto Scroll on Hover?](https://wordpress.org/support/topic/auto-scroll-on-hover/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/auto-scroll-on-hover/#post-9458076)
 * Hey all,
 * I was working to implement this but it’s going to be difficult with so many variables(
   image height/width, speed of scroll, etc)
 * If someone has a better idea of how to do it, just let me know but I’m going 
   to close this thread for now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Gallery Slider](https://wordpress.org/support/topic/gallery-slider-3/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/gallery-slider-3/#post-9458070)
 * Hey [@mcoolu](https://wordpress.org/support/users/mcoolu/),
 * Sorry for the delay. There was a few months where I didn’t have time to devote
   to this plugin.
 * I’ve been updating and optimizing this plugin over the past few weeks. Grab the
   latest and see how you like it. The Gallery option is done a little different
   now.
 * Have a look at [https://devicemockupswp.com/gallery-slider/](https://devicemockupswp.com/gallery-slider/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Device mockup and optimizepress](https://wordpress.org/support/topic/device-mockup-and-optimizepress/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/device-mockup-and-optimizepress/#post-9458056)
 * Hey [@jj73](https://wordpress.org/support/users/jj73/),
 * I’ve been optimizing this plugin over the past few weeks. Can you grab the latest
   and see how it’s working now along with optimizepress?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Scrolling within device doesn’t work](https://wordpress.org/support/topic/scrolling-within-device-doesnt-work/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/scrolling-within-device-doesnt-work/#post-9445155)
 * [@codebastler](https://wordpress.org/support/users/codebastler/) the reasoning
   behind no scrolling on mobile was that I found it a little intrusive when you’re
   scrolling down the page. For example, when you’re scrolling normally and get 
   to the device mockup it would start scrolling the device instead of normal scrolling.
 * If you want to add it to your site just add the following to your theme stylesheet
 * .dm-scroll > .device > .screen {
    overflow-y: scroll; }
 * This will make it scroll for all screen widths.
    -  This reply was modified 8 years, 11 months ago by [Justin Peacock](https://wordpress.org/support/users/mrdink/).
      Reason: fixed css
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Scrolling within device doesn’t work](https://wordpress.org/support/topic/scrolling-within-device-doesnt-work/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/scrolling-within-device-doesnt-work/#post-9443675)
 * Hey [@codebastler](https://wordpress.org/support/users/codebastler/)
 * Have a look at [https://devicemockupswp.com/scrolling/](https://devicemockupswp.com/scrolling/)
 * Main thing is to make sure you’re adding `scroll=true` to the shortcode.
 * Are you adding this and it’s still not working?
 * EDIT:
 * Scratch that – just realized some updates that I was working on got pushed up
   by accident 🙁
 * If you need a fix right away, use 1.6.1, if not I’ll be pushing an update soon.
 * EDIT 2:
 * Thanks for helping with that [@codebastler](https://wordpress.org/support/users/codebastler/).
   I’ve put the stable tag back at 1.6.1. I’m in the process of updating the plugin
   and setting the version to 1.7.0 ended up pushing the work in progress. Delete
   the plugin and reinstall and everything should be working as expected.
    -  This reply was modified 8 years, 11 months ago by [Justin Peacock](https://wordpress.org/support/users/mrdink/).
    -  This reply was modified 8 years, 11 months ago by [Justin Peacock](https://wordpress.org/support/users/mrdink/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Auto Scroll on Hover?](https://wordpress.org/support/topic/auto-scroll-on-hover/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/auto-scroll-on-hover/#post-8886026)
 * Hey guys,
 * Sorry for the late response. This is something I’m planning to add I just haven’t
   had much time to dedicate lately. You can subscribe to this issue on [Github](https://github.com/sixteenbit/device-mockups/issues/22)
   for any follow-ups.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Image Render vs Shortcode](https://wordpress.org/support/topic/image-render-vs-shortcode/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-render-vs-shortcode/#post-8886018)
 * Not through the plugin other than just taking a screenshot of what’s output.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Embed Website](https://wordpress.org/support/topic/embed-website/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/embed-website/#post-8620364)
 * Hey [@clorange](https://wordpress.org/support/users/clorange/),
 * Sadly no, it won’t. It would be a nice feature it would be difficult to load 
   a site correctly within a shortcode like this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Image not filling container](https://wordpress.org/support/topic/image-not-filling-container/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/image-not-filling-container/#post-8174160)
 * Hey remery,
 * That’s most likely a style that’s in your theme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Image on device doesn't scroll](https://wordpress.org/support/topic/image-on-device-doesnt-scroll/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/image-on-device-doesnt-scroll/#post-8174154)
 * Hey Ida,
 * Have a look at [https://www.devicemockupswp.com/scrolling/](https://www.devicemockupswp.com/scrolling/)
 * The only thing I see in your code that might be incorrect is the src=””. Remove`
   src=”Eden Roc Inn Suites Disneyland Anaheim/100%”` and make sure you put the 
   image inside the shortcode.
 * Also, currently you can’t put the browser inside of the macbook but that’s a 
   great idea. I will see if I can come up with something for that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Embed not showing, just blank](https://wordpress.org/support/topic/embed-not-showing-just-blank/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/embed-not-showing-just-blank/#post-7402907)
 * Hey 9minday,
 * There are some known issues with embedding. It’s a lot to do with what theme 
   is being used, what plugins are installed, etc but take a look at [https://devicemockupswp.com/embedding/](https://devicemockupswp.com/embedding/)
   and see if you can get it working. Try using the shorter link YouTube gives you
   rather than the actual embed code.
 * Thanks,
    Justin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Resizing the device](https://wordpress.org/support/topic/resizing-the-device/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/resizing-the-device/#post-7304186)
 * Hey remery,
 * There’s a “width” attribute you can use which will put a max-width container 
   around the device.
 * Example:
    `[device type="macbook" width="400px"]<img class="alignnone" src="https://
   img.sixteenbit.com/1440x900" alt="Macbook" width="1440" height="900" />[/device]`
 * The width attribute can use pixels or a percentage.
 * Hope this helps!
 * Justin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Device Mockups] Not working](https://wordpress.org/support/topic/not-working-1550/)
 *  Plugin Author [Justin Peacock](https://wordpress.org/support/users/mrdink/)
 * (@mrdink)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/not-working-1550/#post-6946166)
 * Hey yash78910,
 * Could you post an example of the shortcode that you’re putting in your content
   area?
 * Thanks,
    Justin

Viewing 15 replies - 1 through 15 (of 64 total)

1 [2](https://wordpress.org/support/users/mrdink/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mrdink/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/mrdink/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/mrdink/replies/page/5/?output_format=md)
[→](https://wordpress.org/support/users/mrdink/replies/page/2/?output_format=md)