Title: StatPress PHP problem
Last modified: August 19, 2016

---

# StatPress PHP problem

 *  [attefall](https://wordpress.org/support/users/attefall/)
 * (@attefall)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/statpress-php-problem/)
 * Hi.
    My Theme are not allowing Widgets and I want to show StatPress statistics.
 * I have tried to implement
    <%php StatPress_Print(”%totalvisits% total visits.”);%
   > but it´s not working…
 * What is the code to implement!!!??? 🙂
 *  Thanx
    /magnus, stockholm, sweden [blogg.attefall.se](http://blogg.attefall.se)

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

 *  [moonyhart](https://wordpress.org/support/users/moonyhart/)
 * (@moonyhart)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/statpress-php-problem/#post-908324)
 * The StatPress_Print should be enclosed with “<?php” and “?>” without quotes.
   
   So in this case,
 * `<?php StatPress_Print(”%totalvisits% total visits.”); ?>`
 * should give you what you want:)
 *  [gdscomp](https://wordpress.org/support/users/gdscomp/)
 * (@gdscomp)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/statpress-php-problem/#post-908453)
 * Works for me but like this
 * (‘%totalvisits% total visits.’)
 * and the rest the same….
 * I use this too
 * (‘Your IP Address: %ip% ‘)

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

The topic ‘StatPress PHP problem’ is closed to new replies.

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [gdscomp](https://wordpress.org/support/users/gdscomp/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/statpress-php-problem/#post-908453)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
