Title: Adding a PHP Query
Last modified: August 19, 2016

---

# Adding a PHP Query

 *  [v2gbr](https://wordpress.org/support/users/v2gbr/)
 * (@v2gbr)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/adding-a-php-query/)
 * Hello to you all, im looking into adding a php query onto a page generated by
   the wordpress software.
 * Is there anyway i can do this by adding the code into the page box from the admin
   system ?
 * It will only be on 1 page. The page is here [http://www.fleetwood-fishing-industry.co.uk/fleetwood-trawlers/](http://www.fleetwood-fishing-industry.co.uk/fleetwood-trawlers/)
   you will see a list of trawlers on that page. I have made thos links manually
   but i now have the query but cannot get the php code to work on the page.
 * All help will be greatfully recieved.
 * Alan Duggan

Viewing 1 replies (of 1 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/adding-a-php-query/#post-861509)
 * Two options:
    – use a plugin like phpexe, exephp (search) – those will let the
   php to execute in posts/Pages – put the code in a special [Page template](http://codex.wordpress.org/Pages#Page_Templates)
   and use that one fro your Page

Viewing 1 replies (of 1 total)

The topic ‘Adding a PHP Query’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/adding-a-php-query/#post-861509)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
