In my last post, I talked about how to add a custom meta box with a custom link to WordPress navigation menus. Several times, I mentioned how I needed to add a specific class to that link for WishList Login 2.0, so that I could find that link later and do stuff with it. This is the part where we “do stuff” with that link. Specifically, we’re going to hook into the navigation menu before it displays, find our link and change its display based on the current user’s login status. Here’s what it looks like: So, if they’re logged
When I created WishList Login 2.0, I wanted to an easy way for users to add a dynamic login/logout link to their navigation menus. As simple as it sounds, it’s not something you can do natively in WordPress and we can requests for this kind of thing all the time. In WishList Login 1.0, I had added an entire admin interface in the plugin settings that had all the necessary options for creating the link, editing its text, setting its position, and so on. Of course, this was before WordPress added menus, so I didn’t have much choice… but, now
The simple secrets to high-paying freelance clients
What makes clients willing to pay $5,000, $10,000 even $20,000 and up for your services? Download and install my mobile app and I’ll show you. It’s free. Just click the button below:
WHAT OTHERS ARE SAYING
John is top-notch and a great guy to work with.
John really delivers!
John is an excellent teacher.
On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”
I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.
John is a man of integrity, who gives generously of himself to projects and people he cares about.
I’m a fan. I have completed several of John’s courses. I find him very knowledgeable and he has a great delivery.
John has provided expert knowledge and advice on multiple occasions that have helped me better serve my clients. John is a Rockstar!
John is a fantastic and patient tutor, who is not just able to share knowledge and communicate it very effectively – but able to support one in applying it. However, I believe that John has a very rare ability to go further than just imparting knowledge and showing one how to apply it. He is able to innately provoke one’s curiosity when explaining and demonstrating concepts, to the extent that one can explore and unravel their own learning journey. Thanks very much John!
John has a relaxed and engaging manner. His advice is solid and the explanations are well thought out.
John has a habit of over-delivering on the expectations he sets up. That’s why he’s the best.
John and I have worked together on numerous projects. John is very quick and efficient and was a pleasure to work with.
John has a particular knack for the development and training of others.
John is one of the best instructors I have come across, I learned a lot from his online tutorials.
John did an outstanding job on my project. I highly recommend him and look forward to working with him on future projects.