Hallo ich habe folgenden phph code:
Ich möchte vor dem comments_templat('/includes/comments.php):
noch ein div tag einfügen, welcher so aussieht:
Kann mir evtl. jemand bei der Syntax helfen?
Den div tag kann ich ja nicht einfach so in das Skript schreiben,oder?
PHP:
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/
$loop = '';
$content_style = avia_post_meta(avia_get_the_ID(), 'entry_layout');
if(strpos($content_style,'mini') !== false)
{
$loop = 'page-mini';
}
else
{
echo "<div class='box'>";
echo "<div class='inner_box'>";
get_template_part( 'includes/loop', 'page' );
//wordpress function that loads the comments template "comments.php"
comments_template( '/includes/comments.php');
echo "</div><!--end inner_box-->";
echo "</div><!--end box-->";
}
?>
noch ein div tag einfügen, welcher so aussieht:
HTML:
<div class="hr hr_post_seperator">
Den div tag kann ich ja nicht einfach so in das Skript schreiben,oder?