Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not assign a current state to home-link in the menu #37

Open
LourensThalen opened this issue Oct 23, 2014 · 1 comment
Open

Does not assign a current state to home-link in the menu #37

LourensThalen opened this issue Oct 23, 2014 · 1 comment

Comments

@LourensThalen
Copy link

Love Ajaxify, fits exactly to my needs. One problem though:

I use it on a WP install. It works like a charm, but it does not assign a 'current' class to the link that points to the homepage. The home-link is also the first link in the navigation, but I changed the order and the problem was not solved. It somehow forgets to mark the homepage as active. Does not matter which page you start from, all the links work, the home-link works as well but just does not recieve a current class. Does anybody know why this is?

Keep it up, awesome work! :)

@subharanjanm
Copy link

As you are trying to use it on WordPress, have a look into this plugin code: https://wordpress.org/plugins/ajaxify-wordpress-site/. See how this plugin uses the "ajaxify" code for menus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants