Support » Plugin: Navigation menu as dropdown Widget » Only 1 dropdown links work

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter prokops

    (@prokops)

    Also, both are called:

    <select name="pd_jp_dropdown_menu_widget-REPLACE_TO_ID" id="select_jp_dropdown_menu_widget-REPLACE_TO_ID">

    @jeroen can you help?

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hi @prokops ,

    I will investigate but as a newborns father I currently have little time on my hands

    But I did read it and will take a look

    Kind regards,

    Jeroen Peters

    Thread Starter prokops

    (@prokops)

    Congratulations Jeroen !
    I will switch out nr 2 with a html version until you can verify and fix whatever is the problem.
    Cheers and enjoy!

    • This reply was modified 1 year, 3 months ago by prokops.
    Thread Starter prokops

    (@prokops)

    OK, so I am running your widget in shiftnav. For this to work, I am outputting it via shortcode. In this case, this code fails:

    echo '<select name="pd_' . $this->id . '" id="select_' . $this->id . '">';

    Cheers

    • This reply was modified 1 year, 3 months ago by prokops.
    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hey @prokops , thanks for congratulating me!
    Thanks for clarifying you are working with ShiftNav, so I can recreate your situation accordingly.
    Without shiftnav, it seems to work at my testsite with Chrome as browser. I will try it with ShiftNav now

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hi @prokops,

    I could not find how I’d include the widget into ShiftNav. Do you have one or two screenshots for me?

    Also, can you tell me if you get an error on the piece of code you are referring to? The code seems to be correct in WordPress itself, but maybe it behaves differently in ShiftNav

    Kind regards,

    Jeroen Peters

    Thread Starter prokops

    (@prokops)

    Hi Jeroen, I use a plugin that makes widgets to shortcodes: https://da.wordpress.org/plugins/widget-shortcode/

    The I insert shortcode into Shiftnav: https://paste.pics/CX0QR

    In this process, your plugin loses the reference. I know this is not a beautiful implementation, but Shiftnav recommends to use widgets this way.

    Thread Starter prokops

    (@prokops)

    Note: I changed out the shortcode plugin to one that is much more popular: https://wordpress.org/plugins/amr-shortcode-any-widget/

    Now everything works. So the solution is there šŸ™‚

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    Hey @prokops , I didn’t even know these plugins existed. Great that you have it working with the other plugin!

    Thread Starter prokops

    (@prokops)

    It is to make Shiftnav work with widgets :/ All is good now, so I hope you enjoy parenthood šŸ™‚

    Plugin Author jeroenpeters1986

    (@jeroenpeters1986)

    I do, thank you! šŸ™‚ And also thanks for using my plugin!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Only 1 dropdown links work’ is closed to new replies.