No output in OffCanvas Area (WP Fly Menu)

This topic contains 7 replies, has 4 voices, and was last updated by  Bernward Maspohl 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515846

    Bernward Maspohl
    Full Member
    Post count: 65

    Hi there,

    I would like to load the address data in an OffCanvas area. For this I have the PlugIn WP Fly Menu (https://codecanyon.net/item/wp-fly-menu-responsive-offcanvas-menu-plugin-for-wordpress/23127502) installed and the shortcode [gd_output_location location=”detail“] inserted. But there’s no output:
    https://goto.green/20191030/anbieter/germany/nordrhein-westfalen/lengerich/bioland-hoefe/weidenhof-die-gruene-kiste/
    (You have to click on the PIN in the upper left corner.)

    Does the short code not work here? What do I have to do to display the data of the entry in such an area?

    Thank you and best regards
    Bernward

    #515882

    Kor
    Moderator
    Post count: 16516

    Hi Bernward,

    Thanks for your post. I’ve checked your Website here https://goto.green/20191030/anbieter/germany/nordrhein-westfalen/lengerich/bioland-hoefe/weidenhof-die-gruene-kiste/ and I’m not sure where is the OffCanvas Area. Could you highlight it using a screenshot and also share your Website WP admin access here in private reply so that we could check on it?

    #515883

    Alex Rollin
    Moderator
    Post count: 27815

    As far as I know the shortcodes need to be loaded within the post loop.

    I will ask the developers to consider it and get back to you if they know of a workaround.

    #515963

    Bernward Maspohl
    Full Member
    Post count: 65

    It’s the pin in the top left corner (screenshot attached). Then the empty area opens.
    It would be great if the developers could find a solution.

    #516235

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #516244

    Bernward Maspohl
    Full Member
    Post count: 65
    This reply has been marked as private.
    #516397

    Kiran
    Moderator
    Post count: 7069

    Hi Bernward,

    I have checked and found that flymenu it loaded before the single post loop. So it is not possible to get content via gd_output_location shortcode there.

    You can try following steps to achieve it.

    1) Add Text widget in Widgets > Main Sidebar with following content:

    
    
    <div id="_gd_snippet_move_to_flymenu">[gd_output_location location="detail"]</div>
    <script type="text/javascript">if(jQuery('#_gd_snippet_move_from_flymenu').length && jQuery('#_gd_snippet_move_to_flymenu').length){jQuery('#_gd_snippet_move_from_flymenu').html(jQuery('#_gd_snippet_move_to_flymenu').html());jQuery('#_gd_snippet_move_to_flymenu').closest('.widget_text').remove();}</script>

    2) Add following content in fly menu content instead of gd_output_location shortcode.

    <div id="_gd_snippet_move_from_flymenu"> </div>

    Regards,
    Kiran

    #516407

    Bernward Maspohl
    Full Member
    Post count: 65

    Hi Kiran,

    a great idea! It works 🙂

    I’m gonna make something nice out of this. Perhaps also an idea for you and others to be able to call up the important address data better on Smartphones. At the bottom of the page it is not very clear.

    Thank you very much and best regards,
    Bernward

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount