{"id":9115368,"date":"2017-05-10T01:04:17","date_gmt":"2017-05-10T01:04:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-functionality-in-normal-html-based-links-ie-non-core-menus\/"},"modified":"2017-05-10T01:04:17","modified_gmt":"2017-05-10T01:04:17","slug":"using-functionality-in-normal-html-based-links-ie-non-core-menus","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-functionality-in-normal-html-based-links-ie-non-core-menus\/","title":{"rendered":"Using functionality in normal html based links, ie non core menus"},"content":{"rendered":"<p>Hi,<\/p>\n<p>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:\/\/wordpress.org\/plugins\/login-with-ajax\/. My links in top menu are like this&#8230;<\/p>\n<p><code>&lt;a href=&quot;http:\/\/mysite.com\/about\/&quot;&gt;ABOUT&lt;\/a&gt; | &lt;a href=&quot;http:\/\/mysite.com\/news\/&quot;&gt;NEWS&lt;\/a&gt; |  &lt;a href=&quot;http:\/\/mysite.com\/my-account\/&quot;&gt;REGISTER\/LOGIN&lt;\/a&gt; | &lt;a href=&quot;http:\/\/mysite.com\/my-account\/&quot;&gt;LOGOUT&lt;\/a&gt;<\/code><\/p>\n<p>So just wondering how to incorperate the features of your plugin into the standard html links above?<\/p>\n","protected":false},"template":"","class_list":["post-9115368","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9115368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9115368\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9115368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}