$args = array('post_type' => 'post', 'category' => '8'); $news = get_posts($args); if ($news) { foreach ($news as $newspost) { //setup_postdata($post); print "<li><a href=\"" . get_permalink($newspost->ID) . "\">" . get_the_title($newspost->ID) . "</a></li>"; } } ?> </ol> <br> <h4>Downloads</h4> <ol class="list aligned"> <?php is_listDownloads($post->ID); ?> </ol> <br /> <?php if (wp_list_bookmarks('echo=0')) { ?> <h4>Links</h4> <ol class="list aligned"> <?php wp_list_bookmarks(array('title_li' => 0, 'categorize' => 0)); ?> </ol> <br/> <?php
"> <img class="mail_icon" src="<?php bloginfo('template_url'); ?> /images/mail_send.png" /> Share this page </a> <div class="description"> <?php the_content(); ?> </div> <?php $downloads = _get_attachments($post_id, $mimetype = null, $not_mimetype = array('image', 'video', 'audio')); if (count($downloads)) { ?> <h3 class="download_label">Downloads:</h3> <ul class="attachments attachments-downloads"> <?php is_listDownloads(); ?> </ul> <?php } ?> </div>