Title: PHP-variable in Link
Last modified: August 21, 2016

---

# PHP-variable in Link

 *  [Luise1974](https://wordpress.org/support/users/luise1974/)
 * (@luise1974)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-variable-in-link/)
 * Ahoj!
 * I’m using PHP in WordPress which works fine (nice Plugin)
 * Now I need to send a PHP-variable with a link in the menu.
 * Like:
    “[http://www.mysite.com/?page_id=207&ka=$ka](http://www.mysite.com/?page_id=207&ka=$ka)
 * Is it possible to customize the link in this way through the WordPress-Menu-option?
 * Otherwise I need to customize the menu-sidebar straight in my child theme, but
   before doing so I’m checking out if someone in the knowledge base knows better.
   
   Thank you! Luise

The topic ‘PHP-variable in Link’ is closed to new replies.

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 0 replies
 * 1 participant
 * Last reply from: [Luise1974](https://wordpress.org/support/users/luise1974/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/php-variable-in-link/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
