何らかの理由で、ifステートメントでHTMLをエコーアウトできません。
<?php
$my_description = meta('description');
if (!empty($my_description)): echo '<p class="description">'.$my_description.'</p>';
echo '<br>'; ?>
<?php endif; ?>
テキストを出力するだけで、他には何も出力しません。
meta('description')
バックエンドに配置したテキストを出力するWordpressのプラグインからのものです。上記のコードは、以下のみを出力します。Lorem Ipsum...
更新:出力したい:
<p class="description">Lorem Ipsum...</p>