Title: Where To Place Code In Function Php
Last modified: August 21, 2016

---

# Where To Place Code In Function Php

 *  Resolved [kertoon](https://wordpress.org/support/users/kertoon/)
 * (@kertoon)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/where-to-place-code-in-function-php/)
 * Below is how my **functions.php**_ look like:_
 *     ```
       <div class="wrap">
       	<p style="text-align: center;"></p>
       </div>
   
       <?php } // this ends the admin page ?>
       ```
   
 * I want to add some code to it. Where should I place it?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/where-to-place-code-in-function-php/#post-4927094)
 * is that the functions.php from your theme?
 * what exactly are you trying to achieve?
 * what theme are you using?
 * genrally, you could start a new line with a php tag at the end of that file…
 *  Thread Starter [kertoon](https://wordpress.org/support/users/kertoon/)
 * (@kertoon)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/where-to-place-code-in-function-php/#post-4927137)
 * It’s Cutline Theme. I wanted to paste a custom code to remove query string from
   static resources.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/where-to-place-code-in-function-php/#post-4927140)
 * as your theme is not from [https://wordpress.org/themes/](https://wordpress.org/themes/)
   and therefore unfortunately not supported here in the forum, please consider 
   to contact the theme’s developer directly for support with your question.
 *  Thread Starter [kertoon](https://wordpress.org/support/users/kertoon/)
 * (@kertoon)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/where-to-place-code-in-function-php/#post-4927201)
 * Thank you for your advice.

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

The topic ‘Where To Place Code In Function Php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [kertoon](https://wordpress.org/support/users/kertoon/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/where-to-place-code-in-function-php/#post-4927201)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
