WordPress.org

Ready to get started?Download WordPress

Forums

Nav Menu Roles
[resolved] Nav menu role and WPtouch (8 posts)

  1. psn
    Member
    Posted 1 year ago #

    Hi,

    I have WPtouch as mobile theme and app but they seems not using same hooks as your plugin. Can this be easily solved and how?

    Per

    http://wordpress.org/extend/plugins/nav-menu-roles/

  2. helgatheviking
    Member
    Plugin Author

    Posted 1 year ago #

    I'm going to need a lot more information than that. Please describe your problem in detail. What are you expecting to see? What are you seeing instead?

  3. psn
    Member
    Posted 1 year ago #

    Hi

    In our desktop version we have some custom menu where we set rules via your plugin so only logged in users will see them but in WPTouch users can see them even if user is not logged in.

    So we want same function in WPtouch as we have for our desktop version that menu where we set this rule should only be visible for logged in users.

    //Per

  4. helgatheviking
    Member
    Plugin Author

    Posted 1 year ago #

    In version 1.2 I switched the front-end menu customization to using a filter on wp_get_nav_menu_items instead of my own custom Walker, which was interfering with other themes that used their own Walker, so make sure you are using version 1.2.

    However, I am not familiar with WPTouch. I just downloaded it and it appears to create its own menu somehow, thereby bypassing wp_nav_menu(), which is needed for my plugin to work.

    That's just my best guess though. I can't promise 100% integration with every other plugin in the WordPress world. You might want to ask WPTouch how they are doing their menus and how operations that work on default WP menus (such as my filter) can be tweaked to work on their own menus.

  5. psn
    Member
    Posted 1 year ago #

    Hi

    Yes we are using your version 1.2 and I will ask dev.team at WPtouch how their menu works and I will come back asap.

    Per

  6. psn
    Member
    Posted 1 year ago #

    Hi

    We have now got answers from the dev team of WPtouch and as this pro plugin is a paid plugin they don't support answers around how in detail to tweak their code. Its up to us users to find out by our self :-(

    I don't know if you can figure out by looking in their code how they create their menu but when we create custom menus in WP core menu function all these is showned in WPtouch settings for menus and icons. So there we can chose which custom menu WPtouch should pic up and the only settings beside that is to tick of certain menus in the custom and all other is showing up regardless of your plugin.

    Per

  7. helgatheviking
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry, but I cannot support someone else's plugin. As I said, the best I can tell is they are generating their own menu for mobile devices so my plugin doesn't have any opportunity to take effect.

  8. psn
    Member
    Posted 1 year ago #

    Yes I understand that, so anyway thxs for your answers and I close this thread and will wait for WPtouch to develop their plugin to support yours.

    Per

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags