tango
tango copied to clipboard
Added router function for WP-Admin bar links for #3
Solution for #3 Might not be most elegant solution but I don't know page.js very well. ¯_(ツ)_/¯
This is cool! It has two issues though:
- the Logout link in the "howdy..." menu would still need to be accounted for
- browser history breaks (clicking through to the admin and then clicking Back in the browser doesn't work)
It may make more sense to have page.js selectively ignore everything in the admin bar, but I'm not sure how to do that (docs mention a click: false
option for selective binding which might help).
Thanks, didn't see an easy way to do selective ignoring of links. Will play around with click: false
Good to know about the history issue, didn't think about that.