Title: PHP in Elementor editor
Last modified: March 12, 2021

---

# PHP in Elementor editor

 *  Resolved [studioinsignis](https://wordpress.org/support/users/studioinsignis/)
 * (@studioinsignis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-in-elementor-editor/)
 * Hi all,
 * I added some PHP to the footer of different websites. I wanted to add the current
   year, so added this code in a Elementor text block:
 * <?php echo date(“Y”); ?>
 * Now I can’t edit the content anymore (screenshot: [https://korsteninterieurbouw.nl/wp-content/uploads/2021/03/elementor.png](https://korsteninterieurbouw.nl/wp-content/uploads/2021/03/elementor.png)).
 * How to fix this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-in-elementor-editor%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [saidaboukhadra](https://wordpress.org/support/users/saidaboukhadra/)
 * (@saidaboukhadra)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-in-elementor-editor/#post-14183345)
 * .
 * .”

Viewing 1 replies (of 1 total)

The topic ‘PHP in Elementor editor’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [saidaboukhadra](https://wordpress.org/support/users/saidaboukhadra/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php-in-elementor-editor/#post-14183345)
 * Status: resolved