I would like to write text into a div in php. this is in a wordpress theme that is not so easy to customize and I am new to php.
Ultimately, I would like to include text in .products
{
echo '<div class="container">';
echo '<div class="row">';
echo '<div class=".col-xs-12 .col-sm-6 .col-lg-8">';
echo '<h2 class="products">'.We.'</h2>';
echo '</div>';
echo '</div>';
echo '</div>';
}
have tried this but i get a parse error.
Parse error: syntax error, unexpected 'blah' (T_STRING), expecting ',' or ';' in /var/www/fdwildfoods.com/public_html/wp-content/themes/shop-isle-child/front-page.php on line 125
attempted code
{
echo '<div class="container">';
echo '<div class="row">';
echo '<div class=".col-xs-12 .col-sm-6 .col-lg-8">';
echo '<h2 class="products">'.We blah blah blah.'</h2>';
echo '</div>';
echo '</div>';
echo '</div>';
}
any suggestions? thanks!
