Yep, that works, but there's also another pages using the menu at the top that I've just noticed.
Is there a way to check if the page is just settings or edit?
These seem to be the only ones that need the button.
Yep, that works, but there's also another pages using the menu at the top that I've just noticed.
Is there a way to check if the page is just settings or edit?
These seem to be the only ones that need the button.
If I use that, it displays only on followers/following page.
!followers.length doesn't seem to work and edit.length doesn't work either so I'm not sure how to do this :s
Thanks
Thanks for that, so in the template how can I use the IF functions, I'm not too sure on this stuff..
<!-- IF location.pathname IS "/followers" --> ?
or = or something else?
Hey guys, I'm toying around with the lavender theme and I've moved the save changes button on the settings pages to the top, in the same bar as the "Edit, Settings, Profile" links.
The problem with this is that it will appear even on /followers and /following.
Is there a way to check if the current URL is /followers or /following in the template file?
Thanks.