Title: PHP in do Shordcode?
Last modified: September 1, 2016

---

# PHP in do Shordcode?

 *  [JOHN2000](https://wordpress.org/support/users/john2000/)
 * (@john2000)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-in-do-shordcode/)
 * How to add php in do shordcode to work?
 * example:
 * `<?php echo do_shortcode('[appbox amazon <?php the_field('ACF PHP'); ?>]'); ?
   >`
 * the ACF PHP is a code from Advanced Custom Field
 * but the php in php dont work!

The topic ‘PHP in do Shordcode?’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [JOHN2000](https://wordpress.org/support/users/john2000/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/php-in-do-shordcode/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
