Title: How to link to PHP code?
Last modified: August 22, 2016

---

# How to link to PHP code?

 *  [joethall](https://wordpress.org/support/users/joethall/)
 * (@joethall)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-link-to-php-code/)
 * How can I set things up so that when a user left-clicks on a graphic on one of
   my WordPress pages that some PHP code that I supply is run?
 * Shortcodes was thought to be the solution but, apparently, the only way that 
   the shortcode plugin can be run is via the text “[something]”.
 * Thanks

The topic ‘How to link to PHP code?’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [joethall](https://wordpress.org/support/users/joethall/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-link-to-php-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
