<div id="event-type-boxes"> <?php query_posts(array('post_type' => 'Books', 'orderby' => 'title', 'order' => 'asc', 'nopaging' => true)); if (have_posts()) { while (have_posts()) { the_post(); ?> <div class="archive-link new-entry"> <h2> <?php the_title(); ?> </h2> <?php mf_post_thumbnail('small-cropped'); ?> <?php the_excerpt(); ?> <a class="more-link" href="<?php the_permalink(); ?> "> Read More…</a> <?php mf_voting_form(); ?> </div>
<div id="friends-head"><img style="float: left; margin-bottom: 12px" src="<?php bloginfo('template_url'); ?> /style/images/friends_title.png" alt="Browse" /> <!--><h2><?php the_title(); ?> </h2>--> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <?php mf_post_thumbnail('large-cropped'); ?> <div class="paypal"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="MHMJ4ZGY4V3TS"> <table> <tr><td><input type="hidden" name="on0" value="membership">Become a Festival Friend</td></tr><tr><td><select name="os0"> <option value="Single">Single £25.00</option> <option value="Joint">Joint £40.00</option> <option value="Gold">Gold £200.00</option> </select> </td></tr> </table> <input type="hidden" name="currency_code" value="GBP"> <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<div class="new-entry"> <a href="<?php the_permalink(); ?> " title="Read More..."><h2><?php echo get_the_title(); ?> </h2></a><div class="post-details"><?php the_time('l, F jS, Y'); comments_number('', ' - 1 comment', ' - % comments'); ?> </div> <?php mf_post_thumbnail(); ?> <?php global $more; // Declare global $more (before the loop). $more = 0; // Set (inside the loop) to display content above the more tag. the_content(" Read More..."); mf_socialise_post(); ?> </div>
function f4x4_vimeo_callback($post_ID) { $meta_values = get_post_meta($post_ID, 'f4x4-vid_text'); $vids_array = explode(';', $meta_values[0]); $return = "<div class='project-videos'>"; if ($vids_array[0]) { foreach ($vids_array as $current_vid) { $return .= '<object width="400" height="225"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id='; $return .= $current_vid; $return .= '&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id='; $return .= $current_vid; $return .= '&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed></object>'; } } else { $return .= mf_post_thumbnail('large-uncropped'); } $return .= "</div>"; return $return; }
<div class="new-entry"> <a href="<?php the_permalink(); ?> "><h2><?php the_title(); ?> </h2></a> <div class="post-details"><?php the_time('l, F jS, Y'); comments_number('', ' - 1 comment', ' - % comments'); ?> </div> <?php mf_post_thumbnail('med-cropped'); ?> <?php global $more; // Declare global $more (before the loop). $more = 0; // Set (inside the loop) to display content above the more tag. the_content(" Read More..."); ?> <?php