• proturnkeys

    (@proturnkeys)


    Hi,

    I have installed the plugin on my site and it works fine on the standard wordpress menus, but I have a HTML based menu in the top bar of my site which includes a number of links, one of which is to the My Account area of Woocommerce. I want to create login/registration and logout links which are displayed conditionally on the users logged-in/logged-out status pointing to my- account. The first tab in my account will contain either login form, a registration form or logout buttom from https://ww.wp.xz.cn/plugins/login-with-ajax/. My links in top menu are like this…

    <a href="http://mysite.com/about/">ABOUT</a> | <a href="http://mysite.com/news/">NEWS</a> | <a href="http://mysite.com/my-account/">REGISTER/LOGIN</a> | <a href="http://mysite.com/my-account/">LOGOUT</a>

    So just wondering how to incorperate the features of your plugin into the standard html links above?

Viewing 1 replies (of 1 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Why not register a new wordpress menu and use that? It will be automatically compatible with my plugin. Otherwise my plugin doesn’t so much more than provide an admin UI for the current_user_can() conditional check around each menu item. You can do that manually.

Viewing 1 replies (of 1 total)

The topic ‘Using functionality in normal html based links, ie non core menus’ is closed to new replies.