Title: posting php
Last modified: August 18, 2016

---

# posting php

 *  [vizionn](https://wordpress.org/support/users/vizionn/)
 * (@vizionn)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/posting-php-2/)
 * Is there anyway I can enable it?
 * I want to be able to post:
    <?php $tbn = $HTTP_GET_VARS[‘tbn’]; echo “<img src
   =\”photography/$tbn\” alt=\”Vizionn twiztedstyle twizted style\” />”; ?> as a
   page.
 * Would I need to create a plugin?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [wilrushmer](https://wordpress.org/support/users/wilrushmer/)
 * (@wilrushmer)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/posting-php-2/#post-278479)
 * Off the top of my head, create a static page called photography.php(for example)
   and put in your theme directory, include your code above of course. then go into
   write &raquo writep age in the admin section and create a new one called photography.
   In the dropdown box for “Add a new custom field to this post:” select _wp_page_template
   as the key and its value as photography.php. That should do the trick.
 * You probably wont be able to call images from the same directory, maybe call 
   them from /wp-content/ instead.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/posting-php-2/#post-278496)
 * Try one of these plugins:
 * [http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/](http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/)
 * [http://mark.scottishclimbs.com/archives/2004/07/02/running-php-in-wordpress-posts/](http://mark.scottishclimbs.com/archives/2004/07/02/running-php-in-wordpress-posts/)
 *  Thread Starter [vizionn](https://wordpress.org/support/users/vizionn/)
 * (@vizionn)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/posting-php-2/#post-278944)
 * the php plugins didnt work but i used the theme method and it works a treat
 * thanks both of you

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘posting php’ is closed to new replies.

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [vizionn](https://wordpress.org/support/users/vizionn/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/posting-php-2/#post-278944)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
