Skip to content

Instantly share code, notes, and snippets.

@mrlannigan
mrlannigan / gist:945978
Created April 28, 2011 07:44
WPquestions.com #2150 rev3
<?php //answer to wpquestions.com #2150 by Julian Lannigan (julianlannigan.com)
function article_series() {
global $post;
$series = get_post_meta($post->ID, 'edit_cat', true);
$currentPost = $post;
if ($series) {
$args = array(
'numberposts' => 5,
<?php /* response to question 2059 on wpquestions.com from jlannigan (julianlannigan.com) */ ?>
<div class="subscribe clearfix">
<h3>
<a href="<?php echo home_url("/?feed=rss"); ?>">
<img class="i_rss" alt="" src="<?php echo home_url("/wp-content/themes/GeoPlaces/images/i_rss.png"); ?>">
</a>
</h3>
<form name="ccoptin" action="http://oi.vresp.com?fid=f630be0279" target="vr_optin_popup" method="post" class="subscribe_form" onsubmit="window.open( 'http://www.verticalresponse.com', 'vr_optin_popup', 'scrollbars=yes,width=600,height=450' ); return true;">
<p>Your Email</p>
<input type="text" value="" name="email" class="field">