Title: Include php code into page
Last modified: August 19, 2016

---

# Include php code into page

 *  [leg0](https://wordpress.org/support/users/leg0/)
 * (@leg0)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/include-php-code-into-page/)
 * Hi! I’m kinda newbie with wordpress and i need to add the button into the table
   on the page. or just a link. kind of:
    [Print this table](https://wordpress.org/support/topic/include-php-code-into-page/?output_format=md#)
 * is there any way to do this without creating custom php template for this page?
   cause i know u can’t add php code in the “Edit page” section.
    still, if i’m 
   using custom php template, how can i perform the including of this link into 
   the table that is hardcoded in the “Edit page” section. Thanks and sry if it 
   sounds little bit stupid 😀

Viewing 1 replies (of 1 total)

 *  Thread Starter [leg0](https://wordpress.org/support/users/leg0/)
 * (@leg0)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/include-php-code-into-page/#post-1917240)
 * by the “Print this table” link i meant:
 *     ```
       <a class="print" onclick="window.print();return false;" href="#">Print this table</a>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Include php code into page’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [leg0](https://wordpress.org/support/users/leg0/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/include-php-code-into-page/#post-1917240)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
