Title: WordPress modifies php tags and moves shortcodes
Last modified: 10. Dezember 2018

---

# WordPress modifies php tags and moves shortcodes

 *  [trackersb](https://de.wordpress.org/support/users/trackersb/)
 * (@trackersb)
 * [vor 7 Jahren, 11 Monaten](https://de.wordpress.org/support/topic/wordpress-modifies-php-tags-and-moves-shortcodes/)
 * The problems occurre since upgrading to WordPress 5
    On this page you find a 
   snippet like the following: <table> <thead> <tr> <th>Veranstaltung</th> <th>Zeit
   </th> <th>Ort</th> <th>Adresse</th> </tr> </thead> <tbody> [php_everywhere instance
   =“1″][php_everywhere instance=“2″][php_everywhere instance=“3″][php_everywhere
   instance=“4″] </tbody> </table>
 * The php_everywhere shortcodes generate td-Tags representing rows. When I click„
   Update“ at the editor page, WordPress first moves the shortcodes before the beginning
   table tag and then publishes the page. So the rows are not inserted at the right
   place.
    I verified that it is not a problem of php_everywhere. The same happens
   using other shortcodes of other plugins.
 * Further when I try to insert a `<?php ... ?>` instead wordpress replaces that
   with a comment of the form `<--?php ... ?-->`.
 * How can I force WordPress to not move my shortcodes or at least not comment out
   my php code?
    -  Dieses Thema wurde vor 7 Jahren, 11 Monaten von [trackersb](https://de.wordpress.org/support/users/trackersb/)
      geändert.
    -  Dieses Thema wurde vor 7 Jahren, 11 Monaten von [trackersb](https://de.wordpress.org/support/users/trackersb/)
      geändert.
 * Die Seite, für die ich Hilfe brauche: _[[Anmelden](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fde.wordpress.org%2Fsupport%2Ftopic%2Fwordpress-modifies-php-tags-and-moves-shortcodes%2F%3Foutput_format%3Dmd&locale=de_DE),
   um den Link zu sehen]_

Ansicht von 1 Antwort (von insgesamt 1)

 *  Moderator [Torsten Landsiedel](https://de.wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [vor 7 Jahren, 11 Monaten](https://de.wordpress.org/support/topic/wordpress-modifies-php-tags-and-moves-shortcodes/#post-56869)
 * Hello [@trackersb](https://de.wordpress.org/support/users/trackersb/) and welcome
   to the German support forums.
 * We try to keep these forums acessible to all people not speaking English. Therefore
   I kindly ask you to either rephrase your question in German or ask in the [International support forums](https://wordpress.org/support/).
 * Please also make sure, you read our [FAQ](https://de.wordpress.org/support/topic/faq-bitte-vor-dem-posten-lesen/)
   before posting questions.
 * Thank you. Best regards, Torsten

Ansicht von 1 Antwort (von insgesamt 1)

 Das Thema „WordPress modifies php tags and moves shortcodes“ ist für neue Antworten
geschlossen.

## Schlagwörter

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

 * In: [Allgemeine Fragen](https://de.wordpress.org/support/forum/allgemeine-fragen/)
 * 1 Antwort
 * 2 Teilnehmer
 * Letzte Antwort von: [Torsten Landsiedel](https://de.wordpress.org/support/users/zodiac1978/)
 * Letzte Aktivität: [vor 7 Jahren, 11 Monaten](https://de.wordpress.org/support/topic/wordpress-modifies-php-tags-and-moves-shortcodes/#post-56869)
 * Status: nicht gelöst

## Themen

### Beliebteste Themen

### Unbeantwortete Themen

### Nicht-Support-Themen

### Gelöste Themen

### Ungelöste Themen

### Alle Themen
