Title: Bugsmart's Replies | WordPress.org

---

# Bugsmart

  [  ](https://wordpress.org/support/users/bugsmart/)

 *   [Profile](https://wordpress.org/support/users/bugsmart/)
 *   [Topics Started](https://wordpress.org/support/users/bugsmart/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bugsmart/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bugsmart/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bugsmart/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bugsmart/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bugsmart/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Using Conditional Statements in WordPress Page](https://wordpress.org/support/topic/using-conditional-statements-in-wordpress-page/)
 *  Thread Starter [Bugsmart](https://wordpress.org/support/users/bugsmart/)
 * (@bugsmart)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/using-conditional-statements-in-wordpress-page/#post-5608908)
 * I have loaded and activated the plugin .PHP on PAGES. I placed the following 
   code on the page in the text part.
    [php] global $user_ID; if(1== 1){ echo “Hello
   World”; } [/php] When I update and preview the page I just get the code above
   echoed back. It is like it is taking it as text and not a call to a function.
   This brings up two questions. First am I calling PHP wrong? Second I am using
   Weaver 11 Pro theme. which as far as I can tell does not have a general-template.
   php. Do I have to create a child template or something to access these function?
   Any help would be appreciated.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Using Conditional Statements in WordPress Page](https://wordpress.org/support/topic/using-conditional-statements-in-wordpress-page/)
 *  Thread Starter [Bugsmart](https://wordpress.org/support/users/bugsmart/)
 * (@bugsmart)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/using-conditional-statements-in-wordpress-page/#post-5608801)
 * Thanks, it being Christmas I am running out the door but you can be assured I
   will be all over it Friday. I will let you know how I do.

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