PHP code and blade files
-
Hi I use
- loco translate v 2.6.11
- theme based on sage theme
Еverything was working fine but today i found a problem.
If I add php code in my *.blade.php files:<?php
// Loco translate see this php scope
$loco_works_for_it = __('Loco Works for this', 'vgstudio');
?>
<span class="share__text">{{ __('Loco dont see this', 'vgstudio') }}</span>If I delete <?php ?> block from my file:
<span class="share__text">{{ __('Loco Works for this', 'vgstudio') }}</span>Can I use php and blade at the same time in one file ?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘PHP code and blade files’ is closed to new replies.