Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Feedback
  3. Shortcodes: external links not working

Shortcodes: external links not working

Scheduled Pinned Locked Moved Feedback
shortcodesexternal linkscross-domainmenusub-menu
3 Posts 2 Posters 660 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ArneRobotA Offline
    ArneRobotA Offline
    ArneRobot
    wrote on last edited by
    #1

    Hello Armin,

    I posted this question on Monday in another thread but need to pick it up again here.

    I am using the WP-Plugin "menu shortcode" to generate sub-menus on pages. This works fine as long as I link to internal pages or projects in my Lay install. As soon as I place an external ("custom") link, the link in my sub-menu won't work and it will block all other links on the page as well. I tested this quite a bit and it seems to be related to the data-type="custom" bit that gets added to those links. When I place an external link in my content area (so not via the shortcode menu) it works but when I add data-type="custom" it produces the same error.

    Here is the page with those problems: http://laboratorium-haus1.de/wp2017/kuenstlerinnen-und-kuenstler/jenny-alten

    And here is a page with internal links that work: http://laboratorium-haus1.de/wp2017/kuenstlerinnen-und-kuenstler/lydia-mueller

    I guess it could be related to jQuery not being able to pull external content but I am not sure.

    Is there a fix for this? It would be great since this would be a great way to have as many sub-menus as you want on your Lay pages! Not a big effort to generate an place them via shortcodes. Management of the menus can be handled by WP's standard menu page etc.

    Thanks a lot! Cheers, Arne

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      Hey Arne, can you update and see if it works now?
      I just did a little update which I think can make that "menu shortcode" plugin work.

      1 Reply Last reply
      0
      • ArneRobotA Offline
        ArneRobotA Offline
        ArneRobot
        wrote on last edited by
        #3

        Hello Armin,

        yes, that works like a charm now! Thank you!

        Now if you make it possible to have these menus on all pages or projects without adding them by hand and with the rest of the pages flowing around them we have a pretty nice second menu system… ;-)

        Thanks and cheers,
        Arne

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        I also code custom websites or custom Lay features.
        💿 Email me here: 💿
        info@laytheme.com

        Before you post:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

        This often solves issues you might run into

        When you post:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search