WordPress.org

Ready to get started?Download WordPress

Forums

Using PHP in WordPress menus (1 post)

  1. EmbadoBen
    Member
    Posted 1 year ago #

    Hi,

    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!!!

Topic Closed

This topic has been closed to new replies.

About this Topic