Closed ghost closed 6 years ago
When @php is used within an HTML element itself, all following elements change color as if there is a "gap" or missing code.
Example: <body @php body_class() @endphp>
<body @php body_class() @endphp>
"Body" is in red, but all other html tags, including the ending </body> tag become orange (or some other color depending on theme)
</body>
When @php is used within an HTML element itself, all following elements change color as if there is a "gap" or missing code.
Example:
<body @php body_class() @endphp>
"Body" is in red, but all other html tags, including the ending
</body>
tag become orange (or some other color depending on theme)