Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Justin Peacock

    (@mrdink)

    Hey Marxeo,

    Thanks for pointing this out. I’ll push an update for this soon. In the meantime you can add the following to your theme and it will fix it.

    add_filter('widget_text', 'do_shortcode');

    Thanks,
    Justin

    Plugin Author Justin Peacock

    (@mrdink)

    Hey Marxeo,

    I’ve added this filter back in 1.5.1.

    Thanks,
    Justin

    Thread Starter Marxeo

    (@marxeo)

    Hey Justin, its not working correctly.

    You can see on https://www.dortmund-webdesign.net/
    At this Point under “So erstellen wir erfolgreiche Websites.” has to be the Device Mockup with the Video.

    Wheter [device type="macbook"][embed]https://youtu.be/9a0Ghw9MNME[/embed][/device] (nothing will be displayed)

    nor the Old one (actual just the video is working, not the mockup)

    [device type="macbook"]
    <iframe width="1440" height="900" src="https://www.youtube.com/embed/9a0Ghw9MNME" frameborder="0" allowfullscreen></iframe>
    [/device]

    Greets
    Marxeo

    Plugin Author Justin Peacock

    (@mrdink)

    Are you placing this shortcode within a page or are you using do_shortcode within a page template?

    Something is causing the stylesheets to not load specific to your site because https://www.dm.byjust.in/ is using 1.5.1 and is loading.

    Thread Starter Marxeo

    (@marxeo)

    i am using a widget ??

    genesis_widget_area( 'front-page-4', array(
    		'before' => '<div id="wie-arbeiten-wir" class="front-page-4"><div class="solid-section"><div class="flexible-widgets widget-area' . altitude_widget_area_class( 'front-page-4' ) . '"><div class="wrap">',
    		'after'  => '</div></div></div></div>',
    	) );

    to get the widget loading a shortcode i am using the Plugin: “Allow Shortcode in Text Widgets”.

    With 1.4.2 everything went fine :/

    Dont know whats the matter

    Plugin Author Justin Peacock

    (@mrdink)

    I think i know the issue. Just trying to figure out how to fix it.

    In the latest release i’m only enqueuing styles/scripts when the shortcode is used in a post/page but this doesn’t work in widgets. So I just need to figure out a way to enqueue if the shortcode is used in widgets.

    Stick with 1.4.2 for right now until I get this issue fixed.

    Thread Starter Marxeo

    (@marxeo)

    can you send me 1.4.2 to marc [at-] dortmund-webdesign.net ?
    Dont have it anymore.

    Btw. Great Support, great Plugin, Good Job

    Plugin Author Justin Peacock

    (@mrdink)

    You can grab it here. https://github.com/sixteenbit/device-mockups/releases/tag/1.4.2.1

    BUT I think I may have resolved the issue. I’m going to do some more testing before I push to WP.

    Thanks for the help in pointing out the bug.

    Thread Starter Marxeo

    (@marxeo)

    thx, got it. everything working again

    Plugin Author Justin Peacock

    (@mrdink)

    Just pushed an update if you’d like to see if that’s fixed everything for you.

    Thanks,
    Justin

    Thread Starter Marxeo

    (@marxeo)

    Its working with the Update, n1, thx

    Plugin Author Justin Peacock

    (@mrdink)

    Awesome!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Device Mockup in Widget’ is closed to new replies.