Hi I’m trying to stylize my site the way I want. I want to only show the content text in my left div column and all my images and EMBEDED VIDEOs in the right div column.
this is what I have so far, but i just can’t figure out the video part.
<div id='posttext'>
<?php if(have_posts()):while(have_posts()):the_post();?>
<h2><?php the_title(); ?></h2>
<br>
<p><?php the_date(); ?></p>
<br>
<br>
<p><?php the_content(' '); ?></p>
<?php endwhile; else: ?>
Sorry, no posts
<?php endif; ?>
</div><!--/posttext-->
<div id='postimages'>
<?php
jqlb_apply_lightbox($your_content, "any ID");
$args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID );
$attachments = get_posts($args);
if ($attachments) {
foreach ( $attachments as $attachment ) {
the_attachment_link( $attachment->ID , false );
}
}
?>
</div><!--/postimages-->
Link to site example: http://daisymariesmith.com/skills-lab/