Title: Dpepress and Php echo do_shortcode
Last modified: November 9, 2017

---

# Dpepress and Php echo do_shortcode

 *  [cypl](https://wordpress.org/support/users/cypl/)
 * (@cypl)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/dpepress-and-php-echo-do_shortcode/)
 * Hello,
 * This plugin works great when using in the wysiwyg interface of the admin panel.
   
   But when i want to use it in my php template it doesn’t show up.
 * I plan to use it with an ACF field, so here is my code :
 *     ```
       <?php $dpe_value = get_field('dpe'); ?>
       <?php echo do_shortcode( '[dpe width="250" height="200" shadow="false" dpe_value="'.$dpe_value.'" inline="true"/]' ); ?>
       ```
   
 * Any idea ? please help 😉
    Thank you,
 * Cyrille
    -  This topic was modified 8 years, 6 months ago by [cypl](https://wordpress.org/support/users/cypl/).

The topic ‘Dpepress and Php echo do_shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dpepress_a9a0af.svg)
 * [DPEPress](https://wordpress.org/plugins/dpepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dpepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dpepress/)
 * [Active Topics](https://wordpress.org/support/plugin/dpepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dpepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dpepress/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [cypl](https://wordpress.org/support/users/cypl/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/dpepress-and-php-echo-do_shortcode/)
 * Status: not resolved