Support » How-To and Troubleshooting » Using PHP in WordPress menus
3 years, 10 months ago
Hope this is the right place for this question.
I want to use php as the link for a cutom link item in a wordpress menu so instead of http://domain/thislink/ I want to have http://domain/<?php echo S2MEMBER_LOGIN_WELCOME_PAGE_URL; ?>/
How do I get WordPress to render php properly? I found this, , which uses the Walker class to render a description. I’m not a php coder so couldn’t adapt that myself for WP to be able to render php as the link. I’m not even sure if I’m on the right lines with that link.
I hope this makes sense!!!