Title: php code inside shortcode
Last modified: August 31, 2016

---

# php code inside shortcode

 *  [raba](https://wordpress.org/support/users/raba/)
 * (@raba)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-code-inside-shortcode-1/)
 * Dear. Thx for awesome plugin.
 * I have i one problem.
 * I want inside wmpl shortcode (in page template) insert one more php function,
   e.g.
 * <?php wpml_e__if_language( ‘<?php echo date(‘Y’); ?>’, ‘en’ ); wpml_e__if_language(‘
   <?php echo date(‘Y,’); ?>’, ‘hr’ );
 * Some country behind yearh have . (dot)
 * How can i do that? Thx
 * [https://wordpress.org/plugins/wpml-shortcodes/](https://wordpress.org/plugins/wpml-shortcodes/)

The topic ‘php code inside shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpml-shortcodes_222222.svg)
 * [WPML Shortcodes](https://wordpress.org/plugins/wpml-shortcodes/)
 * [Support Threads](https://wordpress.org/support/plugin/wpml-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/wpml-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpml-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpml-shortcodes/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [raba](https://wordpress.org/support/users/raba/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/php-code-inside-shortcode-1/)
 * Status: not resolved