function section_styles(){ pagelines_load_css( $this->base_url . '/brandnav.css', 'brandnav'); if(pagelines('enable_drop_down')){ wp_register_style('superfish', self::$nav_url . '/superfish.css', array(), CORE_VERSION, 'screen'); wp_enqueue_style( 'superfish' ); } }
/** * Section template. */ function section_template() { if (!pagelines('twittername')) { printf('<div class="tbubble"><div class="tbubble-pad">%s</div></div>', __('Set your Twitter account name in your settings to use the TwitterBar Section.', 'pagelines')); return; } echo setup_section_notify($this, 'Twitter API 1.0 Deprecated.', 'http://www.pagelines.com/forum/topic/27565-unknown-twitter-error/', 'Forum post.'); /* $account = ploption('twittername'); $tweet_data = pagelines_get_tweets( $account, true ); if( ! is_array( $tweet_data ) && '' == $tweet_data ) $tweet_data = __( 'Unknown Twitter error.', 'pagelines' ); if( isset( $tweet_data['text'] ) && isset( $tweet_data['user']['id'] ) ) $twitter = sprintf( '<span class="twitter">%s — <a class="twitteraccount" href="http://twitter.com/#!/%s" %s>%s</a></span>', pagelines_tweet_clickable( $tweet_data['text'] ), $account, sprintf( 'rel="twitterpopover" data-img="https://api.twitter.com/1/users/profile_image?user_id=%s&size=bigger" data-original-title="@%s"', $tweet_data['user']['id'], $account ), $account ); else $twitter = sprintf( '<span class="twitter">%s</span>', $tweet_data ); printf('<div class="tbubble"><div class="tbubble-pad">%s</div></div>', $twitter); */ }
function section_template() { ?> <?php if (pagelines('twittername')) { ?> <div class="tbubble"> <?php if (function_exists('twitter_messages') && pagelines('twittername')) { ?> <span class="twitter"> <?php pagelines_register_hook('pagelines_before_twitterbar_text', $this->id); ?> "<?php twitter_messages(pagelines('twittername'), 1, false, false, '', false, false, false); ?> " — <a class="twitteraccount" href="http://www.twitter.com/<?php echo pagelines('twittername'); ?> "><?php echo pagelines('twittername'); ?> </a> </span> <?php } else { ?> <span class="twitter"><?php _e('Please install and activate the "Twitter for WordPress" plugin to use this section.', 'pagelines'); ?> </span> <?php } ?> </div> <?php } else { ?> <div class="tbubble"> <?php _e('Set your Twitter account name in your settings to use the TwitterBar Section.', 'pagelines'); ?> </div> <?php } ?> <?php }
/** * PageLines Default Widget * * Calls default sidebar widget, or allows user with 'edit_themes' capability to adds widgets * * @since ... * * @param $id - widget area ID * @param $name - name of sidebar widget area * @param $default - ... * * @uses pagelines * @todo Finish paramater definitions */ function pagelines_default_widget($id, $default) { global $wp_registered_sidebars; if (isset($wp_registered_sidebars[$id]) && isset($wp_registered_sidebars[$id]['name'])) { $name = $wp_registered_sidebars[$id]['name']; } else { $name = 'Widgetized Area'; } if (isset($default) && !pagelines('sidebar_no_default')) { get_template_part($default); } elseif (current_user_can('edit_themes')) { ?> <li class="widget widget-default setup_area no_<?php echo $id; ?> "> <div class="widget-pad"> <h3 class="widget-title">Add Widgets (<?php echo $name; ?> )</h3> <p class="fix">This is your <?php echo $name; ?> but it needs some widgets!<br/> Easy! Just add some content to it in your <a href="<?php echo admin_url('widgets.php'); ?> ">widgets panel</a>. </p> <p> <a href="<?php echo admin_url('widgets.php'); ?> " class="btn"><i class="icon icon-retweet"></i> <?php _e('Add Widgets →', 'pagelines'); ?> </a> </p> </div> </li> <?php } }
function section_template() { ?> <div id="callout-area"> <div class="callout_text"> <div class="callout_text-pad"> <h2 class="callout_head <?php if (!pagelines('pagelines_callout_image')) { ?> noimage<?php } ?> "> <?php print_pagelines_option('pagelines_callout_header', __('This is the "Callout Section"', 'pagelines')); ?> </h2> <div class="callout_copy"> <?php print_pagelines_option('pagelines_callout_subheader', __('Perfect for a call to action or a special offer.', 'pagelines')); ?> </div> </div> </div> <?php if (pagelines_option('pagelines_callout_image')) { ?> <div class="callout_image"> <a href="<?php echo pagelines_option('pagelines_callout_link'); ?> "> <img src="<?php echo pagelines_option('pagelines_callout_image'); ?> " alt=""/> </a> </div> <?php } ?> </div> <?php }
function section_template() { ?> <div class="thecarousel"> <ul id="mycarousel" class="mycarousel"> <?php global $post; global $pagelines_ID; // Pictures in Carousel if (pagelines('carouselitems', $pagelines_ID)) { $carouselitems = pagelines('carouselitems', $pagelines_ID); } else { $carouselitems = 30; } $carousel_post_id = pagelines_option('carousel_post_id', $pagelines_ID) ? pagelines_option('carousel_post_id', $pagelines_ID) : null; if (pagelines('carousel_image_width', $pagelines_ID)) { $carousel_image_width = pagelines('carousel_image_width', $pagelines_ID); } else { $carousel_image_width = 64; } if (pagelines('carousel_image_height', $pagelines_ID)) { $carousel_image_height = pagelines('carousel_image_height', $pagelines_ID); } else { $carousel_image_height = 64; } if (function_exists('nggDisplayRandomImages') && pagelines('carousel_mode', $post->ID) == 'ngen_gallery') { if (pagelines('carousel_ngen_gallery', $pagelines_ID)) { $ngen_id = pagelines('carousel_ngen_gallery', $pagelines_ID); } else { $ngen_id = 1; } echo do_shortcode('[nggallery id=' . $ngen_id . ' template=plcarousel]'); } elseif (function_exists('get_flickrRSS') && pagelines('carousel_mode', $pagelines_ID) == 'flickr') { get_flickrRSS(array('num_items' => $carouselitems, 'html' => '<li><a href="%flickr_page%" title="%title%"><img src="%image_square%" alt="%title%"/><span class="list-title">%title%</span></a></li>')); } elseif (pagelines('carousel_mode', $pagelines_ID) == 'flickr' && !function_exists('get_flickrRSS') || pagelines('carousel_mode', $pagelines_ID) == 'ngen_gallery' && !function_exists('nggDisplayRandomImages')) { ?> <div class="carousel_text"> <?php _e("The plugin for the selected carousel mode (NextGen-Gallery or FlickrRSS) needs to be installed and activated.", 'pagelines'); ?> </div> <?php } else { $carousel_post_query = 'numberposts=' . $carouselitems; if ($carousel_post_id) { $carousel_post_query .= '&category_name=' . $carousel_post_id; } $recentposts = get_posts($carousel_post_query); foreach ($recentposts as $key => $rpost) { ?> <?php setup_postdata($rpost); ?> <li class="list-item fix"> <a class="carousel_image_link" href="<?php echo get_permalink($rpost->ID); ?> "> <?php if (has_post_thumbnail()) { ?> <?php the_post_thumbnail(array($carousel_image_width, $carousel_image_height), array('class' => 'list_thumb list-thumb')); ?> <?php } else { ?> <img class="list_thumb list-thumb" src="<?php echo CORE_IMAGES; ?> /post-blank.jpg" class="sidebar_thumb" /> <?php } ?> <span class="list-title"><?php echo $rpost->post_title; ?> </span> </a> </li> <?php } ?> <?php } ?> </ul> </div> <?php }
function draw_banners($b, $class = ""){ ?> <div class="banner_container fix <?php echo $class;?>"> <?php foreach($b as $post) : setup_postdata($post); $custom = get_post_custom($post->ID); $banner_text_width = (pagelines('banner_text_width', $post->ID)) ? pagelines('banner_text_width', $post->ID) : 50; $banner_media_width = 100 - $banner_text_width; // Math $banner_align = (get_pagelines_meta('banner_align', $post->ID)) ? get_pagelines_meta('banner_align', $post->ID) : 'banner_left'; $banner_text_padding = (get_pagelines_meta('banner_text_padding', $post->ID)) ? "padding:".get_pagelines_meta('banner_text_padding', $post->ID).";" : "padding: 20px 60px"; ?> <div class="banner-area <?php echo $banner_align;?>"> <div class="banner-text" style="width:<?php echo $banner_text_width; ?>%;"> <div class="banner-text-pad" style="<?php echo $banner_text_padding;?>"> <div class="banner-title"><h2><?php echo do_shortcode($post->post_title); ?></h2></div> <div class="banner-content"> <?php echo apply_filters( 'the_content', do_shortcode( $post->post_content ) ); ?> <?php edit_post_link(__('[Edit Banner]', 'pagelines'), '', '', $post->ID);?> </div> </div> </div> <div class="banner-media" style="width:<?php echo $banner_media_width; ?>%;" > <div class="banner-media-pad"> <?php echo apply_filters( 'the_content', self::_get_banner_media( $post ) );?> </div> </div> <div class="clear"></div> </div> <?php endforeach;?> </div> <div class="clear"></div> <?php }
function section_template() { if( !pagelines('twittername') ) : ?><div class="tbubble"> <?php _e('Set your Twitter account name in your settings to use the TwitterBar Section.</div>', 'pagelines'); return; endif; if ( false === ( $tweets = get_transient( 'section-twitter' ) ) ) { $params = array( 'screen_name'=>pagelines('twittername'), // Twitter account name 'trim_user'=>true, // only basic user data (slims the result) 'include_entities'=>false, // as of Sept 2010 entities were not included in all applicable Tweets. regex still better 'include_rts' => true ); /** * The exclude_replies parameter filters out replies on the server. If combined with count it only filters that number of tweets (not all tweets up to the requested count) * If we are not filtering out replies then we should specify our requested tweet count */ $twitter_json_url = esc_url_raw( 'http://api.twitter.com/1/statuses/user_timeline.json?' . http_build_query( $params ), array( 'http', 'https' ) ); unset( $params ); $response = wp_remote_get( $twitter_json_url, array( 'User-Agent' => 'WordPress.com Twitter Widget' ) ); $response_code = wp_remote_retrieve_response_code( $response ); if ( 200 == $response_code ) { $tweets = wp_remote_retrieve_body( $response ); $tweets = json_decode( $tweets, true ); $expire = 900; if ( !is_array( $tweets ) || isset( $tweets['error'] ) ) { $tweets = 'error'; $expire = 300; } } else { $tweets = 'error'; $expire = 300; set_transient( 'section-twitter-response-code', $response_code, $expire ); } set_transient( 'section-twitter', $tweets, $expire ); } echo '<div class="tbubble">'; echo '<span class="twitter">"'; pagelines_register_hook( 'pagelines_before_twitterbar_text', $this->id ); // Hook if ( 'error' != $tweets ) { echo $tweets[0]['text']; } else { $error = get_transient( 'section-twitter-response-code' ); switch( $error ) { case 401: echo wp_kses( sprintf( __( 'Error: Please make sure the Twitter account is <a href="%s">public</a>.', 'pagelines' ), 'http://support.twitter.com/forums/10711/entries/14016' ), array( 'a' => array( 'href' => true ) ) ); break; case 403: _e( 'Error 403: Your IP is being rate limited by Twitter.', 'pagelines' ); break; case 404: _e( 'Error 404: Your username was not found on Twitter.', 'pagelines' ); break; case 420: _e( 'Error 420: Your IP is being rate limited by Twitter.', 'pagelines' ); break; case 502: _e( 'Error 502: Twitter is being upgraded.', 'pagelines' ); break; default: _e( 'Unknown Twitter error.', 'pagelines' ); break; } } echo '— <a class="twitteraccount" href="http://twitter.com/#!/' . pagelines('twittername') . '">' . pagelines('twittername') . '</a></span></div>'; }
function section_head() { if (pagelines('enable_drop_down')) { ?> <script type="text/javascript"> /* <![CDATA[ */ var $j = jQuery.noConflict(); $j(document).ready(function() { $j('ul.sf-menu').superfish({ delay: 100, // one second delay on mouseout speed: 'fast', // faster animation speed autoArrows: true, // disable generation of arrow mark-up dropShadows: true // disable drop shadows }); }); /* ]]> */ </script> <?php } }
<div class="branding_wrap"> <?php pagelines_main_logo(); ?> <?php pagelines_register_hook( 'pagelines_before_branding_icons', 'branding' ); // Hook ?> <div class="icons" style="bottom: <?php echo intval(pagelines_option('icon_pos_bottom'));?>px; right: <?php echo pagelines_option('icon_pos_right');?>px;"> <?php if(pagelines('rsslink')):?> <a target="_blank" href="<?php echo apply_filters( 'pagelines_branding_rssurl', get_bloginfo('rss2_url') );?>" class="rsslink"></a> <?php endif;?> <?php if(VPRO):?> <?php pagelines_register_hook( 'pagelines_branding_icons_start', 'branding' ); // Hook ?> <?php if(pagelines_option('twitterlink')):?> <a target="_blank" href="<?php echo pagelines_option('twitterlink');?>" class="twitterlink"></a> <?php endif;?> <?php if(pagelines_option('facebooklink')):?> <a target="_blank" href="<?php echo pagelines_option('facebooklink');?>" class="facebooklink"></a> <?php endif;?> <?php if(pagelines_option('linkedinlink')):?> <a target="_blank" href="<?php echo pagelines_option('linkedinlink');?>" class="linkedinlink"></a> <?php endif;?> <?php if(pagelines_option('youtubelink')):?> <a target="_blank" href="<?php echo pagelines_option('youtubelink');?>" class="youtubelink"></a> <?php endif;?> <?php pagelines_register_hook( 'pagelines_branding_icons_end', 'branding' ); // Hook ?> <?php endif;?> </div> </div> <?php pagelines_register_hook( 'pagelines_after_branding_wrap', 'branding' ); // Hook ?>
function get_feature_posts() { global $post; global $pagelines_ID; if (!isset($this->the_feature_posts)) { if (pagelines_option('feature_source') == 'posts') { $query_args = array('post_type' => 'post', 'orderby' => 'ID'); if (pagelines_option('feature_category')) { $query_args = array_merge($query_args, array('cat' => pagelines('feature_category'))); } } else { $query_args = array('post_type' => $this->id, 'orderby' => 'ID'); if (get_pagelines_meta('feature_set', $pagelines_ID)) { $query_args = array_merge($query_args, array('feature-sets' => get_post_meta($pagelines_ID, 'feature_set', true))); } elseif (pagelines_non_meta_data_page() && pagelines_option('feature_default_tax')) { $query_args = array_merge($query_args, array('feature-sets' => pagelines_option('feature_default_tax'))); } } if (pagelines('feature_items', $pagelines_ID)) { $query_args = array_merge($query_args, array('showposts' => pagelines_option('feature_items', $pagelines_ID))); } $feature_query = new WP_Query($query_args); $this->the_feature_posts = $feature_query->posts; return $this->the_feature_posts; } else { return $this->the_feature_posts; } }
$paged = intval(get_query_var('paged')); // Control output if on a paginated page if(is_admin()) query_posts('showposts=1'); // For parsing in admin, no posts so set it to one. $thumb_space = get_option('thumbnail_size_w') + 33; // Space for thumb with padding // Start of 'The Loop' if(have_posts()){ while (have_posts()) : the_post(); if(!pagelines_show_clip($count, $paged) || is_admin()): ?><div <?php post_class('fpost') ?> id="post-<?php the_ID(); ?>"> <?php pagelines_register_hook( 'pagelines_loop_post_start', 'theloop' ); // Hook ?> <?php if(pagelines('pagetitles') && is_page()):?> <h1 class="pagetitle"><?php the_title(); ?></h1> <?php pagelines_register_hook( 'pagelines_loop_page_title_after', 'theloop' ); // Hook ?> <?php endif;?> <?php if(!is_page()):?> <div class="post-meta fix"> <?php if(pagelines_show_thumb( get_the_ID() )): // Thumbnails ?> <div class="post-thumb" style="margin-right:-<?php echo $thumb_space;?>px"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php _e('Permanent Link To', 'pagelines');?> <?php the_title_attribute();?>"> <?php the_post_thumbnail('thumbnail');?> </a> </div> <?php endif; ?> <div class="post-header fix <?php if(!pagelines_show_thumb($post->ID)) echo 'post-nothumb';?>" style="<?php
function draw_features($f, $class) { global $post; global $pagelines_layout; $current_page_post = $post; ?> <div id="feature_slider" class="<?php echo $class;?> fix"> <div id="feature-area"> <div id="cycle"> <?php if(!empty($f)): foreach($f as $post) : // Setup For Std WP functions setup_postdata($post); // Get Feature Style $feature_style = (get_post_meta($post->ID, 'feature-style', true)) ? get_post_meta($post->ID, 'feature-style', true) : 'text-left'; $flink_text = ( get_post_meta($post->ID, 'feature-link-text', true) ) ? __( get_post_meta($post->ID, 'feature-link-text', true) ) : __('More', 'pagelines'); //Get the Thumbnail URL $feature_background_image = get_post_meta($post->ID, 'feature-background-image', true); $feature_design = (get_post_meta($post->ID, 'feature-design', true)) ? get_post_meta($post->ID, 'feature-design', true) : ''; ?> <div id="<?php echo 'feature_'.$post->ID;?>" class="fcontainer <?php echo $feature_style.' '.$feature_design; ?> fix" > <div class="feature-wrap wcontent" <?php if($feature_background_image):?>style="background: url('<?php echo $feature_background_image;?>') no-repeat top center" <?php endif;?>> <div class="feature-pad fix"> <?php pagelines_register_hook( 'pagelines_feature_before', $this->id ); // Hook ?> <div class="fcontent <?php if(get_post_meta($post->ID, 'fcontent-bg', true)) echo get_post_meta($post->ID, 'fcontent-bg', true);?>"> <div class="dcol-pad fix"> <?php pagelines_register_hook( 'pagelines_fcontent_before', $this->id ); // Hook ?> <div class="fheading"> <h2 class="ftitle"><?php the_title(); ?></h2> </div> <div class="ftext"> <?php pagelines_register_hook( 'pagelines_feature_text_top', $this->id ); // Hook ?> <div class="fexcerpt"> <?php if(pagelines_option('feature_source') == 'posts') echo apply_filters( 'pagelines_feature_output', get_the_excerpt() ); else the_content(); ?> </div> <?php if(get_post_meta($post->ID, 'feature-link-url', true)):?> <a class="pagelines-blink black-blink flink" href="<?php echo get_post_meta($post->ID, 'feature-link-url', true);?>"> <span class="pagelines-blink-pad"> <span class="blink-arrow featurelink" ><?php echo __( $flink_text );?></span> </span> </a> <?php endif;?> <?php pagelines_register_hook( 'pagelines_feature_text_bottom', $this->id ); // Hook ?> <?php edit_post_link(__('<span>Edit</span>', 'pagelines'), '', '');?> </div> <?php pagelines_register_hook( 'pagelines_fcontent_after', $this->id ); // Hook ?> </div> </div> <div class="fmedia" style=""> <div class="dcol-pad"> <?php pagelines_register_hook( 'pagelines_feature_media_top', $this->id ); // Hook ?> <?php if(get_post_meta($post->ID, 'feature-media-image', true)):?> <div class="media-frame"> <img src="<?php echo get_post_meta( $post->ID, 'feature-media-image', true);?>" /> </div> <?php elseif(get_post_meta( $post->ID, 'feature-media', true)): ?> <?php echo do_shortcode(get_post_meta( $post->ID, 'feature-media', true)); ?> <?php endif;?> </div> </div> <?php pagelines_register_hook( 'pagelines_feature_after', $this->id ); // Hook ?> <div class="clear"></div> </div> </div> </div> <?php endforeach; ?> <?php else: ?> <h4 style="padding: 50px; text-align: center"><?php _e('No feature posts matched this pages criteria', 'pagelines');?></h4> <?php endif;?> <?php $post = $current_page_post;?> </div> </div> <div id="feature-footer" class="<?php e_pagelines('feature_nav_type', '');?> <?php if( isset($this->the_feature_posts) && count($this->the_feature_posts) == 1) echo 'nonav';?> fix"> <div class="feature-footer-pad"> <?php pagelines_register_hook( 'pagelines_feature_nav_before', $this->id ); // Hook ?> <?php if(pagelines('timeout') != 0 && pagelines('feature_playpause')):?><span class="playpause pause"><span> </span></span><?php endif;?> <div id="featurenav" class="fix"> </div> <div class="clear"></div> </div> </div> </div> <div class="clear"></div> <?php }
<?php do_action('pagelines_sidebar1', 'sidebar1'); // hook ?> </div> </div> <?php } if ($pagelines_layout->num_columns == 3) { ?> <div id="sidebar2" class="scolumn fix"> <div class="scolumn-pad"> <?php do_action('pagelines_sidebar2', 'sidebar2'); // hook ?> </div> </div> <?php } if (pagelines('sidebar_wrap_widgets') == 'bottom') { do_action('pagelines_sidebar_wrap', 'sidebar_wrap'); // hook } ?> </div> <?php } do_action('pagelines_after_sidebar_wrap'); // hook
function cufon_inline_script() { ?> <script type="text/javascript"><?php if (pagelines('replace_font')) { ?> jQuery(document).ready(function () { Cufon.replace('<?php echo pagelines("replace_font"); ?> ', {hover: true}); });<?php } ?> </script><?php }
?> <?php pagelines_register_hook('pagelines_before_branding_icons', 'branding'); ?> <div class="icons" style="bottom: <?php echo intval(pagelines_option('icon_pos_bottom')); ?> px; right: <?php echo pagelines_option('icon_pos_right'); ?> px;"> <?php if (pagelines('rsslink')) { ?> <a target="_blank" href="<?php echo get_bloginfo('rss2_url'); ?> " class="rsslink"></a> <?php } ?> <?php if (VPRO) { ?> <?php pagelines_register_hook('pagelines_branding_icons_start', 'branding'); ?>
function get_box_posts() { global $post; if (!isset($this->the_feature_boxes) && isset($post)) { $query_args = array('post_type' => $this->id, 'orderby' => 'ID'); if (get_pagelines_meta('box_set', $post->ID)) { $query_args = array_merge($query_args, array('box-sets' => get_post_meta($post->ID, 'box_set', true))); } elseif (pagelines_non_meta_data_page() && pagelines_option('box_default_tax')) { $query_args = array_merge($query_args, array('box-sets' => pagelines_option('box_default_tax'))); } if (pagelines('box_items', $post->ID)) { $query_args = array_merge($query_args, array('showposts' => pagelines_option('box_items', $post->ID))); } $boxes_query = new WP_Query($query_args); $this->the_feature_boxes = $boxes_query->posts; if (is_array($this->the_feature_boxes)) { return $this->the_feature_boxes; } else { return array(); } } elseif (isset($post)) { return $this->the_feature_boxes; } }
function section_template() { global $post; $current_post = $post; ?> <div class="banner_container fix"> <?php // Let's Do This... $custom_posts = $this->get_banner_posts(); $custom_posts = is_array($custom_posts) ? $custom_posts : array(); foreach ($custom_posts as $post) { setup_postdata($post); $custom = get_post_custom($post->ID); $banner_text_width = pagelines('banner_text_width', $post->ID) ? pagelines('banner_text_width', $post->ID) : 50; $banner_media_width = 100 - $banner_text_width; $banner_align = get_pagelines_meta('banner_align', $post->ID) ? get_pagelines_meta('banner_align', $post->ID) : 'banner_left'; if (get_pagelines_meta('the_banner_image', $post->ID)) { $banner_media = '<img src="' . get_pagelines_meta('the_banner_image', $post->ID) . '" alt="' . get_the_title() . '" />'; } elseif (get_pagelines_meta('the_banner_media', $post->ID)) { $banner_media = get_pagelines_meta('the_banner_media', $post->ID); } else { $banner_media = ''; } $banner_text_padding = get_pagelines_meta('banner_text_padding', $post->ID) ? "padding:" . get_pagelines_meta('banner_text_padding', $post->ID) . ";" : ""; ?> <div class="banner-area <?php echo $banner_align; ?> "> <div class="banner-text" style="width:<?php echo $banner_text_width; ?> %;"> <div class="banner-text-pad" style="<?php echo $banner_text_padding; ?> "> <div class="banner-title"><h2><?php the_title(); ?> </h2></div> <div class="banner-content"> <?php the_content(); ?> <?php edit_post_link(__('<small>[Edit Banner]</small>', 'pagelines'), '', ''); ?> </div> </div> </div> <div class="banner-media" style="width:<?php echo $banner_media_width; ?> %;" > <div class="banner-media-pad"> <?php echo $banner_media; ?> </div> </div> <div class="clear"></div> </div> <?php } ?> </div> <div class="clear"></div> <?php }
<a rel="nofollow" class="comments-num" href="<?php the_permalink(); ?> #comments" title="<?php _e('View Comments', 'pagelines'); ?> "><?php comments_number(); ?> </a> <?php } ?> <?php if (pagelines('byline_categories')) { ?> <?php echo '·'; ?> <span class="sword"><?php _e('in', 'pagelines'); ?> </span> <?php the_category(', '); ?> <?php } ?> <?php
function section_template() { global $post; global $bbpress_forum; if( !VPRO) $hide_footer = true; else $hide_footer = false; ?> <?php if(!$hide_footer):?> <div class="morefoot_back fix"> <div id="morefootbg" class=" fix"> <div class="dcol_container_3"> <div class="dcol_3 dcol wcontain fix"> <div class="dcol-pad"> <?php if (!dynamic_sidebar('MoreFoot Left') ) : ?> <div class="widget"> <?php if(!pagelines('sidebar_no_default')):?> <h3 class="widget-title"><?php _e('Looking for something?','pagelines');?></h3> <p><?php _e('Use the form below to search the site:','pagelines');?></p> <?php get_search_form(); ?> <br class="clear"/> <p><?php _e('Still not finding what you\'re looking for? Drop a comment on a post or contact us so we can take care of it!','pagelines');?></p> <?php endif;?> </div> <?php endif; ?> </div> </div> <div class="dcol_3 dcol wcontain"> <div class="dcol-pad"> <?php if ( !dynamic_sidebar('MoreFoot Middle') ) : ?> <div class="widget"> <?php if(!pagelines('sidebar_no_default')):?> <h3 class="widget-title"><?php _e('Visit our friends!','pagelines');?></h3><p><?php _e('A few highly recommended friends...','pagelines');?></p><ul><?php wp_list_bookmarks('title_li=&categorize=0'); ?></ul> <?php endif;?> </div> <?php endif; ?> </div> </div> <div class="dcol_3 lastcol dcol wcontain"> <div class="dcol-pad"> <?php if (!dynamic_sidebar('MoreFoot Right') ) : ?> <div class="widget"> <?php if(!pagelines('sidebar_no_default')):?> <h3 class="widget-title"><?php _e('Archives', 'pagelines');?></h3><p><?php _e('All entries, chronologically...','pagelines');?></p><ul><?php wp_get_archives('type=monthly&limit=12'); ?> </ul> <?php endif;?> </div> <?php endif; ?> </div> </div> </div> </div> </div> <?php endif; ?> <?php }
function section_styles(){ if(pagelines('enable_drop_down')){ wp_register_style('superfish', self::$nav_url . '/superfish.css', array(), CORE_VERSION, 'screen'); wp_enqueue_style( 'superfish' ); } }