dps-template
-
Hello, I’m setting up a template and followed your tutorial, maybe I missed something though. The output is quite different from the template. Example: the href is outside of the tag as well as others.
this is what I’m using:
<?php
echo '<div id="post-' . the_ID() . '" class="webinar-wrap2">';
echo '<div class="alignleft webinar-block"><div class="webinar-top">';
echo '<span class="webinar-cat">' . $term->name . '</span><span class="h2textblock">' . the_title() .'</span></div>';
echo '<div class="webinar-bot"><span class="webinar-title">' . the_excerpt() . '</span>';
echo '<button class="btn btn-webinar" type="button">View Webinar</button>';
echo '</div></div></div>';
?>
and this is the output:
<div id="post-" class="webinar-wrap2">/standards-webinars/guidance-for-improving-color-quality/
<div class="alignleft webinar-block">
<div class="webinar-top">Guidance for Improving Color Quality<span class="webinar-cat"></span><span class="h2textblock"></span></div>
<p>Recorded June 14, 2018 </p>
Read More
<div class="webinar-bot"><span class="webinar-title"></span>/standards-webinars/guidance-for-improving-color-quality/
<button class="btn btn-large btn-webinar btn-noline" type="button">View Webinar</button>
</div></div></div>
any help is appreciated.
The topic ‘dps-template’ is closed to new replies.