Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function twitterWidget() {
- $settings = get_option("widget_twitterwidget");
- $tweetid = $settings['tweetid'];
- $tweetnum = $settings['tweetnum'];
- ?>
- <aside class="widget left">
- <?php twitter(); ?>
- <h4>Latest From Twitter</h4>
- <div id="twitter"></div>
- </aside>
- <div class="clear"></div>
- <?php }
- function twitterWidgetAdmin() {
- $settings = get_option("widget_twitterwidget");
- // check if anything's been sent
- if (isset($_POST['update_twitter'])) {
- $settings['tweetid'] = strip_tags(stripslashes($_POST['twitter_id']));
- $settings['tweetnum'] = strip_tags(stripslashes($_POST['twitter_num']));
- update_option("widget_twitterwidget",$settings);
- }
- echo '<p> <label for="twitter_id">Twitter ID:
- <input id="twitter_id" name="twitter_id" type="text" class="widefat" value="'.$settings['tweetid'].'" /></label></p>';
- echo '<p> <label for="twitter_num">Number of Tweets to Display:
- <input id="twitter_num" name="twitter_num" type="text" class="widefat" value="'.$settings['tweetnum'].'" /></label></p>';
- echo '<input type="hidden" id="update_twitter" name="update_twitter" value="1" />';
- }
- register_sidebar_widget('Twitter', 'twitterWidget');
- register_widget_control('Twitter', 'twitterWidgetAdmin', 400, 200);
- // Latest Widget
- function latestWidget() {
- $settings = get_option("widget_latestwidget");
- $title = $settings['title'];
- $number = $settings['number'];
- ?>
- <aside id="latestposts" class="widget left">
- <h4><?php echo $title ?></h4>
- <?php query_posts( array(
- 'posts_per_page' => $number )
- );
- if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li>
- <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
- <p class="description"><?php the_excerpt(); ?></p>
- <div class="clear"></div>
- </li>
- <?php endwhile; endif; ?>
- <?php wp_reset_query(); ?>
- </aside>
- <?php }
- function latestWidgetAdmin() {
- $settings = get_option("widget_latestwidget");
- // check if anything's been sent
- if (isset($_POST['update_latest'])) {
- $settings['title'] = strip_tags(stripslashes($_POST['latest_title']));
- $settings['number'] = strip_tags(stripslashes($_POST['latest_number']));
- update_option("widget_latestwidget",$settings);
- }
- echo '<p> <label for="latest_title">Title:
- <input id="latest_title" name="latest_title" type="text" class="widefat" value="'.$settings['title'].'" /></label></p>';
- echo '<p> <label for="latest_number">Number of posts:
- <input id="latest_number" name="latest_number" type="text" class="widefat" value="'.$settings['number'].'" /></label></p>';
- echo '<input type="hidden" id="update_latest" name="update_latest" value="1" />';
- }
- register_sidebar_widget('Latest Posts', 'latestWidget');
- register_widget_control('Latest Posts', 'latestWidgetAdmin', 400, 200);
- // Flickr Widget
- function flickrWidget() {
- $settings = get_option("widget_flickrwidget");
- $id = $settings['id'];
- $number = $settings['number'];
- ?>
- <aside id="flickr" class="widget left">
- <h4>Latest On Flickr</h4>
- <script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=<?php echo $number; ?>&display=latest&size=s&layout=x&source=user&user=<?php echo $id; ?>"> </script>
- <div class="clear"></div>
- </aside>
- <div class="clear"></div>
- <?php }
- function flickrWidgetAdmin() {
- $settings = get_option("widget_flickrwidget");
- // check if anything's been sent
- if (isset($_POST['update_flickr'])) {
- $settings['id'] = strip_tags(stripslashes($_POST['flickr_id']));
- $settings['number'] = strip_tags(stripslashes($_POST['flickr_number']));
- update_option("widget_flickrwidget",$settings);
- }
- echo '<p> <label for="flickr_id">Flickr ID (<a href="http://www.idgettr.com">idGettr</a>):
- <input id="flickr_id" name="flickr_id" type="text" class="widefat" value="'.$settings['id'].'" /></label></p>';
- echo '<p> <label for="flickr_number">Number of photos:
- <input id="flickr_number" name="flickr_number" type="text" class="widefat" value="'.$settings['number'].'" /></label></p>';
- echo '<input type="hidden" id="update_flickr" name="update_flickr" value="1" />';
- }
- register_sidebar_widget('Flickr', 'flickrWidget');
- register_widget_control('Flickr', 'flickrWidgetAdmin', 400, 200);
- // Ad widget
- function adsWidget() { ?>
- <aside id="ct-ads" class="widget left">
- <?php if(get_option("ct_custom_ad1_url", "ct_custom_ad1_imgurl", "ct_custom_ad1_alt", $single = true) !="") { ?>
- <a href="<?php echo get_option("ct_custom_ad1_url", $single = true); ?>"><img class="smsqad left" src="<?php echo get_option("ct_custom_ad1_imgurl", $single = true); ?>" height="125" width="125" alt="<?php echo get_option("ct_custom_ad1_alt", $single = true); ?>" /></a>
- <?php } else { ?>
- <a href="#"><img class="smsqad left" src="<?php bloginfo('template_directory'); ?>/images/ads/tf_125x125_v5.gif" height="125" width="125" alt="125x125 ad" /></a>
- <?php } ?>
- <?php if(get_option("ct_custom_ad2_url", "ct_custom_ad2_imgurl", "ct_custom_ad2_alt", $single = true) !="") { ?>
- <a href="<?php echo get_option("ct_custom_ad2_url", $single = true); ?>"><img class="smsqad left last" src="<?php echo get_option("ct_custom_ad2_imgurl", $single = true); ?>" height="125" width="125" alt="<?php echo get_option("ct_custom_ad2_alt", $single = true); ?>" /></a>
- <?php } else { ?>
- <a href="#"><img class="smsqad left last" src="<?php bloginfo('template_directory'); ?>/images/ads/gr_125x125_v4.gif" height="125" width="125" alt="125x125 ad" /></a>
- <?php } ?>
- <?php if(get_option("ct_custom_ad3_url", "ct_custom_ad3_imgurl", "ct_custom_ad3_alt", $single = true) !="") { ?>
- <a href="<?php echo get_option("ct_custom_ad3_url", $single = true); ?>"><img class="smsqad left" src="<?php echo get_option("ct_custom_ad3_imgurl", $single = true); ?>" height="125" width="125" alt="<?php echo get_option("ct_custom_ad3_alt", $single = true); ?>" /></a>
- <?php } else { ?>
- <a href="#"><img class="smsqad left" src="<?php bloginfo('template_directory'); ?>/images/ads/ad_125x125_v4.gif" height="125" width="125" alt="125x125 ad" /></a>
- <?php } ?>
- <?php if(get_option("ct_custom_ad4_url", "ct_custom_ad4_imgurl", "ct_custom_ad4_alt", $single = true) !="") { ?>
- <a href="<?php echo get_option("ct_custom_ad4_url", $single = true); ?>"><img class="smsqad left last" src="<?php echo get_option("ct_custom_ad4_imgurl", $single = true); ?>" height="125" width="125" alt="<?php echo get_option("ct_custom_ad4_alt", $single = true); ?>" /></a>
- <?php } else { ?>
- <a href="#"><img class="smsqad left last" src="<?php bloginfo('template_directory'); ?>/images/ads/vh_125x125_2.gif" height="125" width="125" alt="125x125 ad" /></a>
- <?php } ?>
- <?php if(get_option("ct_custom_ad5_url", "ct_custom_ad5_imgurl", "ct_custom_ad5_alt", $single = true) !="") { ?>
- <a href="<?php echo get_option("ct_custom_ad5_url", $single = true); ?>"><img class="smsqad left" src="<?php echo get_option("ct_custom_ad5_imgurl", $single = true); ?>" height="125" width="125" alt="<?php echo get_option("ct_custom_ad5_alt", $single = true); ?>" /></a>
- <?php } else { ?>
- <!-- do nothing -->
- <?php } ?>
- <?php if(get_option("ct_custom_ad6_url", "ct_custom_ad6_imgurl", "ct_custom_ad6_alt", $single = true) !="") { ?>
- <a href="<?php echo get_option("ct_custom_ad6_url", $single = true); ?>"><img class="smsqad left last" src="<?php echo get_option("ct_custom_ad6_imgurl", $single = true); ?>" height="125" width="125" alt="<?php echo get_option("ct_custom_ad6_alt", $single = true); ?>" /></a>
- <?php } else { ?>
- <!-- do nothing -->
- <?php } ?>
- <div class="clear"></div>
- <?php if(get_option("ct_custom_advertise_url", $single = true) !="") { ?>
- <p id="advertise"><a href="<?php echo get_option("ct_custom_advertise_url", $single = true); ?>">Advertise Here</a></p>
- <?php } else { ?>
- <p id="advertise"><a href="#">Advertise Here</a></p>
- <?php } ?>
- </aside>
- <div class="clear"></div>
- <?php }
- register_sidebar_widget('Ads', 'adsWidget');
- function popWidget($args) {
- global $wpdb;
- $settings = get_option("widget_popWidget");
- $pop_num = $settings['popnumber'];
- $now = gmdate("Y-m-d H:i:s",time());
- $lastmonth = gmdate("Y-m-d H:i:s",gmmktime(date("H"), date("i"), date("s"), date("m")-12,date("d"),date("Y")));
- $popularposts = "SELECT ID, post_title, post_date, COUNT($wpdb->comments.comment_post_ID) AS 'stammy' FROM $wpdb->posts, $wpdb->comments WHERE comment_approved = '1' AND $wpdb->posts.ID=$wpdb->comments.comment_post_ID AND post_status = 'publish' AND post_date < '$now' AND post_date > '$lastmonth' AND comment_status = 'open' GROUP BY $wpdb->comments.comment_post_ID ORDER BY stammy DESC LIMIT ".$pop_num;
- $posts = $wpdb->get_results($popularposts);
- $popular = '';
- echo $args['before_widget'];
- echo $args['before_title'] .'Popular Posts'. $args['after_title'];
- if($posts){ ?>
- <ul>
- <?php foreach($posts as $post){
- $post_title = stripslashes($post->post_title);
- $post_date = $post->post_date;
- $post_date = mysql2date('F j, Y', $post_date, false);
- $permalink = get_permalink($post->ID);
- $meta_image = get_post_meta($post->ID, "image_value", true);
- if(!$meta_image){
- $meta_image = get_template_directory_uri() .'/images/empty_tn.png';
- }else{
- $meta_image = get_template_directory_uri() .'/img_resize/timthumb.php?src=' .$meta_image. '&w=60&h=60&zc=1&q=100';
- } ?>
- <li><a href="<?php echo $permalink; ?>" title="<?php echo $post_title; ?>"><h6><?php echo $post_title; ?></h6><p class="meta"><?php echo $post_date; ?></p></a><div class="clear"></div></li>
- <?php } ?>
- </ul>
- <?php }
- echo $args['after_widget'];
- }
- function popWidgetAdmin() {
- $settings = get_option("widget_popWidget");
- // check if anything's been sent
- if (isset($_POST['update_pop'])) {
- $settings['popnumber'] = strip_tags(stripslashes($_POST['pop_number']));
- update_option("widget_popWidget",$settings);
- }
- echo '<p> <label for="pop_number">Number of posts:
- <input id="pop_number" name="pop_number" type="text" class="widefat" value="'.$settings['popnumber'].'" /></label></p>';
- echo '<input type="hidden" id="update_pop" name="update_pop" value="1" />';
- }
- register_sidebar_widget('Popular Posts', 'popWidget');
- register_widget_control('Popular Posts', 'popWidgetAdmin', 400, 200);
- function listingsWidget() { ?>
- <aside id="agent-other-listings" class="widget left">
- <h4><?php _e('Agent\'s Other Listings', 'theme_textdomain'); ?></h4>
- <ul id="newlistings">
- <?php
- $author = get_the_author_meta('ID');
- query_posts( array(
- 'post_type' => 'listings',
- 'author' => $author,
- 'posts_per_page' => 3 )
- );
- if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li>
- <?php ct_status_sm(); ?>
- <?php ct_first_image_tn_left(); ?>
- <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
- <p class="location"><?php city(); ?>, <?php state(); ?> <?php zipcode(); ?></p>
- <p class="propinfo"><?php beds(); ?> <?php _e('Bed', 'theme_textdomain'); ?>, <?php baths(); ?> <?php _e('Bath', 'theme_textdomain'); ?></p>
- <div class="clear"></div>
- </li>
- <?php endwhile; endif; ?>
- <?php wp_reset_query(); ?>
- </ul>
- </aside>
- <?php }
- register_sidebar_widget('Agents Other Listings', 'listingsWidget');
- function listingsInSameAreaWidget() { ?>
- <aside id="other-listings-in-same-area" class="widget left">
- <h4><?php _e('Other Listings in Same Area', 'theme_textdomain'); ?></h4>
- <ul id="newlistings">
- <?php
- $author = get_the_author_meta('ID');
- $city = get_the_term_list(ID, 'city');
- $post_id = get_post($post->ID)->ID;
- $args = array(
- 'post_type' => 'listings',
- 'city' => $city,
- 'post__not_in' =>$post->ID,
- 'posts_per_page' => 3
- );
- //query_posts($args);
- query_posts( array(
- 'post_type' => 'listings',
- 'city' => $city,
- 'post__not_in' =>$post->ID,
- 'posts_per_page' => 3, )
- );
- if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li>
- <?php ct_status_sm(); ?>
- <?php ct_first_image_tn_left(); ?>
- <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
- <p class="location"><?php city_and_state(); ?></p>
- <p class="propinfo"><?php beds(); ?> <?php _e('Bed', 'theme_textdomain'); ?>, <?php baths(); ?> <?php _e('Bath', 'theme_textdomain'); ?></p>
- <div class="clear"></div>
- </li>
- <?php endwhile; endif; ?>
- <?php wp_reset_query(); ?>
- </ul>
- </aside>
- <?php }
- register_sidebar_widget('Other Listings in Same Area', 'listingsInSameAreaWidget');
- function moreinfoWidget() { ?>
- <aside id="contact-agent" class="widget left">
- <h4><?php _e('Request More Details', 'theme_textdomain'); ?></h4>
- <?php contact_us_validation(); ?>
- <form id="contactform" class="formular" method="post">
- <fieldset>
- <input type="text" name="name" id="name" class="validate[required,custom[onlyLetter]] text-input" value="<?php _e('Name', 'theme_textdomain'); ?>" onfocus="if(this.value=='<?php _e('Name', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Name', 'theme_textdomain'); ?>';" />
- <input type="text" name="email" id="email" class="validate[required,custom[email]] text-input" value="<?php _e('Email', 'theme_textdomain'); ?>" onfocus="if(this.value=='<?php _e('Email', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Email', 'theme_textdomain'); ?>';" />
- <textarea class="validate[required,length[2,500]] text-input" name="message" id="message" rows="5" cols="10" onfocus="if(this.value=='<?php _e('Message', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Message', 'theme_textdomain'); ?>';">Message</textarea>
- <input type="hidden" id="ctyouremail" name="ctyouremail" value="<?php the_author_meta('user_email'); ?>" />
- <input type="hidden" id="ctsubject" name="ctsubject" value="<?php echo get_option("ct_subject", $single = true); ?>" />
- <input type="hidden" id="ctproperty" name="ctproperty" value="<a href=<?php the_permalink(); ?>><?php the_title(); ?></a>" />
- <input type="submit" name="Submit" value="<?php _e('Submit', 'theme_textdomain'); ?>" id="submit" class="btn" />
- </fieldset>
- </form>
- </aside>
- <?php }
- register_sidebar_widget('Request More Info Form', 'moreinfoWidget');
- register_sidebar_widget('Request More Info Form', 'jtplMoreInfoWidget');
- function jtplMoreInfoWidget() { ?>
- <aside id="contact-agent" class="widget left">
- <h4><?php _e('Request More Details', 'theme_textdomain'); ?></h4>
- <?php insert_cform('Request more details') ; ?>
- </aside>
- <?php }
- function loancalcWidget() {
- ?>
- <aside id="loancalc" class="widget left">
- <a name="calc"></a>
- <h4><?php _e('Mortgage Calculator', 'theme_textdomain'); ?></h4>
- <form id="loancalc">
- <fieldset>
- <input type="text" name="mcPrice" id="mcPrice" class="mortgageField text-input" value="<?php _e('Sale price ($)', 'theme_textdomain'); ?>" onfocus="if(this.value=='<?php _e('Sale price ($)', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Sale price ($)', 'theme_textdomain'); ?>';" />
- <input type="text" name="mcDown" id="mcDown" class="mortgageField text-input" value="<?php _e('Down payment (%)', 'theme_textdomain'); ?>" onfocus="if(this.value=='<?php _e('Down payment (%)', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Down payment (%)', 'theme_textdomain'); ?>';" />
- <input type="text" name="mcRate" id="mcRate" class="mortgageField text-input" value="<?php _e('Interest Rate (%)', 'theme_textdomain'); ?>" onfocus="if(this.value=='<?php _e('Interest Rate (%)', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Interest Rate (%)', 'theme_textdomain'); ?>';" />
- <input type="text" name="mcTerm" id="mcTerm" class="mortgageField text-input" value="<?php _e('Term (years)', 'theme_textdomain'); ?>" onfocus="if(this.value=='<?php _e('Term (years)', 'theme_textdomain'); ?>')this.value = '';" onblur="if(this.value=='')this.value = '<?php _e('Term (years)', 'theme_textdomain'); ?>';" />
- <button class="btn" id="mortgageCalc" onclick="return false"><?php _e('Calculate Monthly Payment', 'theme_textdomain'); ?></button>
- <input type="text" name="mcPayment" id="mcPayment" class="mortgageAnswer text-input" value="$" />
- </fieldset>
- </form>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/loancalc.js"></script>
- </aside>
- <?php }
- register_sidebar_widget('Mortgage Calculator', 'loancalcWidget');
- function propsearchWidget() {
- ?>
- <aside id="propsearch" class="widget left">
- <?php
- /*
- <form id="advanced_search" name="property-search" action="<?php bloginfo('url'); ?>">
- <h4><?php _e('Find your new home', 'theme_textdomain'); ?></h4>
- <p><?php $count_posts = wp_count_posts('listings'); $published_listings = $count_posts->publish; ?><?php echo $published_listings ?> Real Estate Listings, Homes for Sale & Rental Properties.</p>
- <div id="prop-type" class="left">
- <label for="ct_type"><?php _e('Type', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('property_type'); ?>
- </div>
- <div class="clear"></div>
- <div id="beds" class="left">
- <label for="ct_beds"><?php _e('Beds', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('beds'); ?>
- </div>
- <div id="baths" class="left">
- <label for="ct_baths"><?php _e('Baths', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('baths'); ?>
- </div>
- <div id="city" class="left">
- <label for="ct_city"><?php _e('City', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('city'); ?>
- </div>
- <div id="state" class="left">
- <label for="ct_state"><?php _e('State', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('state'); ?>
- </div>
- <div id="zipcode" class="left">
- <label for="ct_zipcode"><?php _e('Zipcode', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('zipcode'); ?>
- </div>
- <div id="status" class="left">
- <label for="ct_status"><?php _e('Status', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('status'); ?>
- </div>
- <div id="addfeat" class="left">
- <label for="ct_additional_features"><?php _e('Addtional Features', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('additional_features'); ?>
- </div>
- <input type="hidden" name="property-search" value="true" />
- <input id="submit" class="btn right" type="submit" value="Search" />
- <div class="clear"></div>
- </form>
- */
- ?>
- <form id="advanced_search" name="property-search-widget" action="<?php bloginfo('url'); ?>">
- <h2><?php _e('Find your new Property', 'theme_textdomain'); ?></h2>
- <?php /*
- <p><?php $count_posts = wp_count_posts('listings'); $published_listings = $count_posts->publish; ?><?php echo $published_listings ?> Properties for Sale & Rent </p>
- */ ?>
- <div class="top-row left">
- <label for="ct_status"><?php _e('Type', 'theme_textdomain'); ?></label>
- <?php jtpl_ct_search_form_select('status'); ?>
- </div>
- <div class="left">
- <label for="ct_type"><?php _e('Property Type', 'theme_textdomain'); ?></label>
- <?php ct_search_form_select('property_type'); ?>
- </div>
- <div class="left">
- <label for="ct_city"><?php _e('City', 'theme_textdomain'); ?></label>
- <?php jtpl_ct_city_form_select('city'); ?>
- </div>
- <div class="left">
- <label for="ct_min_price"><?php _e('Min Price', 'theme_textdomain'); ?></label>
- <?php if($_REQUEST['ct_min_price']){
- $minprice = $_REQUEST['ct_min_price'];
- }
- ?>
- <?php /* jtpl_ct_search_form_select('min_price'); */ ?>
- <input name="ct_min_price" type="text" id="ct_min_price" size="8" maxlength="8" placeholder="Any" value="<?php echo $minprice; ?>" />
- </div>
- <div class="left">
- <label for="ct_max_price"><?php _e('Max Price', 'theme_textdomain'); ?></label>
- <?php if($_REQUEST['ct_max_price']){
- $maxprice = $_REQUEST['ct_max_price'];
- }
- ?>
- <?php /* jtpl_ct_search_form_select('max_price'); */ ?>
- <input name="ct_max_price" type="text" id="ct_max_price" size="8" maxlength="8" placeholder="Any" value="<?php echo $maxprice; ?>" />
- </div>
- <div class="left">
- <label for="sort_by">Sort By</label>
- <?php if($_REQUEST['sort_by']){
- $sortby = $_REQUEST['sort_by'];
- }
- ?>
- <select id="sort_by" name="sort_by" size="1">
- <option value="1" <?php if($sortby == '1'){ ?>selected="selected"<?php } ?>>Price ( high to low )</option>
- <option value="3" <?php if($sortby == '3'){ ?>selected="selected"<?php } ?>>Price ( low to high )</option>
- <option value="2" <?php if($sortby == '2'){ ?>selected="selected"<?php } ?>>Newest</option>
- </select>
- </div>
- <div class="clear"></div>
- <input type="hidden" name="property-search-widget" value="true" />
- <input id="submit" class="btn center" type="submit" value="Search" />
- <div class="clear"></div>
- </form>
- </aside>
- <?php }
- register_sidebar_widget('Property Search', 'propsearchWidget');
- function view_more_listings() {
- $post_id = get_post($post->ID)->ID;
- ?>
- <aside id="view_more_listings" class="widget left">
- <div id="viewmore">
- <div class="left">
- <?php previous_post_link('%link','<span>Previous</span>'); ?>
- </div>
- <div class="right">
- <?php next_post_link('%link','<span>Next</span>'); ?>
- </div>
- <div class="clear"></div>
- </div>
- </aside>
- <?php }
- register_sidebar_widget('View More Listings', 'view_more_listings');
- /*
- function sidebarMenuWidget() {
- ?>
- <aside id="sidebar-menu-widget" class="widget left">
- <h4><?php _e('Explore the Site', 'theme_textdomain'); ?></h4>
- <?php wp_nav_menu(array('menu' => 'sidebar-menu', 'menu_class'=>'sidebar_menu')); ?></aside>
- <?php }
- register_sidebar_widget('Sidebar Menu', 'sidebarMenuWidget');
- */
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement