CINXE.COM
Virginia Press Association
<!doctype html> <head> <meta charset="utf-8"> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- All in One SEO 4.7.7.2 - aioseo.com --> <title>Virginia Press Association</title> <meta name="robots" content="max-image-preview:large" /> <link rel="canonical" href="https://www.vpa.net/" /> <meta name="generator" content="All in One SEO (AIOSEO) 4.7.7.2" /> <meta property="og:locale" content="en_US" /> <meta property="og:site_name" content="Virginia Press Association -" /> <meta property="og:type" content="activity" /> <meta property="og:title" content="Virginia Press Association" /> <meta property="og:url" content="https://www.vpa.net/" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:title" content="Virginia Press Association" /> <script type="application/ld+json" class="aioseo-schema"> {"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.vpa.net\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.vpa.net\/#listItem","position":1,"name":"Home"}]},{"@type":"Organization","@id":"https:\/\/www.vpa.net\/#organization","name":"Virginia Press Association","url":"https:\/\/www.vpa.net\/"},{"@type":"WebPage","@id":"https:\/\/www.vpa.net\/#webpage","url":"https:\/\/www.vpa.net\/","name":"Virginia Press Association","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.vpa.net\/#website"},"breadcrumb":{"@id":"https:\/\/www.vpa.net\/#breadcrumblist"},"datePublished":"2021-04-20T21:41:58-04:00","dateModified":"2021-04-28T23:40:30-04:00"},{"@type":"WebSite","@id":"https:\/\/www.vpa.net\/#website","url":"https:\/\/www.vpa.net\/","name":"Virginia Press Association","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.vpa.net\/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpa.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}}]} </script> <!-- All in One SEO --> <link rel='dns-prefetch' href='//d2x67q1m9cxoc8.cloudfront.net' /> <link rel='dns-prefetch' href='//static.addtoany.com' /> <link rel='dns-prefetch' href='//cdn.jsdelivr.net' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//use.fontawesome.com' /> <link rel='stylesheet' id='audio_articles_oht-css' href='https://d2x67q1m9cxoc8.cloudfront.net/oht_audio_articles/assets/css/audio_articles_oht.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='mp-theme-css' href='https://d2x67q1m9cxoc8.cloudfront.net/memberpress/css/ui/theme.css?ver=1.9.31' type='text/css' media='all' /> <link rel='stylesheet' id='ayecode-ui-css' href='https://www.vpa.net/wp-content/plugins/geodirectory/vendor/ayecode/wp-ayecode-ui/assets/css/ayecode-ui.css?ver=0.1.66' type='text/css' media='all' /> <style id='ayecode-ui-inline-css' type='text/css'> body.modal-open #wpadminbar{z-index:999}.embed-responsive-16by9 .fluid-width-video-wrapper{padding:0!important;position:initial} </style> <link rel='stylesheet' id='wp-block-library-css' href='https://www.vpa.net/wp-includes/css/dist/block-library/style.min.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='amazonpolly-css' href='https://d2x67q1m9cxoc8.cloudfront.net/amazon-polly/public/css/amazonpolly-public.css?ver=1.0.0' type='text/css' media='all' /> <link rel='stylesheet' id='af-fontawesome-css' href='https://d2x67q1m9cxoc8.cloudfront.net/asgaros-forum/libs/fontawesome/css/all.min.css?ver=3.0.0' type='text/css' media='all' /> <link rel='stylesheet' id='af-fontawesome-compat-v4-css' href='https://d2x67q1m9cxoc8.cloudfront.net/asgaros-forum/libs/fontawesome/css/v4-shims.min.css?ver=3.0.0' type='text/css' media='all' /> <link rel='stylesheet' id='af-widgets-css' href='https://d2x67q1m9cxoc8.cloudfront.net/asgaros-forum/skin/widgets.css?ver=3.0.0' type='text/css' media='all' /> <link rel='stylesheet' id='paywall_meter_css-css' href='https://d2x67q1m9cxoc8.cloudfront.net/memberpress-metered/css/memberpress-metered.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='ohtnav_styles-css' href='https://d2x67q1m9cxoc8.cloudfront.net/ohtnav/css/styles.css?ver=1.0.1' type='text/css' media='all' /> <link rel='stylesheet' id='oht_shortcode_central-css' href='https://d2x67q1m9cxoc8.cloudfront.net/ohtnav/submodules//css/oht_shortcode_central.css?ver=1.0.1' type='text/css' media='all' /> <link rel='stylesheet' id='author-page-css-css' href='https://d2x67q1m9cxoc8.cloudfront.net/ohtnav/submodules/author_templates/oht_modified_author.css?ver=1.1' type='text/css' media='all' /> <link rel='stylesheet' id='searchandfilter-css' href='//d2x67q1m9cxoc8.cloudfront.net/search-filter/style.css?ver=1' type='text/css' media='all' /> <link rel='stylesheet' id='sow-button-base-css' href='https://d2x67q1m9cxoc8.cloudfront.net/so-widgets-bundle/widgets/button/css/style.css?ver=1.64.2' type='text/css' media='all' /> <link rel='stylesheet' id='sow-google-font-oswald-css' href='https://fonts.googleapis.com/css?family=Oswald&display=swap&ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='sow-button-flat-785fc20733b8-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-button-flat-785fc20733b8.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='sow-button-atom-bcc5747fdcc2-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-button-atom-bcc5747fdcc2.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='sow-image-default-8b5b6f678277-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-image-default-8b5b6f678277.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='solr_auto_css-css' href='https://d2x67q1m9cxoc8.cloudfront.net/wpsolr-search-engine/wpsolr/core/css/bootstrap.min.css?ver=20.1' type='text/css' media='all' /> <link rel='stylesheet' id='solr_frontend-css' href='https://d2x67q1m9cxoc8.cloudfront.net/wpsolr-search-engine/wpsolr/core/css/style.css?ver=20.1' type='text/css' media='all' /> <link rel='stylesheet' id='theme-style-css' href='https://www.vpa.net/wp-content/themes/dolores/assets/styles/main.css?ver=0.3.0' type='text/css' media='all' /> <link rel='stylesheet' id='child-style-css' href='https://www.vpa.net/wp-content/themes/clementine/assets/styles/main.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='theme-style-print-css' href='https://www.vpa.net/wp-content/themes/dolores/assets/styles/print.css?ver=0.3.0' type='text/css' media='print' /> <link rel='stylesheet' id='all-css' href='https://www.vpa.net/wp-content/themes/dolores/fontawesome/css/all.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='font-awesome-css' href='https://use.fontawesome.com/releases/v6.4.2/css/all.css?wpfas=true' type='text/css' media='all' /> <link rel='stylesheet' id='google-Oswaldslug-css' href='https://fonts.googleapis.com/css?family=Oswald&ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='widget-style-article-css' href='https://www.vpa.net/wp-content/themes/dolores/assets/styles/ajax-article-widget.css?ver=0.3.0' type='text/css' media='all' /> <link rel='stylesheet' id='carousel-bootstrap-css' href='https://www.vpa.net/wp-content/themes/dolores/assets/styles/carousel-bootstrap.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='widget-style-slider-css' href='https://www.vpa.net/wp-content/themes/dolores/assets/styles/ajax-slider-widget.css?ver=0.3.0' type='text/css' media='all' /> <link rel='stylesheet' id='cookie-notice-front-css' href='https://d2x67q1m9cxoc8.cloudfront.net/cookie-notice/includes/../css/front.min.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='bootstrap-css' href='https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='bootstrap-changes-css' href='https://www.vpa.net/wp-content/themes/dolores/assets/styles/bootstrap-changes.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='addtoany-css' href='https://d2x67q1m9cxoc8.cloudfront.net/add-to-any/addtoany.min.css?ver=1.16' type='text/css' media='all' /> <script type='text/javascript' src='https://www.vpa.net/wp-includes/js/jquery/jquery.min.js?ver=3.6.0' id='jquery-core-js'></script> <script type='text/javascript' src='https://www.vpa.net/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js'></script> <script type='text/javascript' id='jquery-js-after'> window.gdSetMap = window.gdSetMap || 'google';window.gdLoadMap = window.gdLoadMap || 'auto'; </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/geodir_custom_posts/assets/js/widget.min.js?ver=2.2' id='geodir-cp-widget-js'></script> <script type='text/javascript' src='https://www.vpa.net/wp-content/plugins/geodirectory/vendor/ayecode/wp-ayecode-ui/assets/js/select2.min.js?ver=4.0.11' id='select2-js'></script> <script type='text/javascript' src='https://www.vpa.net/wp-content/plugins/geodirectory/vendor/ayecode/wp-ayecode-ui/assets/js/bootstrap.bundle.min.js?ver=0.1.66' id='bootstrap-js-bundle-js'></script> <script type='text/javascript' id='bootstrap-js-bundle-js-after'> function aui_init_greedy_nav(){jQuery('nav.greedy').each(function(i,obj){if(jQuery(this).hasClass("being-greedy")){return true}jQuery(this).addClass('navbar-expand');var $vlinks='';var $dDownClass='';if(jQuery(this).find('.navbar-nav').length){if(jQuery(this).find('.navbar-nav').hasClass("being-greedy")){return true}$vlinks=jQuery(this).find('.navbar-nav').addClass("being-greedy w-100").removeClass('overflow-hidden')}else if(jQuery(this).find('.nav').length){if(jQuery(this).find('.nav').hasClass("being-greedy")){return true}$vlinks=jQuery(this).find('.nav').addClass("being-greedy w-100").removeClass('overflow-hidden');$dDownClass=' mt-2 '}else{return false}jQuery($vlinks).append('<li class="nav-item list-unstyled ml-auto greedy-btn d-none dropdown ">'+'<a href="javascript:void(0)" data-toggle="dropdown" class="nav-link"><i class="fas fa-ellipsis-h"></i> <span class="greedy-count badge badge-dark badge-pill"></span></a>'+'<ul class="greedy-links dropdown-menu dropdown-menu-right '+$dDownClass+'"></ul>'+'</li>');var $hlinks=jQuery(this).find('.greedy-links');var $btn=jQuery(this).find('.greedy-btn');var numOfItems=0;var totalSpace=0;var closingTime=1000;var breakWidths=[];$vlinks.children().outerWidth(function(i,w){totalSpace+=w;numOfItems+=1;breakWidths.push(totalSpace)});var availableSpace,numOfVisibleItems,requiredSpace,buttonSpace,timer;function check(){buttonSpace=$btn.width();availableSpace=$vlinks.width()-10;numOfVisibleItems=$vlinks.children().length;requiredSpace=breakWidths[numOfVisibleItems-1];if(numOfVisibleItems>1&&requiredSpace>availableSpace){$vlinks.children().last().prev().prependTo($hlinks);numOfVisibleItems-=1;check()}else if(availableSpace>breakWidths[numOfVisibleItems]){$hlinks.children().first().insertBefore($btn);numOfVisibleItems+=1;check()}jQuery($btn).find(".greedy-count").html(numOfItems-numOfVisibleItems);if(numOfVisibleItems===numOfItems){$btn.addClass('d-none')}else $btn.removeClass('d-none')}jQuery(window).on("resize",function(){check()});check()})}function aui_select2_locale(){var aui_select2_params={"i18n_select_state_text":"Select an option\u2026","i18n_no_matches":"No matches found","i18n_ajax_error":"Loading failed","i18n_input_too_short_1":"Please enter 1 or more characters","i18n_input_too_short_n":"Please enter %item% or more characters","i18n_input_too_long_1":"Please delete 1 character","i18n_input_too_long_n":"Please delete %item% characters","i18n_selection_too_long_1":"You can only select 1 item","i18n_selection_too_long_n":"You can only select %item% items","i18n_load_more":"Loading more results\u2026","i18n_searching":"Searching\u2026"};return{language:{errorLoading:function(){return aui_select2_params.i18n_searching},inputTooLong:function(args){var overChars=args.input.length-args.maximum;if(1===overChars){return aui_select2_params.i18n_input_too_long_1}return aui_select2_params.i18n_input_too_long_n.replace('%item%',overChars)},inputTooShort:function(args){var remainingChars=args.minimum-args.input.length;if(1===remainingChars){return aui_select2_params.i18n_input_too_short_1}return aui_select2_params.i18n_input_too_short_n.replace('%item%',remainingChars)},loadingMore:function(){return aui_select2_params.i18n_load_more},maximumSelected:function(args){if(args.maximum===1){return aui_select2_params.i18n_selection_too_long_1}return aui_select2_params.i18n_selection_too_long_n.replace('%item%',args.maximum)},noResults:function(){return aui_select2_params.i18n_no_matches},searching:function(){return aui_select2_params.i18n_searching}}}}function aui_init_select2(){var select2_args=jQuery.extend({},aui_select2_locale());jQuery("select.aui-select2").select2(select2_args)}function aui_time_ago(selector){var aui_timeago_params={"prefix_ago":"","suffix_ago":" ago","prefix_after":"after ","suffix_after":"","seconds":"less than a minute","minute":"about a minute","minutes":"%d minutes","hour":"about an hour","hours":"about %d hours","day":"a day","days":"%d days","month":"about a month","months":"%d months","year":"about a year","years":"%d years"};var templates={prefix:aui_timeago_params.prefix_ago,suffix:aui_timeago_params.suffix_ago,seconds:aui_timeago_params.seconds,minute:aui_timeago_params.minute,minutes:aui_timeago_params.minutes,hour:aui_timeago_params.hour,hours:aui_timeago_params.hours,day:aui_timeago_params.day,days:aui_timeago_params.days,month:aui_timeago_params.month,months:aui_timeago_params.months,year:aui_timeago_params.year,years:aui_timeago_params.years};var template=function(t,n){return templates[t]&&templates[t].replace(/%d/i,Math.abs(Math.round(n)))};var timer=function(time){if(!time)return;time=time.replace(/\.\d+/,"");time=time.replace(/-/,"/").replace(/-/,"/");time=time.replace(/T/," ").replace(/Z/," UTC");time=time.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2");time=new Date(time*1000||time);var now=new Date();var seconds=((now.getTime()-time)*.001)>>0;var minutes=seconds/60;var hours=minutes/60;var days=hours/24;var years=days/365;return templates.prefix+(seconds<45&&template('seconds',seconds)||seconds<90&&template('minute',1)||minutes<45&&template('minutes',minutes)||minutes<90&&template('hour',1)||hours<24&&template('hours',hours)||hours<42&&template('day',1)||days<30&&template('days',days)||days<45&&template('month',1)||days<365&&template('months',days/30)||years<1.5&&template('year',1)||template('years',years))+templates.suffix};var elements=document.getElementsByClassName(selector);if(selector&&elements&&elements.length){for(var i in elements){var $el=elements[i];if(typeof $el==='object'){$el.innerHTML='<i class="far fa-clock"></i> '+timer($el.getAttribute('title')||$el.getAttribute('datetime'))}}}setTimeout(function(){aui_time_ago(selector)},60000)}function aui_init_tooltips(){jQuery('[data-toggle="tooltip"]').tooltip();jQuery('[data-toggle="popover"]').popover();jQuery('[data-toggle="popover-html"]').popover({html:true});jQuery('[data-toggle="popover"],[data-toggle="popover-html"]').on('inserted.bs.popover',function(){jQuery('body > .popover').wrapAll("<div class='bsui' />")})}$aui_doing_init_flatpickr=false;function aui_init_flatpickr(){if(typeof jQuery.fn.flatpickr==="function"&&!$aui_doing_init_flatpickr){$aui_doing_init_flatpickr=true;try{flatpickr.localize({weekdays:{shorthand:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],longhand:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],},months:{shorthand:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],longhand:['January','February','March','April','May','June','July','August','September','October','November','December'],},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:1,ordinal:function(nth){var s=nth%100;if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:' to ',weekAbbreviation:'Wk',scrollTitle:'Scroll to increment',toggleTitle:'Click to toggle',amPM:['AM','PM'],yearAriaLabel:'Year',hourAriaLabel:'Hour',minuteAriaLabel:'Minute',time_24hr:false})}catch(err){console.log(err.message)}jQuery('input[data-aui-init="flatpickr"]:not(.flatpickr-input)').flatpickr()}$aui_doing_init_flatpickr=false}$aui_doing_init_iconpicker=false;function aui_init_iconpicker(){if(typeof jQuery.fn.iconpicker==="function"&&!$aui_doing_init_iconpicker){$aui_doing_init_iconpicker=true;jQuery('input[data-aui-init="iconpicker"]:not(.iconpicker-input)').iconpicker()}$aui_doing_init_iconpicker=false}function aui_modal_iframe($title,$url,$footer,$dismissible,$class,$dialog_class,$body_class){if(!$body_class){$body_class='p-0'}var $body='<div class="ac-preview-loading text-center position-absolute w-100 text-dark vh-100 overlay overlay-white p-0 m-0 d-none d-flex justify-content-center align-items-center"><div class="spinner-border" role="status"></div></div>';$body+='<iframe id="embedModal-iframe" class="w-100 vh-100 p-0 m-0" src="" width="100%" height="100%" frameborder="0" allowtransparency="true"></iframe>';$m=aui_modal($title,$body,$footer,$dismissible,$class,$dialog_class,$body_class);jQuery($m).on('shown.bs.modal',function(e){iFrame=jQuery('#embedModal-iframe');jQuery('.ac-preview-loading').addClass('d-flex');iFrame.attr({src:$url});iFrame.load(function(){jQuery('.ac-preview-loading').removeClass('d-flex')})});return $m}function aui_modal($title,$body,$footer,$dismissible,$class,$dialog_class,$body_class){if(!$class){$class=''}if(!$dialog_class){$dialog_class=''}if(!$body){$body='<div class="text-center"><div class="spinner-border" role="status"></div></div>'}jQuery('.aui-modal').modal('hide').modal('dispose').remove();jQuery('.modal-backdrop').remove();var $modal='';$modal+='<div class="modal aui-modal fade shadow bsui '+$class+'" tabindex="-1">'+'<div class="modal-dialog modal-dialog-centered '+$dialog_class+'">'+'<div class="modal-content border-0 shadow">';if($title){$modal+='<div class="modal-header">'+'<h5 class="modal-title">'+$title+'</h5>';if($dismissible){$modal+='<button type="button" class="close" data-dismiss="modal" aria-label="Close">'+'<span aria-hidden="true">×</span>'+'</button>'}$modal+='</div>'}$modal+='<div class="modal-body '+$body_class+'">'+$body+'</div>';if($footer){$modal+='<div class="modal-footer">'+$footer+'</div>'}$modal+='</div>'+'</div>'+'</div>';jQuery('body').append($modal);return jQuery('.aui-modal').modal('hide').modal({})}function aui_conditional_fields(form){jQuery(form).find(".aui-conditional-field").each(function(){var $element_require=jQuery(this).data('element-require');if($element_require){$element_require=$element_require.replace("'","'");$element_require=$element_require.replace(""",'"');if(aui_check_form_condition($element_require,form)){jQuery(this).removeClass('d-none')}else{jQuery(this).addClass('d-none')}}})}function aui_check_form_condition(condition,form){if(form){condition=condition.replace(/\(form\)/g,"('"+form+"')")}return new Function("return "+condition+";")()}jQuery.fn.aui_isOnScreen=function(){var win=jQuery(window);var viewport={top:win.scrollTop(),left:win.scrollLeft()};viewport.right=viewport.left+win.width();viewport.bottom=viewport.top+win.height();var bounds=this.offset();bounds.right=bounds.left+this.outerWidth();bounds.bottom=bounds.top+this.outerHeight();return(!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom))};function aui_carousel_maybe_show_multiple_items($carousel){var $items={};var $item_count=0;if(!jQuery($carousel).find('.carousel-inner-original').length){jQuery($carousel).append('<div class="carousel-inner-original d-none">'+jQuery($carousel).find('.carousel-inner').html()+'</div>')}jQuery($carousel).find('.carousel-inner-original .carousel-item').each(function(){$items[$item_count]=jQuery(this).html();$item_count++});if(!$item_count){return}if(jQuery(window).width()<=576){if(jQuery($carousel).find('.carousel-inner').hasClass('aui-multiple-items')&&jQuery($carousel).find('.carousel-inner-original').length){jQuery($carousel).find('.carousel-inner').removeClass('aui-multiple-items').html(jQuery($carousel).find('.carousel-inner-original').html());jQuery($carousel).find(".carousel-indicators li").removeClass("d-none")}}else{var $md_count=jQuery($carousel).data('limit_show');var $new_items='';var $new_items_count=0;var $new_item_count=0;var $closed=true;Object.keys($items).forEach(function(key,index){if(index!=0&&Number.isInteger(index/$md_count)){$new_items+='</div></div>';$closed=true}if(index==0||Number.isInteger(index/$md_count)){$active=index==0?'active':'';$new_items+='<div class="carousel-item '+$active+'"><div class="row m-0">';$closed=false;$new_items_count++;$new_item_count=0}$new_items+='<div class="col pr-1 pl-0">'+$items[index]+'</div>';$new_item_count++});if(!$closed){if($md_count-$new_item_count>0){$placeholder_count=$md_count-$new_item_count;while($placeholder_count>0){$new_items+='<div class="col pr-1 pl-0"></div>';$placeholder_count--}}$new_items+='</div></div>'}jQuery($carousel).find('.carousel-inner').addClass('aui-multiple-items').html($new_items);jQuery($carousel).find('.carousel-item.active img').each(function(){if(real_srcset=jQuery(this).attr("data-srcset")){if(!jQuery(this).attr("srcset"))jQuery(this).attr("srcset",real_srcset)}if(real_src=jQuery(this).attr("data-src")){if(!jQuery(this).attr("srcset"))jQuery(this).attr("src",real_src)}});$hide_count=$new_items_count-1;jQuery($carousel).find(".carousel-indicators li:gt("+$hide_count+")").addClass("d-none")}jQuery(window).trigger("aui_carousel_multiple")}function aui_init_carousel_multiple_items(){jQuery(window).on("resize",function(){jQuery('.carousel-multiple-items').each(function(){aui_carousel_maybe_show_multiple_items(this)})});jQuery('.carousel-multiple-items').each(function(){aui_carousel_maybe_show_multiple_items(this)})}function init_nav_sub_menus(){jQuery('.navbar-multi-sub-menus').each(function(i,obj){if(jQuery(this).hasClass("has-sub-sub-menus")){return true}jQuery(this).addClass('has-sub-sub-menus');jQuery(this).find('.dropdown-menu a.dropdown-toggle').on('click',function(e){var $el=jQuery(this);$el.toggleClass('active-dropdown');var $parent=jQuery(this).offsetParent(".dropdown-menu");if(!jQuery(this).next().hasClass('show')){jQuery(this).parents('.dropdown-menu').first().find('.show').removeClass("show")}var $subMenu=jQuery(this).next(".dropdown-menu");$subMenu.toggleClass('show');jQuery(this).parent("li").toggleClass('show');jQuery(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown',function(e){jQuery('.dropdown-menu .show').removeClass("show");$el.removeClass('active-dropdown')});if(!$parent.parent().hasClass('navbar-nav')){$el.next().addClass('position-relative border-top border-bottom')}return false})})}function aui_lightbox_embed($link,ele){ele.preventDefault();jQuery('.aui-carousel-modal').remove();var $modal='<div class="modal fade aui-carousel-modal bsui" tabindex="-1" role="dialog" aria-labelledby="aui-modal-title" aria-hidden="true"><div class="modal-dialog modal-dialog-centered modal-xl mw-100"><div class="modal-content bg-transparent border-0"><div class="modal-header"><h5 class="modal-title" id="aui-modal-title"></h5></div><div class="modal-body text-center"><i class="fas fa-circle-notch fa-spin fa-3x"></i></div></div></div></div>';jQuery('body').append($modal);jQuery('.aui-carousel-modal').modal({});jQuery('.aui-carousel-modal').on('hidden.bs.modal',function(e){jQuery("iframe").attr('src','')});$container=jQuery($link).closest('.aui-gallery');$clicked_href=jQuery($link).attr('href');$images=[];$container.find('.aui-lightbox-image').each(function(){var a=this;var href=jQuery(a).attr('href');if(href){$images.push(href)}});if($images.length){var $carousel='<div id="aui-embed-slider-modal" class="carousel slide" >';if($images.length>1){$i=0;$carousel+='<ol class="carousel-indicators position-fixed">';$container.find('.aui-lightbox-image').each(function(){$active=$clicked_href==jQuery(this).attr('href')?'active':'';$carousel+='<li data-target="#aui-embed-slider-modal" data-slide-to="'+$i+'" class="'+$active+'"></li>';$i++});$carousel+='</ol>'}$i=0;$carousel+='<div class="carousel-inner">';$container.find('.aui-lightbox-image').each(function(){var a=this;$active=$clicked_href==jQuery(this).attr('href')?'active':'';$carousel+='<div class="carousel-item '+$active+'"><div>';var css_height=window.innerWidth>window.innerHeight?'90vh':'auto';var img=jQuery(a).find('img').clone().removeClass().addClass('mx-auto d-block w-auto mw-100 rounded').css('height',css_height).get(0).outerHTML;$carousel+=img;if(jQuery(a).parent().find('.carousel-caption').length){$carousel+=jQuery(a).parent().find('.carousel-caption').clone().removeClass('sr-only').get(0).outerHTML}$carousel+='</div></div>';$i++});$container.find('.aui-lightbox-iframe').each(function(){var a=this;$active=$clicked_href==jQuery(this).attr('href')?'active':'';$carousel+='<div class="carousel-item '+$active+'"><div class="modal-xl mx-auto embed-responsive embed-responsive-16by9">';var css_height=window.innerWidth>window.innerHeight?'95vh':'auto';var url=jQuery(a).attr('href');var iframe='<iframe class="embed-responsive-item" style="height:'+css_height+'" src="'+url+'?rel=0&showinfo=0&modestbranding=1&autoplay=1" id="video" allow="autoplay"></iframe>';var img=iframe;$carousel+=img;$carousel+='</div></div>';$i++});$carousel+='</div>';if($images.length>1){$carousel+='<a class="carousel-control-prev" href="#aui-embed-slider-modal" role="button" data-slide="prev">';$carousel+='<span class="carousel-control-prev-icon" aria-hidden="true"></span>';$carousel+=' <a class="carousel-control-next" href="#aui-embed-slider-modal" role="button" data-slide="next">';$carousel+='<span class="carousel-control-next-icon" aria-hidden="true"></span>';$carousel+='</a>'}$carousel+='</div>';var $close='<button type="button" class="close text-white text-right position-fixed" style="font-size: 2.5em;right: 20px;top: 10px; z-index: 1055;" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>';jQuery('.aui-carousel-modal .modal-content').html($carousel).prepend($close)}}function aui_init_lightbox_embed(){jQuery('.aui-lightbox-image, .aui-lightbox-iframe').off('click').on("click",function(ele){aui_lightbox_embed(this,ele)})}$aui_doing_toast=false;function aui_toast($id,$type,$title,$title_small,$body,$time,$can_close){if($aui_doing_toast){setTimeout(function(){aui_toast($id,$type,$title,$title_small,$body,$time,$can_close)},500);return}$aui_doing_toast=true;if($can_close==null){$can_close=false}if($time==''||$time==null){$time=3000}if(document.getElementById($id)){jQuery('#'+$id).toast('show');setTimeout(function(){$aui_doing_toast=false},500);return}var uniqid=Date.now();if($id){uniqid=$id}$op="";$tClass='';$thClass='';$icon="";if($type=='success'){$op="opacity:.92;";$tClass='alert alert-success';$thClass='bg-transparent border-0 alert-success';$icon="<div class='h5 m-0 p-0'><i class='fas fa-check-circle mr-2'></i></div>"}else if($type=='error'||$type=='danger'){$op="opacity:.92;";$tClass='alert alert-danger';$thClass='bg-transparent border-0 alert-danger';$icon="<div class='h5 m-0 p-0'><i class='far fa-times-circle mr-2'></i></div>"}else if($type=='info'){$op="opacity:.92;";$tClass='alert alert-info';$thClass='bg-transparent border-0 alert-info';$icon="<div class='h5 m-0 p-0'><i class='fas fa-info-circle mr-2'></i></div>"}else if($type=='warning'){$op="opacity:.92;";$tClass='alert alert-warning';$thClass='bg-transparent border-0 alert-warning';$icon="<div class='h5 m-0 p-0'><i class='fas fa-exclamation-triangle mr-2'></i></div>"}if(!document.getElementById("aui-toasts")){jQuery('body').append('<div class="bsui" id="aui-toasts"><div class="position-fixed aui-toast-bottom-right pr-3 mb-1" style="z-index: 500000;right: 0;bottom: 0;'+$op+'"></div></div>')}$toast='<div id="'+uniqid+'" class="toast fade hide shadow hover-shadow '+$tClass+'" style="" role="alert" aria-live="assertive" aria-atomic="true" data-delay="'+$time+'">';if($type||$title||$title_small){$toast+='<div class="toast-header '+$thClass+'">';if($icon){$toast+=$icon}if($title){$toast+='<strong class="mr-auto">'+$title+'</strong>'}if($title_small){$toast+='<small>'+$title_small+'</small>'}if($can_close){$toast+='<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"><span aria-hidden="true">×</span></button>'}$toast+='</div>'}if($body){$toast+='<div class="toast-body">'+$body+'</div>'}$toast+='</div>';jQuery('.aui-toast-bottom-right').prepend($toast);jQuery('#'+uniqid).toast('show');setTimeout(function(){$aui_doing_toast=false},500)}function aui_init(){init_nav_sub_menus();aui_init_tooltips();aui_init_select2();aui_init_flatpickr();aui_init_iconpicker();aui_init_greedy_nav();aui_time_ago('timeago');aui_init_carousel_multiple_items();aui_init_lightbox_embed()}jQuery(window).on("load",function(){aui_init()});jQuery(function($){var ua=navigator.userAgent.toLowerCase();var isiOS=ua.match(/(iphone|ipod|ipad)/);if(isiOS){var pS=0;pM=parseFloat($('body').css('marginTop'));$(document).on('show.bs.modal',function(){pS=window.scrollY;$('body').css({marginTop:-pS,overflow:'hidden',position:'fixed',})}).on('hidden.bs.modal',function(){$('body').css({marginTop:pM,overflow:'visible',position:'inherit',});window.scrollTo(0,pS)})}});var aui_confirm=function(message,okButtonText,cancelButtonText,isDelete,large){okButtonText=okButtonText||'Yes';cancelButtonText=cancelButtonText||'Cancel';message=message||'Are you sure?';sizeClass=large?'':'modal-sm';btnClass=isDelete?'btn-danger':'btn-primary';deferred=jQuery.Deferred();var $body="";$body+="<h3 class='h4 py-3 text-center text-dark'>"+message+"</h3>";$body+="<div class='d-flex'>";$body+="<button class='btn btn-outline-secondary w-50 btn-round' data-dismiss='modal' onclick='deferred.resolve(false);'>"+cancelButtonText+"</button>";$body+="<button class='btn "+btnClass+" ml-2 w-50 btn-round' data-dismiss='modal' onclick='deferred.resolve(true);'>"+okButtonText+"</button>";$body+="</div>";$modal=aui_modal('',$body,'',false,'',sizeClass);return deferred.promise()} </script> <script type='text/javascript' id='addtoany-core-js-before'> window.a2a_config=window.a2a_config||{};a2a_config.callbacks=[];a2a_config.overlays=[];a2a_config.templates={}; </script> <script type='text/javascript' defer src='https://static.addtoany.com/menu/page.js' id='addtoany-core-js'></script> <script type='text/javascript' defer src='https://d2x67q1m9cxoc8.cloudfront.net/add-to-any/addtoany.min.js?ver=1.1' id='addtoany-jquery-js'></script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/amazon-polly/public/js/amazonpolly-public.js?ver=1.0.0' id='amazonpolly-js'></script> <script type='text/javascript' id='geodir-js-extra'> /* <![CDATA[ */ var geodir_event_params = {"text_to":"to","input_date_format":"Y-m-d","display_date_format":"F j, Y","jqueryui_date_format":"yy-mm-dd","week_start_day":"1","monthsArray":"[\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]","calendar_params":""}; var geodir_search_params = {"geodir_advanced_search_plugin_url":"https:\/\/d2x67q1m9cxoc8.cloudfront.net\/geodir_advance_search_filters","geodir_admin_ajax_url":"https:\/\/www.vpa.net\/wp-admin\/admin-ajax.php","request_param":"{\"geo_url\":\"is_location\"}","msg_Near":"Near:","default_Near":"Near","msg_Me":"Me","unom_dist":"miles","autocomplete_field_name":"s","geodir_enable_autocompleter":"1","search_suggestions_with":"","geodir_location_manager_active":"1","msg_User_defined":"User defined","ask_for_share_location":"","geodir_autolocate_ask":"","geodir_autolocate_ask_msg":"Do you wish to be geolocated to listings near you?","UNKNOWN_ERROR":"Unable to find your location.","PERMISSION_DENINED":"Permission denied in finding your location.","POSITION_UNAVAILABLE":"Your location is currently unknown.","BREAK":"Attempt to find location took too long.","GEOLOCATION_NOT_SUPPORTED":"Geolocation is not supported by this browser.","DEFAUTL_ERROR":"Browser unable to find your location.","text_more":"More","text_less":"Less","msg_In":"In:","txt_in_country":"(Country)","txt_in_region":"(Region)","txt_in_city":"(City)","txt_in_hood":"(Neighbourhood)","compass_active_color":"#087CC9","onload_redirect":"no","onload_askRedirect":"","onload_redirectLocation":"","autocomplete_min_chars":"3","autocompleter_max_results":"10","autocompleter_filter_location":"1","time_format":"g:i a","am_pm":"[\"am\", \"AM\", \"pm\", \"PM\"]","open_now_format":"{label}, {time}"}; var geodir_location_params = {"geodir_location_admin_url":"https:\/\/www.vpa.net\/wp-admin\/admin.php","geodir_location_plugin_url":"https:\/\/d2x67q1m9cxoc8.cloudfront.net\/geodir_location_manager","ajax_url":"https:\/\/www.vpa.net\/wp-admin\/admin-ajax.php","select_merge_city_msg":"Please select merge city.","confirm_set_default":"Are sure you want to make this city default?","LISTING_URL_PREFIX":"Please enter listing url prefix","LISTING_URL_PREFIX_INVALID_CHAR":"Invalid character in listing url prefix","LOCATION_URL_PREFIX":"Please enter location url prefix","LOCATOIN_PREFIX_INVALID_CHAR":"Invalid character in location url prefix","LOCATION_CAT_URL_SEP":"Please enter location and category url separator","LOCATION_CAT_URL_SEP_INVALID_CHAR":"Invalid character in location and category url separator","LISTING_DETAIL_URL_SEP":"Please enter listing detail url separator","LISTING_DETAIL_URL_SEP_INVALID_CHAR":"Invalid character in listing detail url separator","LOCATION_PLEASE_WAIT":"Please wait...","LOCATION_CHOSEN_NO_RESULT_TEXT":"Sorry, nothing found!","LOCATION_CHOSEN_KEEP_TYPE_TEXT":"Please wait...","LOCATION_CHOSEN_LOOKING_FOR_TEXT":"We are searching for","select_location_translate_msg":"Please select country to update translation.","select_location_translate_confirm_msg":"Are you sure?","gd_text_search_city":"Search City","gd_text_search_region":"Search Region","gd_text_search_country":"Search Country","gd_text_search_location":"Search location","gd_base_location":"https:\/\/www.vpa.net\/location\/","UNKNOWN_ERROR":"Unable to find your location.","PERMISSION_DENINED":"Permission denied in finding your location.","POSITION_UNAVAILABLE":"Your location is currently unknown.","BREAK":"Attempt to find location took too long.","DEFAUTL_ERROR":"Browser unable to find your location.","msg_Near":"Near:","msg_Me":"Me","msg_User_defined":"User defined","confirm_delete_location":"Deleting location will also DELETE any LISTINGS in this location. Are you sure want to DELETE this location?","confirm_delete_neighbourhood":"Are you sure you want to delete this neighbourhood?","delete_bulk_location_select_msg":"Please select at least one location.","neighbourhood_is_active":"","text_In":"In:","autocompleter_min_chars":"0","disable_nearest_cities":""}; var geodir_params = {"siteurl":"https:\/\/www.vpa.net","plugin_url":"https:\/\/d2x67q1m9cxoc8.cloudfront.net\/geodirectory","ajax_url":"https:\/\/www.vpa.net\/wp-admin\/admin-ajax.php","gd_modal":"0","is_rtl":"0","basic_nonce":"611ed9600f","text_add_fav":"Add to Favorites","text_fav":"Favorite","text_remove_fav":"Remove from Favorites","text_unfav":"Unfavorite","icon_fav":"fas fa-heart","icon_unfav":"fas fa-heart","api_url":"https:\/\/www.vpa.net\/wp-json\/geodir\/v2\/","location_base_url":"https:\/\/www.vpa.net\/location\/","location_url":"https:\/\/www.vpa.net\/location\/","search_base_url":"https:\/\/www.vpa.net\/search\/","custom_field_not_blank_var":"Field label must not be blank","custom_field_not_special_char":"Please do not use special character and spaces in field key Variable Name.","custom_field_unique_name":"Field key must be unique.","custom_field_delete":"Are you sure you wish to delete this field?","custom_field_delete_children":"You must move or remove child elements first.","tax_meta_class_succ_del_msg":"File has been successfully deleted.","tax_meta_class_not_permission_to_del_msg":"You do NOT have permission to delete this file.","tax_meta_class_order_save_msg":"Order saved!","tax_meta_class_not_permission_record_img_msg":"You do not have permission to reorder images.","address_not_found_on_map_msg":"Address not found for:","my_place_listing_del":"Are you sure you wish to delete this listing?","confirmPostAuthorAction":"Are you sure you wish to perform this action?","my_main_listing_del":"Deleting the main listing of a franchise will turn all franchises in regular listings. Are you sure wish to delete this main listing?","rating_error_msg":"Error : please retry","listing_url_prefix_msg":"Please enter listing url prefix","invalid_listing_prefix_msg":"Invalid character in listing url prefix","location_url_prefix_msg":"Please enter location url prefix","invalid_location_prefix_msg":"Invalid character in location url prefix","location_and_cat_url_separator_msg":"Please enter location and category url separator","invalid_char_and_cat_url_separator_msg":"Invalid character in location and category url separator","listing_det_url_separator_msg":"Please enter listing detail url separator","invalid_char_listing_det_url_separator_msg":"Invalid character in listing detail url separator","loading_listing_error_favorite":"Error loading listing.","field_id_required":"This field is required.","valid_email_address_msg":"Please enter valid email address.","default_marker_icon":"http:\/\/geodirectory-live.our-hometown.com\/geodirectory\/assets\/images\/pin.png","default_marker_w":"20","default_marker_h":"34","latitude_error_msg":"A numeric value is required. Please make sure you have either dragged the marker or clicked the button: Set Address On Map","longgitude_error_msg":"A numeric value is required. Please make sure you have either dragged the marker or clicked the button: Set Address On Map","gd_cmt_btn_post_reply":"Post Reply","gd_cmt_btn_reply_text":"Reply text","gd_cmt_btn_post_review":"Post Review","gd_cmt_btn_review_text":"Review text","gd_cmt_err_no_rating":"Please select star rating, you can't leave a review without stars.","err_max_file_size":"File size error : You tried to upload a file over %s","err_file_upload_limit":"You have reached your upload limit of %s files.","err_pkg_upload_limit":"You may only upload %s files with this package, please try again.","action_remove":"Remove","txt_all_files":"Allowed files","err_file_type":"File type error. Allowed file types: %s","gd_allowed_img_types":"jpg,jpeg,jpe,gif,png,webp","txt_form_wait":"Wait...","txt_form_searching":"Searching...","txt_form_my_location":"My Location","rating_type":"fa","reviewrating":"","multirating":"","map_name":"google","osmStart":"Start","osmVia":"Via {viaNumber}","osmEnd":"Enter Your Location","osmPressEnter":"Press Enter key to search","geoMyLocation":"My Location","geoErrUNKNOWN_ERROR":"Unable to find your location","geoErrPERMISSION_DENINED":"Permission denied in finding your location","geoErrPOSITION_UNAVAILABLE":"Your location is currently unknown","geoErrBREAK":"Attempt to find location took too long","geoErrDEFAULT":"Location detection not supported in browser","i18n_set_as_default":"Set as default","i18n_no_matches":"No matches found","i18n_ajax_error":"Loading failed","i18n_input_too_short_1":"Please enter 1 or more characters","i18n_input_too_short_n":"Please enter %item% or more characters","i18n_input_too_long_1":"Please delete 1 character","i18n_input_too_long_n":"Please delete %item% characters","i18n_selection_too_long_1":"You can only select 1 item","i18n_selection_too_long_n":"You can only select %item% items","i18n_load_more":"Loading more results\u2026","i18n_searching":"Searching\u2026","txt_choose_image":"Choose an image","txt_use_image":"Use image","img_spacer":"https:\/\/www.vpa.net\/wp-admin\/images\/media-button-image.gif","txt_post_review":"Post Review","txt_post_reply":"Post reply","txt_leave_a_review":"Leave a Review","txt_leave_a_reply":"Leave a reply","txt_reply_text":"Reply text","txt_review_text":"Review text","txt_read_more":"Read more","txt_about_listing":"about this listing","txt_open_now":"Open now","txt_closed_now":"Closed now","txt_closed_today":"Closed today","txt_closed":"Closed","txt_single_use":"This field is single use only and is already being used.","txt_page_settings":"Page selections should not be the same, please correct the issue to continue.","txt_save_other_setting":"Please save the current setting before adding a new one.","txt_previous":"Previous","txt_next":"Next","txt_lose_changes":"You may lose changes if you navigate away now!","txt_are_you_sure":"Are you sure?","txt_saving":"Saving...","txt_saved":"Saved","txt_order_saved":"Order saved","txt_preview":"Preview","txt_edit":"Edit","txt_delete":"Delete","txt_cancel":"Cancel","txt_confirm":"Confirm","txt_continue":"Continue","txt_yes":"Yes","txt_deleted":"Deleted","txt_google_key_error":"Google API key Error","txt_documentation":"Documentation","txt_google_key_verifying":"Verifying API Key","txt_google_key_enable_billing":"Enable Billing","txt_google_key_error_project":"Key invalid, you might have entered the project number instead of the API key","txt_google_key_error_invalid":"Key invalid, please double check you have entered it correctly","txt_google_key_error_referer":"This URL is not allowed for this API Key","txt_google_key_error_billing":"You must enable billing on your Google account.","txt_google_key_error_brave":"Brave browser shield will block this check and return a false positive","confirm_new_wp_template":"Are you sure want to create a new template to customize?","gmt_offset":"+0:00","timezone_string":"UTC","autosave":"10000","search_users_nonce":"d1091ca2a4","google_api_key":"AIzaSyChzyXKthcX3dhro57sSTTpuSWK90MBgTg","mapLanguage":"en","osmRouteLanguage":"en","markerAnimation":"bounce","confirm_set_location":"Would you like to manually set your location?","confirm_lbl_error":"ERROR:","label_title":"Title","label_caption":"Caption","button_set":"Set","BH_altTimeFormat":"h:i K","time_ago":{"prefix_ago":"","suffix_ago":" ago","prefix_after":"after ","suffix_after":"","seconds":"less than a minute","minute":"about a minute","minutes":"%d minutes","hour":"about an hour","hours":"about %d hours","day":"a day","days":"%d days","month":"about a month","months":"%d months","year":"about a year","years":"%d years"},"resize_marker":"","marker_max_width":"50","marker_max_height":"50","marker_cluster_size":"50","marker_cluster_zoom":"8","imagePath":"https:\/\/d2x67q1m9cxoc8.cloudfront.net\/geodir_marker_cluster\/assets\/images\/m"}; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/geodirectory/assets/aui/js/geodirectory.min.js?ver=2.2.5' id='geodir-js'></script> <script type='text/javascript' id='geodir-js-after'> document.addEventListener("DOMContentLoaded", function() { //setup advanced search form on load geodir_search_setup_advance_search(); //setup advanced search form on form ajax load jQuery("body").on("geodir_setup_search_form", function() { geodir_search_setup_advance_search(); }); if (jQuery('.geodir-search-container form').length) { geodir_search_setup_searched_filters(); } /* Refresh Open Now time */ if (jQuery('.geodir-search-container select[name="sopen_now"]').length) { setInterval(function(e) { geodir_search_refresh_open_now_times(); }, 60000); geodir_search_refresh_open_now_times(); } }); function geodir_search_setup_advance_search() { jQuery('.geodir-search-container.geodir-advance-search-searched').each(function() { var $this = this; if (jQuery($this).attr('data-show-adv') == 'search') { jQuery('.geodir-show-filters', $this).trigger('click'); } }); jQuery('.geodir-more-filters', '.geodir-filter-container').each(function() { var $cont = this; var $form = jQuery($cont).closest('form'); var $adv_show = jQuery($form).closest('.geodir-search-container').attr('data-show-adv'); if ($adv_show == 'always' && typeof jQuery('.geodir-show-filters', $form).html() != 'undefined') { jQuery('.geodir-show-filters', $form).remove(); if (!jQuery('.geodir-more-filters', $form).is(":visible")) { jQuery('.geodir-more-filters', $form).slideToggle(500); } } }); } function geodir_search_setup_searched_filters() { jQuery('.gd-adv-search-labels .gd-adv-search-label').on('click', function(e) { var $this = jQuery(this), $form = jQuery('.geodir-search-container form'), name, to_name, name = $this.data('name'); to_name = $this.data('names'); if ((typeof name != 'undefined' && name) || $this.hasClass('gd-adv-search-near')) { if ($this.hasClass('gd-adv-search-near')) { name = 'snear'; // if we are clearing the near then we need to clear up a few more things jQuery('.sgeo_lat,.sgeo_lon,.geodir-location-search-type', $form).val(''); } geodir_search_deselect(jQuery('[name="' + name + '"]', $form)); if (typeof to_name != 'undefined' && to_name) { geodir_search_deselect(jQuery('[name="' + to_name + '"]', $form)); } jQuery('.geodir_submit_search', $form).trigger('click'); } }); } function geodir_search_refresh_open_now_times() { jQuery('.geodir-search-container select[name="sopen_now"]').each(function() { geodir_search_refresh_open_now_time(jQuery(this)); }); } function geodir_search_refresh_open_now_time($this) { var $option = $this.find('option[value="now"]'), label, value, d, date_now, time, $label, open_now_format = geodir_search_params.open_now_format; if ($option.length && open_now_format) { if ($option.data('bkp-text')) { label = $option.data('bkp-text'); } else { label = $option.text(); $option.attr('data-bkp-text', label); } d = new Date(); date_now = d.getFullYear() + '-' + (("0" + (d.getMonth()+1)).slice(-2)) + '-' + (("0" + (d.getDate())).slice(-2)) + 'T' + (("0" + (d.getHours())).slice(-2)) + ':' + (("0" + (d.getMinutes())).slice(-2)) + ':' + (("0" + (d.getSeconds())).slice(-2)); time = geodir_search_format_time(d); open_now = geodir_search_params.open_now_format; open_now = open_now.replace("{label}", label); open_now = open_now.replace("{time}", time); $option.text(open_now); $option.closest('select').data('date-now',date_now); /* Searched label */ $label = jQuery('.gd-adv-search-open_now .gd-adv-search-label-t'); if (jQuery('.gd-adv-search-open_now').length && jQuery('.gd-adv-search-open_now').data('value') == 'now') { if ($label.data('bkp-text')) { label = $label.data('bkp-text'); } else { label = $label.text(); $label.attr('data-bkp-text', label); } open_now = geodir_search_params.open_now_format; open_now = open_now.replace("{label}", label); open_now = open_now.replace("{time}", time); $label.text(open_now); } } } function geodir_search_format_time(d) { var format = geodir_search_params.time_format, am_pm = eval(geodir_search_params.am_pm), hours, aL, aU; hours = d.getHours(); if (hours < 12) { aL = 0; aU = 1; } else { hours = hours > 12 ? hours - 12 : hours; aL = 2; aU = 3; } time = format.replace("g", hours); time = time.replace("G", (d.getHours())); time = time.replace("h", ("0" + hours).slice(-2)); time = time.replace("H", ("0" + (d.getHours())).slice(-2)); time = time.replace("i", ("0" + (d.getMinutes())).slice(-2)); time = time.replace("s", ''); time = time.replace("a", am_pm[aL]); time = time.replace("A", am_pm[aU]); return time; } function geodir_search_deselect(el) { var fType = jQuery(el).prop('type'); switch (fType) { case 'checkbox': case 'radio': jQuery(el).prop('checked', false); break; } jQuery(el).val(''); } </script> <script type='text/javascript' id='geodir-cp-js-extra'> /* <![CDATA[ */ var geodir_cp_params = {"aui":"bootstrap"}; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/geodir_custom_posts/assets/js/script.min.js?ver=2.2' id='geodir-cp-js'></script> <script type='text/javascript' id='geodir-pricing-js-extra'> /* <![CDATA[ */ var geodir_pricing_params = []; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/geodir_payment_manager/assets/js/common.min.js?ver=2.6.3' id='geodir-pricing-js'></script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/oht_ads/js/oht_ad_heightCap.js?ver=5.8.4' id='oht_ad_heightCap-js-js'></script> <script type='text/javascript' src='https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.bundle.min.js?ver=5.0.0' id='bootstrap-js'></script> <script type='text/javascript' src='https://www.vpa.net/wp-content/themes/dolores/assets/js/ajax-slider-extra-wide.js?ver=1' id='ajax-slider-extra-wide-js'></script> <script type='text/javascript' id='cookie-notice-front-js-extra'> /* <![CDATA[ */ var cnArgs = {"ajaxUrl":"https:\/\/www.vpa.net\/wp-admin\/admin-ajax.php","nonce":"48d0e206a9","hideEffect":"fade","position":"bottom","onScroll":"0","onScrollOffset":"100","onClick":"0","cookieName":"cookie_notice_accepted","cookieTime":"2592000","cookieTimeRejected":"2592000","cookiePath":"\/","cookieDomain":"","redirection":"0","cache":"1","refuse":"0","revokeCookies":"0","revokeCookiesOpt":"automatic","secure":"1"}; /* ]]> */ </script> <script async type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/cookie-notice/includes/../js/front.min.js?ver=2.2.3' id='cookie-notice-front-js'></script> <link rel="https://api.w.org/" href="https://www.vpa.net/wp-json/" /><link rel="alternate" type="application/json" href="https://www.vpa.net/wp-json/wp/v2/pages/17" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.vpa.net/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.vpa.net/wp-includes/wlwmanifest.xml" /> <link rel='shortlink' href='https://www.vpa.net/' /> <link rel="alternate" type="application/json+oembed" href="https://www.vpa.net/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.vpa.net%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://www.vpa.net/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.vpa.net%2F&format=xml" /> <!-- This site is using AdRotate Professional v5.12 to display their advertisements - https://ajdg.solutions/ --> <!-- AdRotate CSS --> <style type="text/css" media="screen"> .g { margin:0px; padding:0px; overflow:hidden; line-height:1; zoom:1; } .g img { height:auto; } .g-col { position:relative; float:left; } .g-col:first-child { margin-left: 0; } .g-col:last-child { margin-right: 0; } .woocommerce-page .g, .bbpress-wrapper .g { margin: 20px auto; clear:both; } @media only screen and (max-width: 480px) { .g-col, .g-dyn, .g-single { width:100%; margin-left:0; margin-right:0; } .woocommerce-page .g, .bbpress-wrapper .g { margin: 10px auto; } } </style> <!-- /AdRotate CSS --> <style type="text/css"> .mpcs-classroom .nav-back i, .mpcs-classroom .navbar-section a.btn, .mpcs-classroom .navbar-section a, .mpcs-classroom .navbar-section button, .mpcs-classroom div#mpcs-lesson-navigation button { color: rgba() !important; } .mpcs-classroom .navbar-section .dropdown .menu a { color: rgba() !important; } .mpcs-classroom .mpcs-progress-ring { background-color: rgba(232, 158, 32) !important; } .mpcs-classroom .mpcs-course-filter .dropdown .btn span, .mpcs-classroom .mpcs-course-filter .dropdown .btn i, .mpcs-classroom .mpcs-course-filter .input-group .input-group-btn, .mpcs-classroom .mpcs-course-filter .input-group .mpcs-search, .mpcs-classroom .mpcs-course-filter .input-group input[type=text], .mpcs-classroom .mpcs-course-filter .dropdown a, .mpcs-classroom .pagination, .mpcs-classroom .pagination i, .mpcs-classroom .pagination a { color: rgba() !important; border-color: rgba() !important; } /* body.mpcs-classroom a{ color: rgba(); } */ #mpcs-navbar, #mpcs-navbar button#mpcs-classroom-previous-lesson-link, #mpcs-navbar button#mpcs-classroom-previous-lesson-link:hover, .mpcs-classroom div#mpcs-lesson-navigation button#previous_lesson_link, .mpcs-classroom div#mpcs-lesson-navigation button#previous_lesson_link:hover { background: rgba(221, 51, 51); } .course-progress .user-progress, .btn-green, #mpcs-navbar button:not(#mpcs-classroom-previous-lesson-link), .mpcs-classroom div#mpcs-lesson-navigation button:not(#previous_lesson_link), .mpcs-classroom #mpcs-quiz-navigation button:focus, .mpcs-classroom #mpcs-quiz-navigation button:hover { background: rgba(232, 158, 32, 0.9); } .btn-green:hover, #mpcs-navbar button:not(#mpcs-classroom-previous-lesson-link):focus, #mpcs-navbar button:not(#mpcs-classroom-previous-lesson-link):hover, .mpcs-classroom div#mpcs-lesson-navigation button:not(#previous_lesson_link):focus, .mpcs-classroom div#mpcs-lesson-navigation button:not(#previous_lesson_link):hover, .mpcs-classroom #mpcs-quiz-navigation button { background: rgba(232, 158, 32); } .btn-green{border: rgba(232, 158, 32)} .course-progress .progress-text, .mpcs-lesson i.mpcs-circle-regular { color: rgba(232, 158, 32); } #mpcs-main #bookmark, .mpcs-lesson.current{background: rgba(232, 158, 32, 0.3)} .mpcs-instructor .tile-subtitle{ color: rgba(232, 158, 32, 1); } .mpcs-classroom .mpcs-quiz-question-feedback { border-top-color: rgba(232, 158, 32, 1); border-bottom-color: rgba(232, 158, 32, 1); } </style> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <script type='text/javascript'> SG_POPUPS_QUEUE = []; SG_POPUP_DATA = []; SG_APP_POPUP_URL = 'https://d2x67q1m9cxoc8.cloudfront.net/popup-builder-platinum'; SG_POPUP_VERSION='3.372_4;'; function sgAddEvent(element, eventName, fn) { if (element.addEventListener) element.addEventListener(eventName, fn, false); else if (element.attachEvent) element.attachEvent('on' + eventName, fn); } </script><script type="text/javascript">SG_POPUPS_QUEUE = ["14","11","5"];</script> <style> .getpaid-price-buttons label{ transition: all .3s ease-out; text-align: center; padding: 10px 20px; background-color: #eeeeee; border: 1px solid #e0e0e0; } .getpaid-price-circles label { padding: 0 4px; -moz-border-radius:50%; -webkit-border-radius: 50%; border-radius: 50%; } .getpaid-price-circles label span{ display: block; padding: 50%; margin: -3em -50% 0; position: relative; top: 1.5em; border: 1em solid transparent; white-space: nowrap; } .getpaid-price-buttons input[type="radio"]{ visibility: hidden; height: 0; width: 0; } .getpaid-price-buttons input[type="radio"]:checked + label, .getpaid-price-buttons label:hover { color: #fff; background-color: #1e73be; border-color: #1e73be; } .getpaid-public-items-archive-single-item .inner { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); } .getpaid-public-items-archive-single-item:hover .inner{ box-shadow: 0 1px 4px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.30); } .wp-block-getpaid-public-items-getpaid-public-items-loop .item-name { font-size: 1.3rem; } .getpaid-subscription-item-actions { color: #ddd; font-size: 13px; padding: 2px 0 0; position: relative; left: -9999em; } .getpaid-subscriptions-table-row:hover .getpaid-subscription-item-actions { position: static; } .getpaid-subscriptions table { font-size: 0.9em; table-layout: fixed; } .getpaid-subscriptions-table-column-subscription { font-weight: 500; } .getpaid-subscriptions-table-row span.label { font-weight: 500; } .getpaid-subscriptions.bsui .table-bordered thead th { border-bottom-width: 1px; } .getpaid-subscriptions.bsui .table-striped tbody tr:nth-of-type(odd) { background-color: rgb(0 0 0 / 0.01); } .wpinv-page .bsui a.btn { text-decoration: none; } .getpaid-cc-card-inner { max-width: 460px; } .getpaid-payment-modal-close { position: absolute; top: 0; right: 0; z-index: 200; } .getpaid-form-cart-item-price { min-width: 120px !important; } /* Fabulous Fluid theme fix */ #primary .getpaid-payment-form p { float: none !important; } .bsui .is-invalid ~ .invalid-feedback, .bsui .is-invalid ~ .invalid-tooltip { display: block } .bsui .is-invalid { border-color: #dc3545 !important; } </style> <style type='text/css'> .oht-menu--clem { background: #ffffff; } .oht-menu--utility-left a { color: #444444; } </style> <style type='text/css'> body { background:#fcfcfc}.wrapper { background-color:#ffffff}p { color:#444444}a { color:#000000}.oht-menu-container--main li a, .current-item a, .oht-menu--mobile, body.oht-nav-fixed .oht-menu-container--main a { color:#ffffff}.oht-menu-container--main ul, .oht-menu--mobile, body.oht-nav-fixed .oht-menu-container--main { background:#ef403d}.oht-menu-container--main li a:hover, .oht-menu--mobile:hover { color:#ffffff}.oht-menu-container--main li:hover a { background:#ef8583}.oht-menu--secondary li a { color:#000000}.oht-menu--secondary { background:}.oht-menu--secondary li a:hover { color:}.oht-menu--secondary li:hover a { background:}h2.widget-title { background:}.oht-article p.breaking-news, .breaking-news { background:}.footer-container { background:#00111e}h1 { color:#222222}h2 { color:#222222}h3 { color:#222222}h4 { color:#222222}.oht-free-access { background-color:}.oht-free-access { color:} </style> <style type='text/css'> .oht-menu a, .oht-menu--mobile a, .utility-nav li a { font-family: 'Oswald' !important; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .oht-article h3 a, .oht-article p.oht-article-meta, .entry-title { font-family: 'Oswald' !important; } </style> <meta name="description" content="" /><!-- Google tag (gtag.js) --> <script async src=https://www.googletagmanager.com/gtag/js?id=G-K44S4HEN1H></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-K44S4HEN1H'); </script> <link rel="icon" href="https://www.vpa.net/wp-content/uploads/2022/09/cropped-square-vpa-logo-32x32.png" sizes="32x32" /> <link rel="icon" href="https://www.vpa.net/wp-content/uploads/2022/09/cropped-square-vpa-logo-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://www.vpa.net/wp-content/uploads/2022/09/cropped-square-vpa-logo-180x180.png" /> <meta name="msapplication-TileImage" content="https://www.vpa.net/wp-content/uploads/2022/09/cropped-square-vpa-logo-270x270.png" /> <style type="text/css" id="wp-custom-css"> /* CUSTOM CSS */ html, body { overflow-x: hidden; font-family: "Arial", sans-serif !important; } a:link, a:visited { color: #000; text-decoration: none !important; transition: all ease-in-out 300ms; } a:hover, a:active { color: #ef403d; transition: all ease-in-out 300ms; } .sub-menu li a:link, .sub-menu li a:visited { color: #000 !important; background-color: #eee !important; transition: all ease-in-out 300ms; } .sub-menu li a:hover, .sub-menu li a:active { color: #fff !important; background-color: #ef403d !important; transition: all ease-in-out 300ms; } .widget-title { border-bottom: 1px solid #EEE; line-height: 40px; width: 100%; background: none !important; color: #444 !important; margin-top: 0px; padding: 3px 10px; } .edit_order { font-weight: normal; padding: 10px; } .edit_order a { font-size: 12px; color: #888 !important; } #hero-widgets { margin-top: 10px; } .oht-trending__thumb { background-position: center center; } /* HEADER & MENU */ .oht-show-logo .oht-menu--utility-left, .oht-show-logo .oht-menu--utility-right { opacity: 1; pointer-events: auto; } .oht-menu--clem { height: 90px; border-bottom: 1px solid #eee; box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.4); } @media only screen and (min-width: 1025px){ .oht-logo--clem { opacity: 1; top: 15px; left: 115px; pointer-events: auto; -webkit-transition: opacity 300ms ease; transition: opacity 300ms ease; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .oht-logo--clem img { position: relative; padding-top: 5px; max-height: 55px !important; } } @media only screen and (max-width: 768px) { .oht-menu--clem { height: 75px; } .oht-logo--clem { margin-top: 10px !important; width: 60%; margin-bottom: 15px; } } .search-form input[type="search"] { line-height: 34px; } button.search-submit { height: 37.5px; padding: 0px; background-color: #000; } .search-form { float: right; top: 15px; } .search-submit { transition: all ease-in-out 300ms; } button.search-submit { border-radius: 1px; } .search-submit:hover { background-color: #ef403d; transition: all ease-in-out 200ms; } @media only screen and (max-width: 1024px) { .search-form { top: 2px; right: 0; height: 55px; } button.search-submit { border: 1px solid #111; border-radius: 3px; } .mobile-search-submit { padding: 7px !important; transition: all ease-in-out 300ms; } .mobile-search-submit:hover { background-color: #ef403d; transition: all ease-in-out 300ms; } button.search-submit { height: 42px; } .oht-mobile-search-active .search-form label { border-bottom: 1px solid #eee; box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.4); } } .header-container { display: none; } /* MOBILE MENU */ .hamburger-text { display: none !important; } .oht-hamburger { height: 44px; color: #fff; border-radius: 4px; background-color: #000; transition: all ease-in-out 300ms; } .oht-hamburger:hover, .oht-hamburger:focus { cursor: pointer; color: #fff; background-color: #ef403d; transition: all ease-in-out 300ms; } @media only screen and (min-width: 1025px) { .oht-hamburger { display: none; margin-top: 10px; margin-left: 0px; } } @media only screen and (max-width: 1024px) { .oht-hamburger { margin-top: 2px; margin-left: 0px; border: 1px solid #fff; border-radius: 3px; } } .oht-menu-container--flyout { padding: 40px 0; background: #eee; } .oht-menu-container--flyout li { line-height: 1.8; } .oht-menu-container--flyout li a:link, .oht-menu-container--flyout li a:visited { padding: 10px 20px; color: #000 border-top: 2px solid #fff; } .oht-menu-container--flyout li a:hover, .oht-menu-container--flyout li a:active { color: #fff; background-color: #ef403d; transition: all ease-in-out 300ms; } @media (max-width: 768px) { .oht-menu-container--flyout { width: 90%; } } @media (min-width: 769px) { .oht-menu-container--flyout { width: 35%; } } /* MOBILE MENU SUBMENUS */ .oht-menu-container--flyout .sub-menu { display: block; width: 93%; overflow: hidden; border: 3px solid #fff; } /* .oht-menu-container--flyout .sub-menu { position: absolute; top: 120%; left: 5%; margin: 0; padding: 0; width: 90%; max-height: 300px; opacity: 0; visibility: hidden; z-index: 100; overflow-y: scroll; transition: visibility 0s linear 300ms, opacity 300ms linear, top 300ms ease; background-color: #eee; } .oht-menu-container--flyout .sub-menu .sub-menu { position: absolute; top: 0; left: 100%; margin: 0; padding: 0; width: 200px; visibility: hidden; z-index: 200; transition: visibility 0s linear 300ms, opacity 300ms linear, top 300ms ease; background-color: #eee; } .oht-menu-container--flyout .sub-menu li:hover .sub-menu { visibility: visible; } */ /* LEFT UTILITY MENU */ .oht-menu--utility-left { width: 60%; margin-top: 15px; margin-left: 20%; font-size: 1em !important; font-family: "Oswald"; font-weight: 500; text-transform: uppercase; } .oht-menu.oht-menu--utility-left { line-height: 18px; } .oht-menu--utility-left a:link, .oht-menu--utility-left a:visited { color: #000; font-weight: 500; transition: all ease-in-out 300ms; } .oht-menu--utility-left a:hover, .oht-menu--utility-left a:active { color: #ef403d !important; transition: all ease-in-out 300ms; } .oht-menu--utility-left .sub-menu { z-index: 9999; top: 120%; left: 5%; width: 200px; border: 1px solid #fff; background-color: #eee !important; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); } #menu-left-utility a:hover:before { width: 100%; background: #ef403d; } #menu-left-utility a:before { content: ''; display: block; margin: auto; height: 2px; width: 0px; background: transparent; transition: width .3s ease, background-color .3s ease; } #menu-left-utility .sub-menu a:hover:after { opacity: 0; background: none !important; } /* ARTICLE WIDGETS */ .oht-widget.oht-widget--slider { margin-top: 20px; padding: 10px; background-color: #FFF; margin-bottom: 20px; } .oht-widget.oht-widget--articles { margin-top: 20px; padding: 10px; background-color: #FFF; } /* NEWSLETTER BOX */ .newsletter-box{ border-radius: 5px; margin-top: 10px; border: 1px solid #DDD; background-color: #FFF; padding: 0px; padding-top: 0px; color: #555; font-weight: bold; font-size: 12px; text-align: center; margin-bottom: 10px; } .newsletter-box h2{ border-top-left-radius: 5px; border-top-right-radius: 5px; font-size: 18px !important; color: #FFF; width: 100%; margin: 0px; padding: 20px; background-color: #ef403d; border-bottom: 0px; } .newsletter-box p{ padding: 10px; font-size: 15px; font-weight: normal; } .newsletter-box .tnp-widget { padding: 10px; } .newsletter-box label{ display: none; } .newsletter-box .tnp-field-email{ margin-top: 5px; margin-bottom: 5px; } .newsletter-box .tnp-widget input.tnp-submit { background-color: #ef403d; background-image: none; text-shadow: none; color: #fff; margin: 0; } /* ADS & MISC */ .a-single { background-color: #FFF; border-radius: 5px; } .g { margin-top: 10px; margin-bottom: 10px; } /* CUSTOM PAGES */ .oht-custom-row { position: relative; display: block; z-index: 9999 !important; } .oht-custom-row:after { position: absolute; display: block; z-index: -1; content: ''; top: 0; left: 0; height: 100%; width: 100%; background-color: rgba(0,0,0,0.4); } /* ADVERTISING PAGE */ .why-newspapers h3 { margin: 0px !important; text-align: center; } .why-newspapers .sow-icon-container { right: -50px; } @media only screen and (max-width: 768px) { .why-newspapers .sow-icon-container { display: none; } } @media only screen and (min-width: 768px) { .why-newspapers-2 { min-height: 330px; } } .why-newspapers-2 .sow-icon-container { display: none; } .what-we-offer h3 { font-size: 1.3em; font-weight: 600; } .what-we-offer i { padding-right: 10px; color: #ef403d !important; } .what-we-offer p { font-size: 1.2em; } /* SUBSCRIBE PAGE */ .logged-in-box { background-color: #EEE; padding: 10px; text-align: center; border: 1px solid #ddd; } .logged-in-box-alt { background-color: #FBFCEF; padding: 10px; text-align: center; border: 1px solid #EBECD8; } .sub-page-options h2 { font-family: "Arial", sans-serif !important; font-weight: bold; font-size: 18px; background-color: #ef403d; color: #FFF; padding: 10px; } .link_hilite a { background-color:#EAA625; color: #FFF; font-weight: bold; } .link_hilite a:hover { background-color:#1992aa; color: #FFF; font-weight: bold; } .mepr-price-menu.minimal_horizontal .mepr-price-boxes.mepr-3-col .mepr-price-box { width: 33%; margin-bottom: 10px; } .mepr-price-menu.minimal_horizontal .mepr-price-box-price { margin-top: 20px; margin-bottom: 20px; font-weight: bold; font-size: 100%; color: #222; background-color: #D4F1D7; border-radius: 15px; border: 0px solid #EEE; width: 40%; margin-left: auto; margin-right: auto; padding: 15px; } .mepr-price-menu.minimal_horizontal .mepr-price-box-heading { margin-top: 5px; font-size: 14px; font-style: italic; font-weight: bold; text-transform: uppercase; color: #eaac1c; } .mepr-price-menu.minimal_horizontal .mepr-price-box-benefits .mepr-price-box-benefits-list { margin: 10px 0; font-weight: bold; font-size: 12px; } .mepr-price-menu.minimal_horizontal .mepr-price-box-title { font-size: 20px; font-weight: bold; margin-top: 10px; margin-bottom: 10px; } .mepr-price-box-button a { display: inline-block; margin: 10px 0; padding: 10px 20px; font-weight: 300; font-size: 100%; color: white; background-color: #2a2a2a; border-radius: 5px; } .mepr-price-box-button a:hover { background-color: #ef403d; } .mepr-price-menu.minimal_horizontal.minimal_gray_horizontal .mepr-price-box { background-color: #FDFDFD; border:1px solid #dedede; margin-bottom: 10px; } .mepr-price-menu.minimal_horizontal .mepr-price-boxes.mepr-2-col{ margin-right: 0px !important; margin-left: 0px; } .mepr-price-menu.minimal_horizontal .mepr-price-boxes.mepr-2-col .mepr-price-box { width: 49.5%; } .mepr-price-box-footer{ font-size: 12px; color: red; font-style: italic; } @media (max-width: 600px) { .mepr-price-box { width: 100% !important; margin-bottom: 10px; } } @media (max-width: 800px) { .mepr-price-box { width: 100% !important; margin-bottom: 10px; } } /* Paywall Message */ .mepr-unauthorized-message{ background-color: #EEE; border: 1px solid #DDD; padding: 10px; text-align: center; } .mepr-unauthorized-message h3{ font-weight: bold !important; } .mepr-login-actions{ text-align: left !important; } .mepr-login-form-wrap{ display: none !important; } /*hide OHT bylines in article*/ .single-oht_article .byline__by, .single-oht_article .byline__author, .single-oht_article .byline__separator, .single-oht_article .byline__on { display: none; } /*hide OHT bylines in article*/ .oht_article .byline__by, .oht_article .byline__author, .oht_article .byline__separator, .oht_article .byline__on { display: none; } /* Subscription Form */ .have-coupon-link{ background-color: #222222; padding: 10px; color: #FFF; font-weight: bold; border-radius: 5px; } .mp-form-row.mepr_tos{ background-color: #EEE; padding: 10px; margin-top: 20px; border-radius: 10px; font-weight: bold; } .mepr_mepr_phone_number{ margin-bottom: 20px !important; } .mp-form-row .mepr-checkbox-field{ position:relative; top: 20px; } .mp-form-submit{ margin-top: 20px; } /* End Sub form */ /*FOOTER*/ footer p, footer a, footer{ color: #FFF; } footer ul li{ list-style-type: bullets; } footer h2.widget-title{ line-height: 16px; font-size: 16px; width: 70%; color: #FFF !important; border-bottom: 2px solid #FFF; } #coupon_get{ display: table-cell; background-color: #4d91e4; padding: 10px; border-radius: 5px; color: #FFF; } h1.widget-title{ font-family: "Oswald", sans-serif !important; text-transform: uppercase; margin-top: 25px; font-weight: 400; font-size: 30px; border: 0px; } h1.widget-title:before { display: table; height: 4px; background-color: #ef403d; content: " "; width: 70px; margin-bottom: 10px; } #mission-row{ padding-bottom: 10px; margin-bottom: 10px; background-color: #EEE; padding: 20px; margin-top: 20px; border-radius: 8px; } #about-row{ margin-top: 40px; padding: 50px 0px; } /* ARTICLE LINKS & TITLES */ .widget-title{ width: 100%; background: none !important; color: #444 !important; margin-top: 0px; text-decoration: none; font-size: 24px; font-weight: 400; font-family: "Oswald", sans-serif !important; text-transform: uppercase; } .widget-title:before { display: table; height: 4px; background-color: #ef403d; content: " "; width: 70px; margin-bottom: 5px; } .content__sidebar { padding-top: 25px; } /* NEWSLETTER BOX */ .wrapper { padding-bottom: 2px; } .newsletter-box-2 { margin: 30px auto 0px auto; padding: 50px 5px 70px; color: #fff; text-align: center; } .newsletter-box-2 h2 { margin-top: 15px; margin-bottom: 0px; color: #fff !important; font-size: 3em; font-family: "Oswald", sans-serif; } .newsletter-box-2 p { color: #fff; font-size: 1.5em; font-family: "Oswald", sans-serif; } .newsletter-box-2 form { margin: 0 auto !important; width: 100%; max-width: 500px; } .newsletter-box-2 .tnp-widget input.tnp-email { /*float: left;*/ /*width: 68%;*/ min-width: 200px; border-radius: 5px; background-color: #fff; margin-right: 2%; border: 1px solid #FFF; } .newsletter-box-2 .tnp-field-email label { display:none; } /* fix bad margin for checkbox*/ #nl3{ margin-left: -15px; } .newsletter-box-2 .tnp-widget input.tnp-submit { /*float: left;*/ /*width: 30%;*/ min-width: 100px; padding: 10px 5px; text-transform: uppercase; color: #fff; border-radius: 5px; border: 1px solid #ef403d; background-color: #ef403d; transition: all ease-in-out 200ms; } @media only screen and (max-width: 600px) { .newsletter-box-2 .tnp-widget input.tnp-email, .newsletter-box-2 .tnp-widget input.tnp-submit { float: none; width: 100%; margin: 0 auto; } } .newsletter-box-2 .tnp-widget input.tnp-submit:hover { cursor: pointer; background-color: rgb(50, 104, 145); transition: all ease-in-out 200ms; } .newsletter-box-2::after { content: ""; clear: both; display: table; } .subscribe-box-2 { border-top: 1px solid #FFF; position: relative; display: block; z-index: 9999 !important; } #panel-w608985c2a1a09-0-0-0 { margin-top: 10px; border-top: 20px solid #ef403d; } .subscribe-box-2:after { position: absolute; display: block; z-index: -1; content: ''; top: 0; left: 0; height: 100%; width: 100%; background-color: rgba(0,0,0,0.5); } .dwn-arrow { font-size: 10px; position: relative; top: -2px; } /*COVID PAGE*/ #header-row { border-bottom: 25px solid #ef403d; } .covid-links a { color: #ef403d; font-weight: bold; text-decoration: none; } .covid-links a:hover { text-decoration: underline; } /* Members PDFS*/ .member-pdf-box { padding: 10px; border-radius: 5px; background-color: #eee; } .member-pdf-box img { margin-top: 10px; } .member-pdf-box:hover img { border: 2px solid red; } /* Publications Page*/ @media only screen and (max-width: 800px) { #publications-list .sow-features-feature.sow-icon-container-position-right { text-align: center; width: 100% !important; border: 1px solid #eee; padding: 10px; margin: 5px; } } @media only screen and (min-width: 801px) { #publications-list .sow-features-feature.sow-icon-container-position-right { width: 48.5% !important; border: 1px solid #eee; padding: 20px; margin: .5%; } } #publications-list .sow-features-feature.sow-icon-container-position-right:hover { background-color: #EEE; border: 1px solid #DDD; } #publications-list .sow-features-feature.sow-icon-container-position-right a { display: block; } .tnp-field label { display:block; } /*STAFF PAGE */ #staff-row .sow-icon-image{ border-radius: 300px; } #staff-row .sow-icon-container.sow-container-round{ margin-right: 30px; } .board-row .sow-icon-image{ border-radius: 300px; } .board-row a { color: #ef403d !important; font-weight: bold !important; } /* ABOUT US */ #about-box{ background-color: #EEE; border-radius: 10px; padding: 20px; } .home .content-wrapper{ margin-bottom: 0px; } .content-wrapper { margin-bottom: 50px; } .download-button a{ padding: 10px; background-color: #ef403d; color: #FFF; font-weight: bold; } .page-id-159 .so-widget-sow-editor .widget-title:before { display: table; height: 0px; } /* MEMBERSHIP */ #membership-row .widget-title:before { display: none; height: 0px; content: ""; width: 0px; margin-bottom: 0px; } #membership-row .so-widget-sow-editor{ border-left: 3px solid #ef403d; padding-left: 10px; text-align: left; } #membership-row h2{ font-size: 18px; } /* PUBLIC NOTICES */ .page-id-156 a, .page-id-157 a{ color: #ef403d; font-weight: 600; } .page-id-156 h2 a, .page-id-157 h2 a{ color: #ef403d; font-weight: bold; } /* Geodirectory Bade fixes */ .bsui .ab-bottom-left{ position:inherit; } .geodir-addtofav-icon{ position: absolute; z-index: 1; bottom: -3px; right: 50px; } .badge { padding: .27em .65em; } /* wrapper*/ body > div.wrapper{ margin-top:10px; } #top-full-width{ margin-top:-60px; } /*mobile top full */ @media only screen and (max-width: 801px) { #pg-w6087dbfbea694-0> .panel-row-style{ padding:0!important; } #top-full-width{ margin-top:-12px; } body > div.wrapper{ margin-top:0px; } .oht-custom-row{ margin-top:-12px; } .panel-row-style{ padding: 50px!important; } } /* ARTICLES */ h1.page-title{ padding-bottom: 5px; border-bottom: 1px solid #EEE; margin-bottom: 20px; font-family: "Oswald" !important; text-transform: uppercase; } h1.page-title:before { display: table; height: 4px; background-color: #ef403d; content: " "; width: 70px; margin-bottom: 5px; } .oht-article h2 a { color: #444; font-weight: bold; } .oht-article { border-bottom: 1px dotted #EEE; } /*calendar fix side scroll */ .geodir_event_calendar{ font-size:15px; font-family: sans-serif; } /*FOOTER*/ .footer-container { padding: 2em 0; } footer .oht-logo { display: inline-block; height: 25px; width: 160; background: url("/wp-content/uploads/2021/04/OHT-logo-white-e1619705160748.png") center center/contain no-repeat; text-indent: 150px; overflow: hidden; white-space: nowrap; vertical-align: top; } footer p { font-size: 14px; color: #FFF; } footer h2.widget-title{ font-family: "Oswald", sans-serif !important; text-transform: uppercase; border-bottom: 0px; font-size: 22px; line-height: 22px; } .oht-links { padding-top: 2em; } .oht-custom-footer a:link, .oht-custom-footer a:visited { color: #fff; } .oht-custom-footer a:hover, .oht-custom-footer a:active { color: #ef403d; } /* ANIMATIONS */ /* FADE IN */ .fade-in { animation: fadeIn 2s ease-in 1s 1 forwards; -webkit-animation: fadeIn 2s ease-in 1s 1 forwards; } @keyframes fadeIn { 0% { opacity: 0; transform: scale(1); } 100% { opacity: 1; transform: scale(1.1); } } @-webkit-keyframes fadeIn { 0% { -webkit-opacity: 0; -webkit-transform:scale(1); } 100% { -webkit-opacity: 1; -webkit-transform:scale(1.1); } } /* FADE IN UP */ .fade-in-up { animation: fadeInUp 2s ease-in 0s forwards; -webkit-animation: fadeInUp 2s ease-in 0s forwards; } @keyframes fadeInUp { 0% { opacity: 0; transform:translateY(300px); } 100% { opacity: 1; transform:translateY(0); } } @-webkit-keyframes fadeInUp { 0% { -webkit-opacity: 0; -webkit-transform: translateY(300px); } 100% { -webkit-opacity: 1; -webkit-transform: translateY(0); } } /* FADE IN DOWN */ .fade-in-down { animation: fadeInDown 2s ease-in 0s forwards; -webkit-animation: fadeInDown 2s ease-in 0s forwards; } @keyframes fadeInDown { 0% { opacity: 0; transform:translateY(-300px); } 100% { opacity: 1; transform: translateY(0); } } @-webkit-keyframes fadeInDown { 0% { -webkit-opacity: 0; -webkit-transform: translateY(-300px); } 100% { -webkit-opacity: 1; -webkit-transform: translateY(0); } } /* FADE IN LEFT */ .fade-in-left { animation: fadeInLeft 2s ease-in 1s 1 forwards; -webkit-animation: fadeInLeft 2s ease-in 1s 1 forwards; } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-600px); } 100% { opacity: 1; transform:translateX(0); } } @-webkit-keyframes fadeInLeft { 0% { -webkit-opacity: 0; -webkit-transform: translateX(-600px); } 100% { -webkit-opacity: 1; -webkit-transform: translateX(0); } } /* FADE IN RIGHT */ .fade-in-right { animation: fadeInRight 2s ease-in 1s 1 forwards; -webkit-animation: fadeInRight 2s ease-in 1s 1 forwards; } @keyframes fadeInRight { 0% { opacity: 0; transform: translateX(600px); } 100% { opacity: 1; transform: translateX(0); } } @-webkit-keyframes fadeInRight { 0% { -webkit-opacity: 0; -webkit-transform: translateX(600px); } 100% { -webkit-opacity: 1; -webkit-transform: translateX(0); } } /* 2020 content page */ #pl-1149 a{ color: #ff0000!important; } /* END CUSTOM CSS */ .geodir-search-container{ background-color: #DDD; padding: 10px; margin-bottom: 20px; border-radius: 5px; } .form-group{ margin-bottom: 5px; } .geodir-search-form-wrapper.mb-3{ margin-bottom: 0px !important; } h2.fieldset-contact-information{ background-color: #E5EBFF; font-size: 18px; text-align: center; padding: 5px; margin-bottom: 0px; } .geodir_post_meta_title { font-weight: bold; } /* MEMBER MAP*/ .geodir-field-website{ text-align: center; } .geodir-field-website span{ display: none; } .geodir-field-website a{ font-size: 12px; color: #FFF; background-color: red; border-radius: 5px; padding: 10px; } .post-type-archive-gd_place .gd-search-field-search{ display: none; } .geodir-page-cpt-gd_place .gd-search-field-search{ display: none; } .gd-search-field-cpt:first-child{ display: none } /* QUOTES */ blockquote{ font-size: 16px; font-style: italic; margin: 0px 10px; } /* https://www.vpa.net/digital-initiative/ */ #digi_initiative .geodir-embed-container { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } #digi_initiative .geodir-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } @media only screen and (max-width: 600px) { #digi_initiative .geodir-embed-container iframe { position: absolute; margin-left:-25px; } } .geodir_event_calendar,.calendar_widget { min-height:244px; } /* DONATE */ .gfield_price{ background-color: #FEFEFE; border: 1px solid #eee; border-radius: 5px; padding: 10px; } </style> </head> <body class="home page-template page-template-2-col-bootstrap page-template-2-col-bootstrap-php page page-id-17 wp-embed-responsive geodir_custom_posts geodir_advance_search oht-width-- oht-search-- oht-logo-left oht-nav-default cookies-not-set gd-map-google"> <div class="oht-menu oht-menu--main oht-menu--clem"> <div id="oht_default_header_layout"> <form role="search" method="get" class="search-form" action="https://www.vpa.net/"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search …" value="" name="s" /> </label> <button type="submit" class="search-submit"><span class="screen-reader-text">Search</span><i class="fa fa-search" aria-hidden="true"></i></button> <button type="submit" class="mobile-search-submit">Submit</button> </form> <button class="button button--toggle oht-hamburger" aria-label="Menu"> <i class="fa fa-bars hamburger-text-anch" aria-hidden="true"></i> </button> <ul id="menu-left-utility" class="oht-menu oht-menu--utility-left"><li id="menu-item-178" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-178"><a href="/" aria-current="page"><i class="fa fa-home" aria-hidden="true"> </i></a></li> <li id="menu-item-2018" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-2018"><a href="#">Virginia Press Services <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-1973" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1973"><a href="https://www.vpa.net/advertising/whynewspapers/">Why Newspapers?</a></li> <li id="menu-item-3219" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3219"><a href="https://www.vpa.net/advertising/">Virginia Press Services</a></li> <li id="menu-item-177" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-177"><a href="https://www.vpa.net/advertising/advertising-networks/">Advertising Networks</a></li> <li id="menu-item-3230" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3230"><a href="https://www.vpa.net/advertising/digitaladvertising/">Digital Advertising</a></li> <li id="menu-item-165" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-165"><a href="https://www.vpa.net/services/press-release-distribution/">Press Release Service</a></li> <li id="menu-item-5190" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5190"><a href="mailto:advertising@vpa.net">Place a Public Notice</a></li> </ul> </li> <li id="menu-item-2019" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-2019"><a href="#">About <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-1970" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1970"><a href="https://www.vpa.net/about/">About</a></li> <li id="menu-item-144" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-144"><a href="https://www.vpa.net/about/staff/">Staff</a></li> <li id="menu-item-141" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-141"><a href="https://www.vpa.net/about/board-of-directors/">Board of Directors</a></li> <li id="menu-item-146" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-146"><a href="https://www.vpa.net/about/virginia-press-services/">Virginia Press Services</a></li> <li id="menu-item-6057" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6057"><a href="https://virginialocalnewsproject.org/">Virginia Local News Project</a></li> <li id="menu-item-5067" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5067"><a href="https://www.vpa.net/about/contact-us/">Contact Us</a></li> </ul> </li> <li id="menu-item-147" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-147"><a href="https://www.vpa.net/category/news/">News</a></li> <li id="menu-item-2020" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-2020"><a href="#">Membership <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-1971" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1971"><a href="https://www.vpa.net/membership/">Membership</a></li> <li id="menu-item-175" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-175"><a href="https://www.vpa.net/membership/become-a-member/">Become A Member</a></li> <li id="menu-item-2742" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2742"><a href="https://www.vpa.net/digital-initiative/">Digital Initiative</a></li> <li id="menu-item-1088" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1088"><a href="https://www.vpa.net/membership/training-professional-development/">Training & Professional Development</a></li> <li id="menu-item-174" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-174"><a href="https://www.vpa.net/membership/publications/">Publications</a></li> <li id="menu-item-173" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-173"><a href="https://www.vpa.net/membership/our-members/">Our Members</a></li> <li id="menu-item-4515" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4515"><a href="https://www.vpa.net/members-only/">Members Only</a></li> <li id="menu-item-2555" class="menu-item menu-item-type-taxonomy menu-item-object-gd_placecategory menu-item-2555"><a href="https://www.vpa.net/places/category/newspapers/">Find A Newspaper</a></li> </ul> </li> <li id="menu-item-2021" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-2021"><a href="#">Advocacy <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-1972" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1972"><a href="https://www.vpa.net/advocacy/">Advocacy</a></li> <li id="menu-item-170" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-170"><a href="https://www.vpa.net/advocacy/freedom-of-information-act/">FOIA</a></li> <li id="menu-item-171" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-171"><a href="https://www.vpa.net/advocacy/public-notices/">Public Notices</a></li> <li id="menu-item-169" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-169"><a href="https://www.vpa.net/advocacy/lobbying/">Lobbying</a></li> </ul> </li> <li id="menu-item-1025" class="gd-menu-item menu-item menu-item-type-post_type_archive menu-item-object-gd_event menu-item-1025"><a href="https://www.vpa.net/events/">Events & Conferences <span class="dwn-arrow">▼</span></a></li> <li id="menu-item-2017" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-2017"><a href="#">Contest <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-5966" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5966"><a href="https://www.vpa.net/2024-contest-rules-categories/">2024 Contest Rules & Categories</a></li> <li id="menu-item-5396" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5396"><a href="https://www.vpa.net/2023-contest-winners-gallery/">2023 Contest Winners Gallery</a></li> </ul> </li> <li id="menu-item-926" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-926"><a href="#">Services <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-925" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-925"><a href="https://www.vpa.net/press-ids/">Press IDs</a></li> <li id="menu-item-1243" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1243"><a href="https://www.vpa.net/services/meeting-space-available-at-no-charge-to-vpa-members/">Meeting Space</a></li> <li id="menu-item-2131" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2131"><a href="https://www.vpa.net/mailing-lists/">Newsletters</a></li> <li id="menu-item-2926" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2926"><a href="https://virginianewsreader.com/">Virginia News Reader</a></li> </ul> </li> <li id="menu-item-868" class="gd-menu-item menu-item menu-item-type-post_type_archive menu-item-object-gd_job menu-item-has-children menu-item-868"><a href="https://www.vpa.net/job/">Jobs <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-4845" class="menu-item menu-item-type-post_type_archive menu-item-object-gd_job menu-item-4845"><a href="https://www.vpa.net/job/">Job Listings</a></li> <li id="menu-item-4838" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4838"><a href="https://www.vpa.net/submit-a-job-listing/">Submit a Job Listing</a></li> </ul> </li> <li id="menu-item-1146" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1146"><a href="https://www.vpa.net/login/">Members Login</a></li> <li id="menu-item-5750" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5750"><a href="https://members.vpa.net/portal">Pay Member Dues</a></li> </ul> </div> <div id="oht_menu_widgets"> <div id="menu-center" class="oht-widgets-menu"> </div><div id="menu-right" class="oht-widgets-menu"> </div> </div> <a class="oht-logo--clem oht-hide" href="https://www.vpa.net"> <img src="http://vpanet.demo.our-hometown.com/wp-content/uploads/2021/04/logo.png" alt="Virginia Press Association"> </a> </div> <div class="oht-menu-container oht-menu-container--flyout"> <ul id="menu-mobile-menu" class="oht-menu oht-menu--flyout"><li id="menu-item-60" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-60"><a href="/" aria-current="page"><i class="fa fa-home" aria-hidden="true"> </i></a></li> <li id="menu-item-1673" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1673"><a href="#">Virginia Press Services <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-3223" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3223"><a href="https://www.vpa.net/advertising/whynewspapers/">Why Newspapers?</a></li> <li id="menu-item-3222" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3222"><a href="https://www.vpa.net/advertising/">Virginia Press Services</a></li> <li id="menu-item-1663" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1663"><a href="https://www.vpa.net/advertising/advertising-networks/">Advertising Networks</a></li> <li id="menu-item-3232" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3232"><a href="https://www.vpa.net/advertising/digitaladvertising/">Digital Advertising</a></li> <li id="menu-item-1676" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1676"><a href="https://www.vpa.net/services/press-release-distribution/">Press Release Service</a></li> <li id="menu-item-5193" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5193"><a href="mailto:advertising@vpa.net">Place a Public Notice</a></li> </ul> </li> <li id="menu-item-1670" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1670"><a href="#">About <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-2028" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2028"><a href="https://www.vpa.net/about/">About</a></li> <li id="menu-item-1646" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1646"><a href="https://www.vpa.net/about/staff/">Staff</a></li> <li id="menu-item-1647" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1647"><a href="https://www.vpa.net/about/board-of-directors/">Board of Directors</a></li> <li id="menu-item-1648" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1648"><a href="https://www.vpa.net/about/virginia-press-services/">Virginia Press Services</a></li> <li id="menu-item-6058" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-6058"><a href="https://virginialocalnewsproject.org/">Virginia Local News Project</a></li> <li id="menu-item-5068" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5068"><a href="https://www.vpa.net/about/contact-us/">Contact Us</a></li> </ul> </li> <li id="menu-item-62" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-62"><a href="https://www.vpa.net/category/news/">News</a></li> <li id="menu-item-1671" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1671"><a href="#">Membership <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-2029" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2029"><a href="https://www.vpa.net/membership/">Membership</a></li> <li id="menu-item-1652" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1652"><a href="https://www.vpa.net/membership/become-a-member/">Become A Member</a></li> <li id="menu-item-2744" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2744"><a href="https://www.vpa.net/digital-initiative/">Digital Initiative</a></li> <li id="menu-item-1653" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1653"><a href="https://www.vpa.net/membership/training-professional-development/">Training & Professional Development</a></li> <li id="menu-item-1654" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1654"><a href="https://www.vpa.net/membership/publications/">Publications</a></li> <li id="menu-item-1656" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1656"><a href="https://www.vpa.net/membership/our-members/">Our Members</a></li> <li id="menu-item-2558" class="menu-item menu-item-type-taxonomy menu-item-object-gd_placecategory menu-item-2558"><a href="https://www.vpa.net/places/category/newspapers/">Find A Newspaper</a></li> <li id="menu-item-4516" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4516"><a href="https://www.vpa.net/members-only/">Members Only</a></li> </ul> </li> <li id="menu-item-1672" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1672"><a href="#">Advocacy <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-2030" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2030"><a href="https://www.vpa.net/advocacy/">Advocacy</a></li> <li id="menu-item-1659" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1659"><a href="https://www.vpa.net/advocacy/public-notices/">Public Notices</a></li> <li id="menu-item-1660" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1660"><a href="https://www.vpa.net/advocacy/freedom-of-information-act/">FOIA</a></li> <li id="menu-item-1661" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1661"><a href="https://www.vpa.net/advocacy/lobbying/">Lobbying</a></li> </ul> </li> <li id="menu-item-1666" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1666"><a href="https://www.vpa.net/events/">Events & Conferences <span class="dwn-arrow">▼</span></a></li> <li id="menu-item-2024" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2024"><a href="https://www.vpa.net/?page_id=1874">Contest <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-5967" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5967"><a href="https://www.vpa.net/2024-contest-rules-categories/">2024 Contest Rules & Categories</a></li> <li id="menu-item-5399" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5399"><a href="https://www.vpa.net/2023-contest-winners-gallery/">2023 Contest Winners Gallery</a></li> </ul> </li> <li id="menu-item-1668" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1668"><a href="#">Services <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-1674" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1674"><a href="https://www.vpa.net/press-ids/">Press IDs</a></li> <li id="menu-item-1680" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1680"><a href="https://www.vpa.net/services/meeting-space-available-at-no-charge-to-vpa-members/">Meeting Space</a></li> <li id="menu-item-2752" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2752"><a href="https://www.vpa.net/mailing-lists/">Newsletters</a></li> <li id="menu-item-2928" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-2928"><a href="https://virginianewsreader.com/">Virginia News Reader</a></li> </ul> </li> <li id="menu-item-1684" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1684"><a href="https://www.vpa.net/login/">Members Login</a></li> <li id="menu-item-1664" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1664"><a href="https://www.vpa.net/job/">Jobs <span class="dwn-arrow">▼</span></a> <ul class="sub-menu"> <li id="menu-item-4842" class="menu-item menu-item-type-post_type_archive menu-item-object-gd_job menu-item-4842"><a href="https://www.vpa.net/job/">Job Listings</a></li> <li id="menu-item-4839" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4839"><a href="https://www.vpa.net/submit-a-job-listing/">Submit a Job Listing</a></li> </ul> </li> <li id="menu-item-5751" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5751"><a href="https://members.vpa.net/portal">Pay Member Dues</a></li> </ul></div> <div class="oht-overlay oht-overlay--takeover"></div> <div class="wrapper"> <div class="header-container"> <header class="header"> <div class="header__bucket header__bucket--flex header__logo--"> <div id="header-ads-left" class="header__ads header__ads--left oht-widgets"> </div> <div class="header__logo"> <a href="https://www.vpa.net/"><img src="http://vpanet.demo.our-hometown.com/wp-content/uploads/2021/04/logo.png" alt="Virginia Press Association"></a> <p class="header__date">Monday, February 17, 2025</p> </div><div id="header-ads-right" class="header__ads header__ads--right oht-widgets"> </div> </div> <div class="clearfix"></div> <div class="clearfix"></div> <div class="breaking-news-container"> </div> <div class="oht-menu-container oht-menu-container--main desktop-only"> </div> <div class="oht-menu-container oht-menu-container--secondary desktop-only"> </div> </header> </div><!-- end header-container --> <div class="content-wrapper"> <div class="container-fluid"> <div class="row"> <div id="top-full-width" class="oht-widgets--top-full front-page--top-full widget-area oht-widgets"> <div id="pl-w665f13d8b6377" class="panel-layout" ><div id="pg-w665f13d8b6377-0" class="panel-grid panel-has-style" ><div class="so-parallax siteorigin-panels-stretch panel-row-style panel-row-style-for-w665f13d8b6377-0" id="header-row" data-stretch-type="full-stretched-padded" ><img width="1950" height="1300" src="https://www.vpa.net/wp-content/uploads/2021/04/newspapers.png" class="attachment-full size-full" alt="" loading="eager" data-siteorigin-parallax="true" srcset="https://www.vpa.net/wp-content/uploads/2021/04/newspapers.png 1950w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-1024x683.png 1024w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-768x512.png 768w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-150x100.png 150w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-200x133.png 200w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-250x166.png 250w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-1536x1024.png 1536w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-400x267.png 400w, https://www.vpa.net/wp-content/uploads/2021/04/newspapers-272x182.png 272w" sizes="(max-width: 1950px) 100vw, 1950px" /><div id="pgc-w665f13d8b6377-0-0" class="panel-grid-cell" ><div id="panel-w665f13d8b6377-0-0-0" class="so-panel widget widget_sow-headline panel-first-child" data-index="0" ><div class="so-widget-sow-headline so-widget-sow-headline-default-e7616d7b1d55" ><div class="sow-headline-container "> <h1 class="sow-headline"> THE VIRGINIA PRESS ASSOCIATION </h1> <div class="decoration"> <div class="decoration-inside"></div> </div> <h3 class="sow-sub-headline"> <a href="https://www.vpa.net/about/" > ABOUT THE VPA</a> </h3> </div> </div></div><div id="panel-w665f13d8b6377-0-0-1" class="so-panel widget widget_sow-button" data-index="1" ><div class="so-widget-sow-button so-widget-sow-button-flat-41cfabb69aa5" ><div class="ow-button-base ow-button-align-center"> <a href="https://www.vpa.net/about/" class="sowb-button ow-icon-placement-left ow-button-hover" > <span> <span class="sow-icon-fontawesome sow-fas" data-sow-icon="" style="color: #ffffff" aria-hidden="true"></span> LEARN MORE </span> </a> </div> </div></div><div id="panel-w665f13d8b6377-0-0-2" class="so-panel widget widget_sow-button panel-last-child" data-index="2" ><div class="so-widget-sow-button so-widget-sow-button-flat-41cfabb69aa5" ><div class="ow-button-base ow-button-align-center"> <a href="https://www.vpa.net/places/category/newspapers/" class="sowb-button ow-icon-placement-left ow-button-hover" > <span> <span class="sow-icon-fontawesome sow-fas" data-sow-icon="" style="color: #ffffff" aria-hidden="true"></span> FIND A PAPER </span> </a> </div> </div></div></div></div></div><div id="pg-w665f13d8b6377-1" class="panel-grid panel-has-style" ><div class="siteorigin-panels-stretch panel-row-style panel-row-style-for-w665f13d8b6377-1" data-stretch-type="full" ><div id="pgc-w665f13d8b6377-1-0" class="panel-grid-cell panel-grid-cell-empty" ></div></div></div><div id="pg-w665f13d8b6377-2" class="panel-grid panel-no-style" ><div id="pgc-w665f13d8b6377-2-0" class="panel-grid-cell panel-grid-cell-empty" ></div><div id="pgc-w665f13d8b6377-2-1" class="panel-grid-cell panel-grid-cell-empty panel-grid-cell-mobile-last" ></div><div id="pgc-w665f13d8b6377-2-2" class="panel-grid-cell panel-grid-cell-empty" ></div></div></div> </div> <div class="col-md-9"> <div id="slider" class="primary-slider widget-area" role="complementary"> <div id="pl-w67929f8d34e05" class="panel-layout" ><div id="pg-w67929f8d34e05-0" class="panel-grid panel-has-style" ><div id="mission-row" class="panel-row-style panel-row-style-for-w67929f8d34e05-0" ><div id="pgc-w67929f8d34e05-0-0" class="panel-grid-cell" ><div id="panel-w67929f8d34e05-0-0-0" class="so-panel widget widget_sow-editor panel-first-child panel-last-child" data-index="0" ><div class="so-widget-sow-editor so-widget-sow-editor-base" > <div class="siteorigin-widget-tinymce textwidget"> <p><img class="wp-image-191 alignleft" src="http://vpanet.demo.our-hometown.com/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1.jpeg" alt="" width="400" srcset="https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1.jpeg 1920w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-1024x683.jpeg 1024w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-768x512.jpeg 768w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-150x100.jpeg 150w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-200x133.jpeg 200w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-250x166.jpeg 250w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-1536x1024.jpeg 1536w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-400x267.jpeg 400w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-518543-1024x683-1-272x182.jpeg 272w" sizes="(max-width: 1920px) 100vw, 1920px" /></p> <h1 class="widget-title">Our Mission</h1> <p>The mission of the Virginia Press Association is to support our membership through services and resources. We champion the common interests of Virginia newspapers and the ideals of a free press in a democratic society. Since 1881, the Virginia Press Association has been an unwavering advocate for newspapers in the Commonwealth.</p> </div> </div></div></div></div></div></div><div id="pl-w67929f8e5c486" class="panel-layout" ><div id="pg-w67929f8e5c486-0" class="panel-grid panel-has-style" ><div id="about-row" class="panel-row-style panel-row-style-for-w67929f8e5c486-0" ><div id="pgc-w67929f8e5c486-0-0" class="panel-grid-cell" ><div id="panel-w67929f8e5c486-0-0-0" class="so-panel widget widget_sow-features panel-first-child panel-last-child" data-index="0" ><div class="so-widget-sow-features so-widget-sow-features-default-0eaa0a0a9183" > <div class="sow-features-list sow-features-responsive"> <div class="sow-features-feature sow-icon-container-position-top" style="display: flex; flex-direction: column; width: calc(33.333% - 25px);" > <a href="https://www.vpa.net/membership/" > <div class="sow-icon-container sow-container-round" style="color: #ef403d; " > <span class="sow-icon-fontawesome sow-fas" data-sow-icon="" style="font-size: 75px; color: #ffffff" aria-hidden="true"></span> </div> </a> <div class="textwidget"> <h2> <a href="https://www.vpa.net/membership/" > MEMBERSHIP </a> </h2> <p>The greatest asset the Virginia Press Association has is our members. To support our members, VPA offers a wide range of benefits and resources.</p> </div> </div> <div class="sow-features-feature sow-icon-container-position-top" style="display: flex; flex-direction: column; width: calc(33.333% - 25px);" > <a href="https://www.vpa.net/advocacy/" > <div class="sow-icon-container sow-container-round" style="color: #ef403d; " > <span class="sow-icon-fontawesome sow-far" data-sow-icon="" style="font-size: 75px; color: #ffffff" aria-hidden="true"></span> </div> </a> <div class="textwidget"> <h2> <a href="https://www.vpa.net/advocacy/" > ADVOCACY </a> </h2> <p>The Virginia Press Association prides itself on its advocacy. We advocate and lobby on issues that deal directly with the media and the public’s right to know.</p> </div> </div> <div class="sow-features-feature sow-icon-container-position-top" style="display: flex; flex-direction: column; width: calc(33.333% - 25px);" > <a href="https://www.vpa.net/advertising/whynewspapers/" > <div class="sow-icon-container sow-container-round" style="color: #ef403d; " > <span class="sow-icon-fontawesome sow-fas" data-sow-icon="" style="font-size: 75px; color: #ffffff" aria-hidden="true"></span> </div> </a> <div class="textwidget"> <h2> <a href="https://www.vpa.net/advertising/whynewspapers/" > ADVERTISING </a> </h2> <p>Virginia Press Services offers print and digital advertising campaigns throughout Virginia and throughout the country.</p> </div> </div> </div> </div></div></div></div></div></div> <div class="wp-block-image"><figure class="aligncenter size-large is-resized"><a href="mailto:foia@vpa.net"><img loading="lazy" src="https://www.vpa.net/wp-content/uploads/2024/10/FOIA-Banner-1-1024x256.png" alt="" class="wp-image-5891" width="768" height="192" srcset="https://www.vpa.net/wp-content/uploads/2024/10/FOIA-Banner-1-1024x256.png 1024w, https://www.vpa.net/wp-content/uploads/2024/10/FOIA-Banner-1-768x192.png 768w, https://www.vpa.net/wp-content/uploads/2024/10/FOIA-Banner-1-1536x384.png 1536w, https://www.vpa.net/wp-content/uploads/2024/10/FOIA-Banner-1-400x100.png 400w, https://www.vpa.net/wp-content/uploads/2024/10/FOIA-Banner-1.png 1584w" sizes="(max-width: 768px) 100vw, 768px" /></a></figure></div> <div class="oht-widget oht-widget--articles " id="oht_articles_widget-15"><div class="cat-title-container"><h2 class="widget-title"><a href="https://www.vpa.net/category/news/">Latest Updates</a></h2></div><div class="fat-stacks oht-article-widget__content oht-3-count thumb-format-landscape thumb-position-left " ><div class="oht-article"><a href="https://www.vpa.net/articles/help-judge-the-oregon-newspaper-publishers-association-contest/" class="oht-thumb-left imgtag oht-thumb--small-thumb " ><img class="imgtag" src="https://www.vpa.net/wp-content/uploads/2025/02/We-2-400x300.png" alt="Help Judge the Oregon Newspaper Publishers Association Contest!"></a><h3><a href="https://www.vpa.net/articles/help-judge-the-oregon-newspaper-publishers-association-contest/" class="oht-title-link">Help Judge the Oregon Newspaper Publishers Association Contest!</a></h3> <div class="aa-article-play-button"><a href="/audio-articles/player/audio-article-6086" onclick="_paq.push(['trackEvent', 'Home Page Audio Clicks', 'Article Playlist', '//audio-articles/player/audio-article-6086']);"><i class="far fa-play-circle"></i> Audio Article</a></div><p class="oht-article-meta" style="display: block !important;">February 13, 2025</p><p style="font-size: inherit; line-height: inherit;">Thank you to VPA members who have already stepped up to help judge the Oregon Newspaper Publishers Association’s annual contest—we truly appreciate your support! However, we still need more volunteers to fulfill our commitment. If you entered work in the VPA News & Advertising Contest, we especially encourage you to<a href="https://www.vpa.net/articles/help-judge-the-oregon-newspaper-publishers-association-contest/">...</a></p></div><div class="oht-article"><a href="https://www.vpa.net/articles/save-the-date-plan-to-attend-the-2025-vpa-conference-awards-banquet-on-april-12-in-richmond/" class="oht-thumb-left imgtag oht-thumb--small-thumb " ><img class="imgtag" src="https://www.vpa.net/wp-content/uploads/2025/02/2025.0205-VPA-Conference-Save-The-Date-V2-400x300.png" alt="Save the Date: Plan to attend the 2025 VPA Conference & Awards Banquet on April 12 in Richmond"></a><h3><a href="https://www.vpa.net/articles/save-the-date-plan-to-attend-the-2025-vpa-conference-awards-banquet-on-april-12-in-richmond/" class="oht-title-link">Save the Date: Plan to attend the 2025 VPA Conference & Awards Banquet on April 12 in Richmond</a></h3> <div class="aa-article-play-button"><a href="/audio-articles/player/audio-article-6082" onclick="_paq.push(['trackEvent', 'Home Page Audio Clicks', 'Article Playlist', '//audio-articles/player/audio-article-6082']);"><i class="far fa-play-circle"></i> Audio Article</a></div><p class="oht-article-meta" style="display: block !important;">February 11, 2025</p><p style="font-size: inherit; line-height: inherit;"></p></div><div class="oht-article"><a href="https://www.vpa.net/articles/new-social-media-director-named-to-lead-the-posts-social-platforms/" class="oht-thumb-left imgtag oht-thumb--small-thumb " ><img class="imgtag" src="https://www.vpa.net/wp-content/uploads/2025/02/keely-diven-400x300.jpg" alt="New social media director named to lead The Post’s social platforms"></a><h3><a href="https://www.vpa.net/articles/new-social-media-director-named-to-lead-the-posts-social-platforms/" class="oht-title-link">New social media director named to lead The Post’s social platforms</a></h3> <div class="aa-article-play-button"><a href="/audio-articles/player/audio-article-6076" onclick="_paq.push(['trackEvent', 'Home Page Audio Clicks', 'Article Playlist', '//audio-articles/player/audio-article-6076']);"><i class="far fa-play-circle"></i> Audio Article</a></div><p class="oht-article-meta" style="display: block !important;">February 5, 2025</p><p style="font-size: inherit; line-height: inherit;">The Washington Post has appointed Keely Diven as social media director, responsible for developing and executing the organization’s social media strategy. She joins from ESPN, where she spent five years leading social media initiatives, digital storytelling, and DEI efforts. Previously, she managed digital and social media coverage of the Wizards<a href="https://www.vpa.net/articles/new-social-media-director-named-to-lead-the-posts-social-platforms/">...</a></p></div></div> <script> /** * Renders the JSON-LD block to the head * @param {Array} articles array of Article objects */ const renderJSONLD = (articles, dataSource = null) => { // Prepare the contents of the script tag const contents = { '@context': 'http://schema.org', '@type': 'CollectionPage', }; const logo = null; if (logo) { contents.image = [{ '@context': 'http://schema.org', '@type': 'ImageObject', url: logo.url, height: logo.height, width: logo.width, }]; } contents.name = 'Virginia Press Association'; contents.mainEntity = { '@context':'http://schema.org', '@type':'ItemList', itemListElement: [], numberOfItems: 0, }; contents.publisher = { '@id': 'https://www.vpa.net/#publisher', }; // Add the articles to the itemListElement articles.forEach(article => { contents.mainEntity.numberOfItems += 1; const listItem = { '@context': 'http://schema.org', '@type': 'ListItem', 'url': article.link, 'position': contents.mainEntity.numberOfItems, }; contents.mainEntity.itemListElement.push(listItem); }); // create the script tag and add to the head const scriptTag = document.createElement('script'); scriptTag.setAttribute('type', 'application/ld+json'); scriptTag.textContent = JSON.stringify(contents); if (dataSource) { scriptTag.dataset.source = dataSource; } document.head.appendChild(scriptTag); }; /** * Convert slides object from Slider Widget into articles-compatible object, for JSON-LD rendering * @param {Object} slides json_encode()d slides object from Slider Widget * @return {Object} articles-compatible object for JSON-LD rendering */ const slidesToArticles = (slides) => { return slides.map(slide => { return { link: slide.href, }; }); } const renderNewsmediaJSONLD = () => { const contents = { '@context': 'http://schema.org', '@type': 'NewsMediaOrganization', name: 'Virginia Press Association', }; const logo = null; if (logo) { contents.logo = { '@context': 'http://schema.org', '@type': 'ImageObject', url: logo.url, height: logo.height, width: logo.width, }; } contents.url = 'https://www.vpa.net/'; contents['@id'] = 'https://www.vpa.net/#publisher'; const scriptTag = document.createElement('script'); scriptTag.setAttribute('type', 'application/ld+json'); scriptTag.textContent = JSON.stringify(contents); document.head.appendChild(scriptTag); }; renderNewsmediaJSONLD(); </script> <script> // wrap in IIFE to avoid polluting global scope { const postPermalinks = ["https:\/\/www.vpa.net\/articles\/help-judge-the-oregon-newspaper-publishers-association-contest\/","https:\/\/www.vpa.net\/articles\/save-the-date-plan-to-attend-the-2025-vpa-conference-awards-banquet-on-april-12-in-richmond\/","https:\/\/www.vpa.net\/articles\/new-social-media-director-named-to-lead-the-posts-social-platforms\/"]; if (typeof renderJSONLD == 'function') { renderJSONLD(postPermalinks.map(permalink => ({ link: permalink })), 'oht_articles_widget-15'); } } </script> </div> </div><!-- #primary-sidebar --> <!-- front page left sidebar --> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> </div> <!-- front page middle column --> <div class="col-md-6"> </div> </div> </div> <div id="middle-full" class="primary-sidebar middle-full widget-area" role="complementary"> <div id="pl-w66fc282116ff3" class="panel-layout" ><div id="pg-w66fc282116ff3-0" class="panel-grid panel-has-style" ><div class="siteorigin-panels-stretch panel-row-style panel-row-style-for-w66fc282116ff3-0" data-stretch-type="full-stretched-padded" ><div id="pgc-w66fc282116ff3-0-0" class="panel-grid-cell" ><div id="panel-w66fc282116ff3-0-0-0" class="so-panel widget panel-first-child panel-last-child" data-index="0" ><div class="subscribe-box-2 so-parallax panel-widget-style panel-widget-style-for-w66fc282116ff3-0-0-0" ><img width="2158" height="1500" src="https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133.jpeg" class="attachment-full size-full" alt="" loading="eager" data-siteorigin-parallax="true" srcset="https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133.jpeg 2158w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133-1024x712.jpeg 1024w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133-768x534.jpeg 768w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133-1536x1068.jpeg 1536w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133-2048x1424.jpeg 2048w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133-400x278.jpeg 400w, https://www.vpa.net/wp-content/uploads/2021/04/pexels-photo-5580133-144x100.jpeg 144w" sizes="(max-width: 2158px) 100vw, 2158px" /></div></div></div></div></div></div> <div class="wp-block-image is-style-default"><figure class="aligncenter size-large is-resized"><a href="mailto:advertising@vpa.net"><img loading="lazy" src="https://www.vpa.net/wp-content/uploads/2024/02/Blue-Modern-Business-LinkedIn-Banner-1-1-1024x173.png" alt="" class="wp-image-5194" width="768" height="130" srcset="https://www.vpa.net/wp-content/uploads/2024/02/Blue-Modern-Business-LinkedIn-Banner-1-1-1024x173.png 1024w, https://www.vpa.net/wp-content/uploads/2024/02/Blue-Modern-Business-LinkedIn-Banner-1-1-768x130.png 768w, https://www.vpa.net/wp-content/uploads/2024/02/Blue-Modern-Business-LinkedIn-Banner-1-1-400x68.png 400w, https://www.vpa.net/wp-content/uploads/2024/02/Blue-Modern-Business-LinkedIn-Banner-1-1-591x100.png 591w, https://www.vpa.net/wp-content/uploads/2024/02/Blue-Modern-Business-LinkedIn-Banner-1-1.png 1128w" sizes="(max-width: 768px) 100vw, 768px" /></a></figure></div> </div><!-- #primary-sidebar --> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> </div> <!-- front page middle column --> <div class="col-md-6"> </div> </div> </div> <!-- Bottom 2 left full--> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> </div> <div class="col-md-6"> </div> </div> </div> </div> <div class="col-md-2"> <div class="oht-sidebar content__sidebar"> <aside id="secondary" class="sidebar widget-area oht-sidebar" role="complementary"> <div class="textwidget custom-html-widget"><h2 class="widget-title"> Upcoming Events </h2></div> <div class="geodir_event_cal_widget table-responsive" id="gdwgt_geodir_event_calendar_3_67b3cb18c9267"> <table style="width:100%" class="gd_cal_nav table p-0 m-0 border table-sm "> <tr align="center" class="title"> <td style="width:10%" class="title geodir_cal_prev text-left c-pointer py-2 px-3"><span class="" data-toggle="tooltip" title="prev"><i class="fas fa-chevron-left"></i></span></td> <td style="vertical-align:top;text-align:center" class="title gd-event-cal-title"></td> <td style="width:10%" class="title geodir_cal_next text-right c-pointer py-2 px-3"><span class="" data-toggle="tooltip" title="next"><i class="fas fa-chevron-right"></i></span></td> </tr> </table> <div class="geodir_event_calendar geodir-calendar-loading"><div class="clearfix text-center"><div class="gd-div-loader spinner-border mx-auto m-3" role="status"><span class="sr-only">Loading...</span></div></div></div> </div> <script type="text/javascript"> if (typeof geodir_event_call_calendar_67b3cb18c9269 !== 'function') { window.geodir_event_call_calendar_67b3cb18c9269 = function() { var $container = jQuery('#gdwgt_geodir_event_calendar_3_67b3cb18c9267'); var sday = '1'; var wday = '0'; var gdem_loading = jQuery('.gd_cal_nav .gdem-loading', $container); var loc = '&_loc=0&_l=0'; var size = '&size=small'; params = "&sday=" + sday + "&wday=" + wday + loc; params += '&post_type=' + jQuery('#geodir_calendar_post_type', $container).val(); params+= size; $gdec_loaded_geodir_event_calendar_3_67b3cb18c9267 = false; jQuery(document).ready(function(){ jQuery(window).scroll(function(){ if (!$gdec_loaded_geodir_event_calendar_3_67b3cb18c9267 && $container.aui_isOnScreen()) { geodir_event_get_calendar($container, params); $gdec_loaded_geodir_event_calendar_3_67b3cb18c9267 = true; } }); if($container.aui_isOnScreen()){ geodir_event_get_calendar($container, params); $gdec_loaded_geodir_event_calendar_3_67b3cb18c9267 = true; } }); var mnth = 2; var year = 2025; jQuery(".geodir_cal_next", $container).on('click', function() { mnth++; if (mnth > 12) { year++; mnth = 1; } params = "&mnth=" + mnth + "&yr=" + year + "&sday=" + sday + "&wday=" + wday + loc + size; params += '&post_type=' + jQuery('#geodir_calendar_post_type', $container).val(); geodir_event_get_calendar($container, params); }); jQuery(".geodir_cal_prev", $container).on('click', function() { mnth--; if (mnth < 1) { year--; mnth = 12; } params = "&mnth=" + mnth + "&yr=" + year + "&sday=" + sday + "&wday=" + wday + loc + size; params += '&post_type=' + jQuery('#geodir_calendar_post_type', $container).val(); geodir_event_get_calendar($container, params); }); jQuery("#geodir_calendar_post_type", $container).on('change', function() { params = "&mnth=" + mnth + "&yr=" + year + "&sday=" + sday + "&wday=" + wday + loc + size; params += '&post_type=' + jQuery(this).val(); geodir_event_get_calendar($container, params); }); }; } document.addEventListener("DOMContentLoaded", function() { if (typeof geodir_event_call_calendar_67b3cb18c9269 == 'function') { geodir_event_call_calendar_67b3cb18c9269(); } }); </script> <div id="geodir_67b3cb18d3648" class="geodir_locations geodir_location_listing mb-3 position-relative"> <div class="row row-cols-1 row-cols-sm-2 geodir-category-list-view geodir-widget-posts geodir-gridview row-cols-md-1"> <div class="col mb-4 geodir-post post-6101 gd_event type-gd_event status-publish gd-post-pkg-2" data-post-id="6101"> <div class="card h-100 p-0 m-0 mw-100 "> <div class="card-img-top overflow-hidden position-relative "> </div> <div class="card-body p-2 "> <div class="geodir-post-title bsui sdel-1fdff23a" > <h3 class="geodir-entry-title h5 "> <a href="https://www.vpa.net/events/spj-third-thursday-online-seminar-series-research-strategies-crafting-powerful-ledes/" class="" title="View: SPJ Third Thursday Online Seminar Series: Research Strategies & Crafting Powerful Ledes">SPJ Third Thursday Online Seminar Series: Research Strategies & Crafting Powerful Ledes</a> </h3> </div> <span class="bsui gd-badge-meta"><span class="gd-badge border-0 badge float-left mr-2" data-id="6101" data-badge="post_date" data-badge-condition="is_less_than" onclick=" if(typeof ga == 'function' && !jQuery(this).hasClass('gd-event-tracked')) { ga('send', 'event', {eventCategory: 'CTA',eventAction: 'post_date',transport: 'beacon' });jQuery(this).addClass('gd-event-tracked');} " style="background-color:#ff0000;border-color:#ff0000;color:#ffffff;" ><i class="fas fa-certificate" ></i> <span class='gd-secondary gv-secondary'>New</span></span> </span> <div class="geodir-post-fav bsui sdel-c5abda70" ><div class="geodir_post_meta gd-fav-info-wrap float-right ml-2 gv-hide-s-2 " > <span class="gd-list-favorite"> <span class="geodir-addtofav favorite_property_6101 h5"> <a href="javascript:void(0);" title="Add to Favorites" class="geodir-addtofav-icon" data-color-on="#e84739" data-icon="fas fa-heart" data-color-off="grey" data-toggle="tooltip" onclick="javascript:window.location.href='https://www.vpa.net/login/?redirect_to=https%3A%2F%2Fwww.vpa.net%2F'" ><i class="fas fa-heart" style="color:grey;" ></i> <span class="geodir-fav-text gv-secondary " style="">Favorite</span></a> </span> </span> </div></div> <div class="geodir-output-location bsui sdel-cc65ff07" ><div class='list-group mx-n2 d-block geodir-output-location geodir-output-location-listing' style='clear:both;' ><div class="geodir_post_meta list-group-item list-group-item-action border-left-0 border-right-0 rounded-0 px-2 geodir-field-event_dates geodir-schedule-meta geodir-edate-" style="clear:both;"><span class="geodir-i-datepicker" style=""><i class="fas fa-calendar-alt fa-fw" aria-hidden="true"></i> </span><div class="geodir-schedules d-inline-block"><div class="geodir-schedule"><meta itemprop="startDate" content="2025-02-20T12:30:00+0:00"><meta itemprop="endDate" content="2025-02-20T13:30:00+0:00"><div class="geodir-schedule-start d-inline-block"><i class="fas fa-caret-right"></i> February 20, 2025, 12:30 pm</div><div class="geodir-schedule-sep d-inline-block px-1">-</div><div class="geodir-schedule-end d-inline-block">1:30 pm</div></div></div></div></div></div> <div class="geodir-post-content-container bsui sdel-5b310e98" ><div class="geodir_post_meta clear-both position-relative geodir-field-post_content" style='max-height:120px;overflow:hidden;' >Join the SPJ VA Pro Chapter online Feb. 20 at 12:30 p.m. for the launch of its free Third Thursday webinar series. The series explores the power of storytelling, cutting-edge journalism tools, and strategies for well-being in a rapidly evolving media landscape. Kicking off the series is Dan Morrison, deputy editor of USA Today’s Washington Bureau. Don’t miss this insightful <a href='https://www.vpa.net/events/spj-third-thursday-online-seminar-series-research-strategies-crafting-powerful-ledes/#post_content' class='gd-read-more gd-read-more-fade w-100 position-absolute text-center pt-5' style='bottom:0;left:0;background-image: linear-gradient(to bottom,transparent,#fff);'>Read more...</a></div></div> </div> </div> </div> <div class="col mb-4 geodir-post post-6084 gd_event type-gd_event status-publish gd-post-pkg-2" data-post-id="6084"> <div class="card h-100 p-0 m-0 mw-100 "> <div class="card-img-top overflow-hidden position-relative "> </div> <div class="card-body p-2 "> <div class="geodir-post-title bsui sdel-1fdff23a" > <h3 class="geodir-entry-title h5 "> <a href="https://www.vpa.net/events/2025-vpa-conference-awards-banquet/" class="" title="View: 2025 VPA Conference & Awards Banquet">2025 VPA Conference & Awards Banquet</a> </h3> </div> <span class="bsui gd-badge-meta"><span class="gd-badge border-0 badge float-left mr-2" data-id="6084" data-badge="post_date" data-badge-condition="is_less_than" onclick=" if(typeof ga == 'function' && !jQuery(this).hasClass('gd-event-tracked')) { ga('send', 'event', {eventCategory: 'CTA',eventAction: 'post_date',transport: 'beacon' });jQuery(this).addClass('gd-event-tracked');} " style="background-color:#ff0000;border-color:#ff0000;color:#ffffff;" ><i class="fas fa-certificate" ></i> <span class='gd-secondary gv-secondary'>New</span></span> </span> <div class="geodir-post-fav bsui sdel-c5abda70" ><div class="geodir_post_meta gd-fav-info-wrap float-right ml-2 gv-hide-s-2 " > <span class="gd-list-favorite"> <span class="geodir-addtofav favorite_property_6084 h5"> <a href="javascript:void(0);" title="Add to Favorites" class="geodir-addtofav-icon" data-color-on="#e84739" data-icon="fas fa-heart" data-color-off="grey" data-toggle="tooltip" onclick="javascript:window.location.href='https://www.vpa.net/login/?redirect_to=https%3A%2F%2Fwww.vpa.net%2F'" ><i class="fas fa-heart" style="color:grey;" ></i> <span class="geodir-fav-text gv-secondary " style="">Favorite</span></a> </span> </span> </div></div> <div class="geodir-output-location bsui sdel-cc65ff07" ><div class='list-group mx-n2 d-block geodir-output-location geodir-output-location-listing' style='clear:both;' ><div class="geodir_post_meta list-group-item list-group-item-action border-left-0 border-right-0 rounded-0 px-2 geodir-field-event_dates geodir-schedule-meta geodir-edate-" style="clear:both;"><span class="geodir-i-datepicker" style=""><i class="fas fa-calendar-alt fa-fw" aria-hidden="true"></i> </span><div class="geodir-schedules d-inline-block"><div class="geodir-schedule"><meta itemprop="startDate" content="2025-04-12T08:00:00+0:00"><meta itemprop="endDate" content="2025-04-12T21:00:00+0:00"><div class="geodir-schedule-start d-inline-block"><i class="fas fa-caret-right"></i> April 12, 2025, 8:00 am</div><div class="geodir-schedule-sep d-inline-block px-1">-</div><div class="geodir-schedule-end d-inline-block">9:00 pm</div></div></div></div></div></div> <div class="geodir-post-content-container bsui sdel-5b310e98" ><div class="geodir_post_meta clear-both position-relative geodir-field-post_content" style='max-height:120px;overflow:hidden;' > <a href='https://www.vpa.net/events/2025-vpa-conference-awards-banquet/#post_content' class='gd-read-more gd-read-more-fade w-100 position-absolute text-center pt-5' style='bottom:0;left:0;background-image: linear-gradient(to bottom,transparent,#fff);'>Read more...</a></div></div> </div> </div> </div> </div> </div> </aside><!-- .sidebar .widget-area --> </div> </div> </div> </div> </div> </div> <div class="footer-container"> <footer class="wrapper"> <div class="footer__widgets footer__widgets--4-col"> <div id="footer-widget-left" class="footer-widget footer-widget--left"> <div class="textwidget custom-html-widget"><h2 class="widget-title"> Virginia Press Association </h2></div><div class="so-widget-sow-editor so-widget-sow-editor-base" > <div class="siteorigin-widget-tinymce textwidget"> <p style="text-align: left;">The Virginia Press Association champions the common interests of Virginia newspapers and the ideals of a free press in a democratic society.</p> </div> </div> </div> <div id="footer-widget-left" class="footer-widget footer-widget--left"> <div class="textwidget custom-html-widget"><h2 class="widget-title"> Contact Info </h2></div><div class="so-widget-sow-editor so-widget-sow-editor-base" > <div class="siteorigin-widget-tinymce textwidget"> <p>Virginia Press Association<br /> 4860 Cox Road, Suite 150<br /> Glen Allen, VA 23060<br /> Phone: (804) 521-7570<br /> Email: <span style="color: #ffffff;">d<a style="color: #ffffff;" href="mailto:deanam@vpa.net">eanam@vpa.net</a></span></p> </div> </div><div class="so-widget-sow-button so-widget-sow-button-flat-733f01bea10f" ><div class="ow-button-base ow-button-align-left"> <a href="https://www.vpa.net/about/contact-us/" class="sowb-button ow-icon-placement-left ow-button-hover" target="_blank" rel="noopener noreferrer" > <span> CONTACT US </span> </a> </div> </div> </div> <div id="footer-widget-right" class="footer-widget footer-widget--right"> <div class="textwidget custom-html-widget"><h2 class="widget-title"> Members </h2></div><div class="so-widget-sow-editor so-widget-sow-editor-base" > <div class="siteorigin-widget-tinymce textwidget"> <p><span style="color: #ffffff;"><a style="color: #ffffff;" href="https://www.vpa.net/membership/training-professional-development/">Training & Professional Development</a></span><br /> <span style="color: #ffffff;"><a style="color: #ffffff;" href="https://www.vpa.net/advertising/">Advertising</a></span><br /> <span style="color: #ffffff;"><a style="color: #ffffff;" href="https://www.vpa.net/advocacy/freedom-of-information-act/">FOIA</a></span><br /> <span style="color: #ffffff;"><a style="color: #ffffff;" href="https://www.vpa.net/advocacy/public-notices/">Public Notices</a></span><br /> <span style="color: #ffffff;"><a style="color: #ffffff;" href="https://www.vpa.net/members-only/">Member Portal</a></span></p> </div> </div> </div> <div id="footer-widget-right" class="footer-widget footer-widget--right"> <div class="textwidget custom-html-widget"><h2 class="widget-title"> follow us </h2></div><div class="a2a_kit a2a_kit_size_24 a2a_follow addtoany_list"><a class="a2a_button_facebook" href="https://www.facebook.com/VirginiaPressAssociation/" title="Facebook" rel="noopener" target="_blank"></a><a class="a2a_button_instagram" href="https://www.instagram.com/va_press_assoc/" title="Instagram" rel="noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.linkedin.com/company/vapressassoc" title="LinkedIn" rel="noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://twitter.com/va_press_assoc" title="Twitter" rel="noopener" target="_blank"></a><a class="a2a_button_youtube_channel" href="https://www.youtube.com/@virginiapressassociation" title="YouTube Channel" rel="noopener" target="_blank"></a></div><div class="textwidget custom-html-widget"><h2 class="widget-title"> SUBSCRIBE TO OUR NEWSLETTERs </h2></div><div class="so-widget-sow-button so-widget-sow-button-atom-6ed1d202ebcf" ><div class="ow-button-base ow-button-align-justify" style="display: block;"> <a href="https://www.vpa.net/mailing-lists/" class="sowb-button ow-icon-placement-bottom" > <span> <span class="sow-icon-fontawesome sow-far" data-sow-icon="" style="color: #ffffff" aria-hidden="true"></span> The latest news, training, and resources, sent to your inbox! </span> </a> </div> </div><div class="so-widget-sow-image so-widget-sow-image-default-8b5b6f678277" > <div class="sow-image-container"> <a href="https://virginianewsreader.com/" target="_blank" rel="noopener noreferrer" > <img src="https://www.vpa.net/wp-content/uploads/2022/06/VNR-White.jpg" width="705" height="217" srcset="https://www.vpa.net/wp-content/uploads/2022/06/VNR-White.jpg 705w, https://www.vpa.net/wp-content/uploads/2022/06/VNR-White-400x123.jpg 400w, https://www.vpa.net/wp-content/uploads/2022/06/VNR-White-325x100.jpg 325w" sizes="(max-width: 705px) 100vw, 705px" title="Subscribe for free" alt="Virginia News Reader" loading="lazy" class="so-widget-image"/> </a></div> </div> </div> </div> <p class="oht-links"> <a href="http://our-hometown.com/" class="oht-logo">Our Hometown</a> <a href="http://our-hometown.com/dmca/" class="oht-dmca">DMCA Notices</a><br>Newspaper website content management software and services </p> <div class="oht-custom-footer"> <small>©2025 Virginia Press Association | All Rights Reserved | <a href="/privacy-policy/" title="Privacy Policy">Privacy Policy</a></small> </div> </footer> </div> <!-- all WordPress scripts set for the footer come through here --> <script type="text/javascript"> var default_location = 'Glen Allen'; var latlng; var address; var dist = 0; var Sgeocoder = (typeof google!=='undefined' && typeof google.maps!=='undefined') ? new google.maps.Geocoder() : {}; jQuery(function($) { if ($('.geodir-listing-search input[name="snear"]').length && !window.geodirMapAllScriptsLoaded) { $('.geodir-listing-search input[name="snear"]').each(function() { if (!window.geodirMapAllScriptsLoaded) { $(this).on('focus', function(e){ /* Load lazy load scripts */ if (!window.geodirMapAllScriptsLoaded && !window.geodirApiScriptLoading) { $(this).geodirLoadMap({loadJS: true}); jQuery(window).trigger('resize'); } }); } }); } }); function geodir_setup_submit_search($form) { jQuery('.geodir_submit_search').off('click');// unbind any other click events jQuery('.geodir_submit_search').on("click",function(e) { e.preventDefault(); var s = ' '; var $form = jQuery(this).closest('form'); if (jQuery("#sdistance input[type='radio']:checked").length != 0) dist = jQuery("#sdistance input[type='radio']:checked").val(); if (jQuery('.search_text', $form).val() == '' || jQuery('.search_text', $form).val() == 'Search for') jQuery('.search_text', $form).val(s); // Disable location based search for disabled location post type. if (jQuery('.search_by_post', $form).val() != '' && typeof gd_cpt_no_location == 'function') { if (gd_cpt_no_location(jQuery('.search_by_post', $form).val())) { jQuery('.snear', $form).remove(); jQuery('.sgeo_lat', $form).remove(); jQuery('.sgeo_lon', $form).remove(); jQuery('select[name="sort_by"]', $form).remove(); jQuery($form).trigger("submit"); return; } } if ( dist > 0 || (jQuery('select[name="sort_by"]').val() == 'nearest' || jQuery('select[name="sort_by"]', $form).val() == 'farthest') || (jQuery(".snear", $form).val() != '' && jQuery(".snear", $form).val() != 'Near' && !jQuery('.geodir-location-search-type', $form).val() ) ) { // OSM can't handel post code with no space so we test for it and add one if needed if(window.gdMaps === 'osm'){ var $near_val = jQuery(".snear", $form).val(); var $is_post_code = $near_val.match("^([A-Za-z][A-Ha-hJ-Yj-y]?[0-9][A-Za-z0-9]??[0-9][A-Za-z]{2}|[Gg][Ii][Rr] ?0[Aa]{2})$"); if($is_post_code){ $near_val = $near_val.replace(/.{3}$/,' $&'); jQuery(".snear", $form).val($near_val); } } geodir_setsearch($form); } else { jQuery(".snear", $form).val(''); jQuery($form).trigger("submit"); } }); // Clear near search GPS for core if (!jQuery('input.geodir-location-search-type').length && jQuery('[name="snear"]').length){ jQuery('[name="snear"]').off('keyup'); jQuery('[name="snear"]').on('keyup', function($){ jQuery('.sgeo_lat').val(''); jQuery('.sgeo_lon').val(''); }); } } jQuery(document).ready(function() { geodir_setup_submit_search(); //setup advanced search form on form ajax load jQuery("body").on("geodir_setup_search_form", function($form){ geodir_setup_submit_search($form); }); }); function geodir_setsearch($form) { if ((dist > 0 || (jQuery('select[name="sort_by"]', $form).val() == 'nearest' || jQuery('select[name="sort_by"]', $form).val() == 'farthest')) && (jQuery(".snear", $form).val() == '' || jQuery(".snear", $form).val() == 'Near')) jQuery(".snear", $form).val(default_location); geocodeAddress($form); } function updateSearchPosition(latLng, $form) { if (window.gdMaps === 'google') { jQuery('.sgeo_lat').val(latLng.lat()); jQuery('.sgeo_lon').val(latLng.lng()); } else if (window.gdMaps === 'osm') { jQuery('.sgeo_lat').val(latLng.lat); jQuery('.sgeo_lon').val(latLng.lon); } jQuery($form).trigger("submit"); // submit form after insering the lat long positions } function geocodeAddress($form) { // Call the geocode function Sgeocoder = window.gdMaps == 'google' ? new google.maps.Geocoder() : null; if (jQuery('.snear', $form).val() == '' || ( jQuery('.sgeo_lat').val() != '' && jQuery('.sgeo_lon').val() != '' ) || jQuery('.snear', $form).val().match("^In:")) { if (jQuery('.snear', $form).val().match("^In:")) { jQuery(".snear", $form).val(''); } jQuery($form).trigger("submit"); } else { var address = jQuery(".snear", $form).val(); if (jQuery('.snear', $form).val() == 'Near') { initialise2(); } else { var search_address = address; if (window.gdMaps === 'google') { Sgeocoder.geocode({'address': search_address}, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { updateSearchPosition(results[0].geometry.location, $form); } else { alert("Search was not successful for the following reason :" + status); } }); } else if (window.gdMaps === 'osm') { geocodePositionOSM(false, search_address, false, false, function(geo) { if (typeof geo !== 'undefined' && geo.lat && geo.lon) { updateSearchPosition(geo, $form); } else { alert("Search was not successful for the requested address."); } }); } else { jQuery($form).trigger("submit"); } } } } function initialise2() { if (!window.gdMaps) { return; } if (window.gdMaps === 'google') { var latlng = new google.maps.LatLng(56.494343, -4.205446); var myOptions = { zoom: 4, mapTypeId: google.maps.MapTypeId.TERRAIN, disableDefaultUI: true } } else if (window.gdMaps === 'osm') { var latlng = new L.LatLng(56.494343, -4.205446); var myOptions = { zoom: 4, mapTypeId: 'TERRAIN', disableDefaultUI: true } } try { prepareGeolocation(); } catch (e) {} doGeolocation(); } function doGeolocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(positionSuccess, positionError); } else { positionError(-1); } } function positionError(err) { var msg; switch (err.code) { case err.UNKNOWN_ERROR: msg = "Unable to find your location"; break; case err.PERMISSION_DENINED: msg = "Permission denied in finding your location"; break; case err.POSITION_UNAVAILABLE: msg = "Your location is currently unknown"; break; case err.BREAK: msg = "Attempt to find location took too long"; break; default: msg = "Location detection not supported in browser"; } jQuery('#info').html(msg); } function positionSuccess(position) { var coords = position.coords || position.coordinate || position; jQuery('.sgeo_lat').val(coords.latitude); jQuery('.sgeo_lon').val(coords.longitude); jQuery('.geodir-listing-search').trigger("submit"); } /** * On unload page do some cleaning so back button cache does not store these values. */ jQuery(window).on("beforeunload", function(e) { if(jQuery('.sgeo_lat').length ){ jQuery('.sgeo_lat').val(''); jQuery('.sgeo_lon').val(''); } }); </script> <script> /* Location suggestion schema var = { type: "city", name: "Belfast" } */ var gdasac_selected = ''; var gdasac_li_type = ''; var gdasac_categories = []; var gdasac_listings = []; var gdasac_do_not_close = false; var gdasac_doing_search = 0; var gdasac_is_search = false; var gdasac_keyup_timeout = null; var gdasac_suggestions_with = 'posts'; jQuery(function($) { // init gdas_ac_init('.gd_search_text'); if ($('.gd_search_text').length) { $('.gd_search_text').each(function() { if ( ! $(this).parent().find(".gdas-search-suggestions").length) { jQuery(this).after("<div class='dropdown-menu dropdown-caret-0 w-100 scrollbars-ios overflow-auto p-0 m-0 gd-suggestions-dropdown gdas-search-suggestions gd-ios-scrollbars'><ul class='gdasac-listing list-unstyled p-0 m-0'></ul><ul class='gdasac-category list-unstyled p-0 m-0'></ul></div>"); } }); } // on CPT change jQuery("body").on("geodir_setup_search_form", function(){ gdas_ac_init('.gd_search_text'); }); }); function gdas_ac_init($field){ jQuery($field).on("focusin", function(){ gdasac_selected = this; gdas_ac_focus_in(this); }).on("focusout", function(){ gdasac_selected = ''; gdas_ac_focus_out(this); }); // window resize tasks jQuery(window).on("resize",function(){ gdas_ac_resize_suggestions(); }); } function gdas_ac_focus_in($input){ var $suggestions = jQuery($input).parent().find(".gdas-search-suggestions"), gdas_fire = false; if ($suggestions.length) { gdas_fire = true } else { jQuery($input).after("<div class='dropdown-menu dropdown-caret-0 w-100 scrollbars-ios overflow-auto p-0 m-0 gd-suggestions-dropdown gdas-search-suggestions gd-ios-scrollbars' >" + "<ul class='gdasac-listing list-unstyled p-0 m-0 '></ul>" + "<ul class='gdasac-category list-unstyled p-0 m-0 '></ul>" + "</div>"); gdas_fire = true; } /* Fire search */ if (gdas_fire && !$suggestions.hasClass('gdasac-focused')) { $suggestions.addClass('gdasac-focused'); gdas_ac_init_suggestions($input); if ( gdasac_suggestions_with != 'posts' ) { gdas_ac_categories($input); } } // resize gdas_ac_resize_suggestions(); // set if is search near if(jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear')){ gdasac_is_search = true; }else{ gdasac_is_search = false; } } function gdas_ac_focus_out($input){ setTimeout(function() { if (!gdasac_do_not_close) { } },200); } /** * Get the current post_type categories as suggestions. * */ function gdas_ac_categories(el){ $input = jQuery(gdasac_selected); var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); var post_type_slug = jQuery($input).closest('.geodir-search').find("input[name='stype']").data("slug"); if(!post_type_slug) { post_type_slug = jQuery($input).closest('.geodir-search').find(".search_by_post").find(':selected').data("slug"); } if (typeof post_type_slug == 'undefined') { post_type_slug = jQuery(".search_by_post").find(':selected').data("slug"); } var search = jQuery($input).val(); if (typeof search == 'undefined') { search = ''; } request_url = geodir_params.api_url + "" + post_type_slug+"/categories/?orderby=count&order=desc&search="+search+"&per_page="+geodir_search_params.autocompleter_max_results; if (geodir_search_params.autocompleter_filter_location && el && jQuery(el).closest('form.geodir-listing-search').length) { $form = jQuery(el).closest('form.geodir-listing-search'); lname = jQuery('.geodir-location-search-type', $form).prop('name'); lval = jQuery('.geodir-location-search-type', $form).val(); if (lval && (lname == 'country' || lname == 'region' || lname == 'city' || lname == 'neighbourhood')) { request_url += '&' + lname + '=' + lval; } } jQuery.ajax({ type: "GET", url: request_url, success: function (data) { gdasac_categories = data;gdasac_doing_search--; html = ''; gdasac_li_type = 'category'; jQuery.each(gdasac_categories, function (index, value) { html = html + gdas_ac_create_li('category', value); }); var gdasCe = gdasac_selected ? gdasac_selected : el; jQuery(gdasCe).parent().find("ul.gdasac-category").empty().append(html); if(html && gdasac_selected && !jQuery(el).closest('form.geodir-listing-search').find('.gdas-search-suggestions').is(':visible')){try{jQuery(gdasCe).dropdown('show');}catch(err){console.log(err.message);}} }, error: function (xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } /** * Get the current post_type categories as suggestions. * */ function gdas_ac_listings(el){ $input = jQuery(gdasac_selected); var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); var post_type_slug = jQuery($input).closest('.geodir-search').find("input[name='stype']").data("slug"); if(!post_type_slug) { post_type_slug = jQuery($input).closest('.geodir-search').find(".search_by_post").find(':selected').data("slug"); } var search = jQuery($input).val(), gdasLe = gdasac_selected ? gdasac_selected : el; if(search && search.length >= geodir_search_params.autocomplete_min_chars){ request_url = geodir_params.api_url + "" + post_type_slug+"/?search="+search+"&per_page="+geodir_search_params.autocompleter_max_results; if (geodir_search_params.autocompleter_filter_location && el && jQuery(el).closest('form.geodir-listing-search').length) { $form = jQuery(el).closest('form.geodir-listing-search'); lname = jQuery('.geodir-location-search-type', $form).prop('name'); lval = jQuery('.geodir-location-search-type', $form).val(); if (lval && (lname == 'country' || lname == 'region' || lname == 'city' || lname == 'neighbourhood')) { request_url += '&' + lname + '=' + lval; } } jQuery.ajax({ type: "GET", url: request_url, success: function (data) { gdasac_listings = data;gdasac_doing_search--; html = ''; gdasac_li_type = 'listing'; jQuery.each(gdasac_listings, function (index, value) { html = html + gdas_ac_create_li('listing', value); }); jQuery(gdasLe).parent().find("ul.gdasac-listing").empty().append(html); if(html && gdasac_selected && !jQuery(el).closest('form.geodir-listing-search').find('.gdas-search-suggestions').is(':visible')){try{jQuery(gdasLe).dropdown('show');}catch(err){console.log(err.message);}} }, error: function (xhr, textStatus, errorThrown) { console.log(errorThrown); } }); }else{ jQuery(gdasLe).parent().find("ul.gdasac-listing").empty(); } } /** * set the max height for the suggestion div so to never scroll past the bottom of the page. */ function gdas_ac_resize_suggestions(){ setTimeout(function(){ if(jQuery('.gd-suggestions-dropdown:visible').length){ var offset = jQuery('.gd-suggestions-dropdown:visible').offset().top; var windowHeight = jQuery( window ).height(); var maxHeight = windowHeight - ( offset - jQuery(window).scrollTop() ); if(jQuery('.gd-suggestions-dropdown:visible').prev().hasClass('gd_search_text')){ jQuery('.gd-suggestions-dropdown:visible').css('max-height',windowHeight - 40); }else{ jQuery('.gd-suggestions-dropdown:visible').css('max-height',maxHeight); } } }, 50); } function gdas_ac_init_suggestions($input){ setTimeout(function(){ gdas_ac_resize_suggestions(); }, 250); jQuery($input).on("keyup", function (e) { gdasac_doing_search = 3;// city, region, country if(gdasac_keyup_timeout != null) clearTimeout(gdasac_keyup_timeout); gdasac_keyup_timeout = setTimeout(function(){ gdas_ac_maybe_fire_suggestions($input); },500); }); } function gdas_ac_maybe_fire_suggestions(el){ gdasac_keyup_timeout = null; if ( gdasac_suggestions_with != 'terms' ) { gdas_ac_listings(el); } if ( gdasac_suggestions_with != 'posts' ) { gdas_ac_categories(el); } } function gdas_ac_create_li($type,$data){ var output = ''; var history = ''; var $delete = ''; var $common_class = 'list-group-item-action c-pointer p-0 m-0 d-flex justify-content-start align-items-center text-muted'; var $common_class_icon = ' d-flex align-items-center justify-content-center p-0 m-0 mr-2'; var $common_class_title = 'dropdown-header h6 p-2 m-0 bg-light'; var $icon_size = 'height:38px;width:38px;'; if(gdasac_li_type != ''){ if($type=='category'){ output += '<li class="gdas-section-title '+$common_class_title+'" onclick="var event = arguments[0] || window.event; geodir_cancelBubble(event);">Categories</li>'; }else if($type=='listing'){ output += '<li class="gdas-section-title '+$common_class_title+'">Listings</li>'; }else{ output += '<li class="gdas-section-title '+$common_class_title+'">'+$type.charAt(0).toUpperCase() + $type.slice(1)+'</li>'; } } gdasac_li_type = ''; if($data.history){ history = '<i class="far fa-clock" title="Search history"></i> '; $delete = '<i onclick="var event = arguments[0] || window.event; geodir_cancelBubble(event);gdas_ac_del_location_history(\''+$data.slug+'\');jQuery(this).parent().remove();" class="fas fa-times " title="Remove from history"></i> '; }else if($type == 'category' && $data.fa_icon){ var icon_color = $data.fa_icon_color ? '#fff' : ''; history = '<span class="gdasac-icon '+$common_class_icon+'" style="background-color:'+$data.fa_icon_color+';color:'+icon_color+';'+$icon_size+'"><i class="'+$data.fa_icon+' fa-fw"></i></span> '; }else if($type == 'category'){ history = '<span class="gdasac-icon '+$common_class_icon+'" style="'+$icon_size+'"><i class="fas fa-folder-open"></i></span> '; }else if($type == 'listing' && $data.featured_image.thumbnail){ history = '<span class="gdasac-icon '+$common_class_icon+'" style="'+$icon_size+'"><img src="'+$data.featured_image.thumbnail+'" class="w-100" /></span> '; }else{ history = '<span class="gdasac-icon '+$common_class_icon+'" style="'+$icon_size+'"><i class="fas fa-map-marker-alt"></i></span> '; } if($type=='category'){ if($data.area){$data.city = $data.area;} output += '<li class="'+$common_class+'" data-type="'+$type+'" onclick="gdasac_click_action(\''+$type+'\',\''+$data.link+'\');">'+history+'<b>'+ $data.name + '</b>'+$delete+'</li>'; }else if($type=='listing'){ if($data.area){$data.region = $data.area;} output += '<li class="'+$common_class+'" data-type="'+$type+'" onclick="gdasac_click_action(\''+$type+'\',\''+$data.link+'\');">'+history+'<b>'+ $data.title.rendered + '</b>'+$delete+'</li>'; } return output; } function gdasac_click_action($type,$url){ if($type=='category'){ // add location /*if(geodir_search_params.autocompleter_filter_location) { var current_location = geodir_params.location_url; $location_string = current_location.replace(geodir_params.location_base_url, ""); $url += $url.endsWith("/") ? "" : "/"; $url += $location_string; }*/ window.location = $url }else if($type=='listing'){ window.location = $url } } </script> <script type="text/javascript"> map_id_arr = []; gdUmarker = ''; my_location = ''; lat = ''; lon = ''; gdUmarker = ''; userMarkerActive = false; gdLocationOptions = { enableHighAccuracy: true, timeout: 5000, maximumAge: 0 }; jQuery("body").on("map_show", function(event, map_id) { map_id_arr.push(map_id); if (lat && lon) { setTimeout(function(map_id) { geodir_search_setUserMarker(lat, lon, map_id); }, 1, map_id); } }); </script> <!-- Begin Constant Contact Active Form --> <script> var _ctct_m = "5e6649dab54e1d46cfb10b1bf93294b0"; </script> <script id="signupScript" src="//static.ctctcdn.com/js/signup-form-widget/current/signup-form-widget.min.js" async defer></script> <!-- End Constant Contact Active Forms --><script type="application/ld+json"> { "@context": "http://schema.org/", "@type": "NewsMediaOrganization", "name": "Virginia Press Association", "logo": { "@context": "http://schema.org", "@type": "ImageObject", "url": "https://www.vpa.net/http://vpanet.demo.our-hometown.com/wp-content/uploads/2021/04/logo.png" }, "sameAs": [ "https://www.facebook.com/VirginiaPressAssociation/" ], "url": "https://www.vpa.net/" } </script> <div class="bsui"> <div id="getpaid-payment-modal" class="modal" tabindex="-1" role="dialog"> <div class="modal-dialog modal-dialog-centered modal-lg" role="checkout" style="max-width: 650px;"> <div class="modal-content"> <div class="modal-body"> <button type="button" class="close p-2 getpaid-payment-modal-close d-sm-none" data-dismiss="modal" aria-label=""> <i class="fa fa-times" aria-hidden="true"></i> </button> <div class="modal-body-wrapper"></div> </div> </div> </div> </div> </div> <!-- Modal --> <div class="modal fade bsui" id="gdlm-switcher" tabindex="-1" aria-labelledby="dlm-switcher-title" aria-hidden="true"> <div class="modal-dialog "> <div class="modal-content "> <div class="modal-header text-center"> <div class="modal-title text-center w-100"> <h5 class="w-100" id="dlm-switcher-title">Change Location</h5> <h6 class="w-100 h6 text-muted">Find awesome listings near you!</h6> </div> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body text-center"> <div class="dropdown"> <div class="form-group" ><label class="sr-only " >Change Location</label><input type="text" placeholder="city, region, country" class="form-control geodir-location-search" data-toggle="dropdown" aria-label="city, region, country" ></div> </div> </div> </div> </div> </div> <script> /* Location suggestion schema var = { type: "city", name: "Belfast" } */ var gdlmls_selected = ''; var gdlmls_nearest = []; var gdlmls_country = []; var gdlmls_region = []; var gdlmls_city = []; var gdlmls_neighbourhood = []; var gdlmls_google_sessionToken = '';// google session token var gdlmls_google_service = '';// google service var gdlmls_do_not_close = false; var gdlmls_doing_search = 0; var gdlmls_doing_nearest = false; var gdlmls_is_search = false; var gdlmls_keyup_timeout = null; jQuery(function() { // init gdlm_ls_init('.geodir-location-search'); gdlm_ls_init('.snear'); gdlm_is_search_input_location(); // on CPT change jQuery("body").on("geodir_setup_search_form", function(){ gdlm_ls_init('.geodir-location-search'); gdlm_ls_init('.snear'); gdlm_is_search_input_location(); }); }); function gdlm_is_search_input_location(){ // check for on change jQuery(".snear").on("change", function(){ setTimeout(function(){ if (typeof geodir_search_params !== 'undefined' && geodir_search_params.autocompleter_filter_location) { jQuery('.gd-search-field-search .gd-suggestions-dropdown').remove(); } var $type = jQuery('.geodir-location-search-type').attr('name'); if($type ){ jQuery('.gd-search-field-near').removeClass('in-location in-neighbourhood in-city in-region in-country').addClass('in-location in-'+$type); }else{ jQuery('.gd-search-field-near').removeClass('in-location in-neighbourhood in-city in-region in-country'); } }, 100); //alert('change'); }).on("keyup", function () { jQuery('.gd-search-field-near').removeClass('in-location in-neighbourhood in-city in-region in-country'); jQuery('.geodir-location-search-type').val('').attr('name',''); jQuery('.sgeo_lat').val(''); jQuery('.sgeo_lon').val(''); }); } function gdlm_ls_init($field){ jQuery($field).on("focusin", function(){ gdlmls_selected = this; gdlm_ls_focus_in(this); }).on("focusout", function(){ gdlmls_selected = ''; gdlm_ls_focus_out(this); }); // window resize tasks jQuery(window).on("resize", function(){ gdls_ls_resize_suggestions(); }); } function gdlm_ls_focus_in($input){ if(jQuery($input).parent().find(".gdlm-location-suggestions").length){ gdlm_ls_current_location_suggestion($input); }else{ jQuery($input).after("<div class='dropdown-menu dropdown-caret-0 w-100 scrollbars-ios overflow-auto p-0 m-0 gd-suggestions-dropdown gdlm-location-suggestions gd-ios-scrollbars'>" + "<ul class='gdlmls-near list-unstyled p-0 m-0 '></ul>" + "<ul class='gdlmls-neighbourhood list-unstyled p-0 m-0'></ul>" + "<ul class='gdlmls-city list-unstyled p-0 m-0'></ul>" + "<ul class='gdlmls-region list-unstyled p-0 m-0'></ul>" + "<ul class='gdlmls-country list-unstyled p-0 m-0'></ul>" + "<ul class='gdlmls-more list-unstyled p-0 m-0'></ul>" + "</div>"); gdlm_ls_init_suggestions($input); gdlm_ls_current_location_suggestion($input); } // resize gdls_ls_resize_suggestions(); // set if is search near if(jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear') || jQuery($input).hasClass('snear')){ gdlmls_is_search = true; }else{ gdlmls_is_search = false; } } function gdlm_ls_focus_out($input) { setTimeout(function() { _ua = navigator.userAgent.toLowerCase(); isChrome = /chrome/.test(_ua); isWin10 = /windows nt 10.0/.test(_ua); if (!gdlmls_do_not_close) { } }, 200); } /** * Set the max height for the suggestion div so to never scroll past the bottom of the page. */ function gdls_ls_resize_suggestions() { setTimeout(function() { if (jQuery('.gdlm-location-suggestions:visible').length) { var offset = jQuery('.gdlm-location-suggestions:visible').offset().top; var windowHeight = jQuery(window).height(); var maxHeight = windowHeight - (offset - jQuery(window).scrollTop()); if (jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear')) { jQuery('.gdlm-location-suggestions:visible').css('max-height', windowHeight - 40); } else { jQuery('.gdlm-location-suggestions:visible').css('max-height', maxHeight); } } }, 50); } function gdlm_ls_init_suggestions($input) { setTimeout(function() { gdls_ls_resize_suggestions(); }, 250); jQuery($input).on("keyup", function($input) { gdlmls_doing_search = 3; // city, region, country if (gdlmls_keyup_timeout != null) clearTimeout(gdlmls_keyup_timeout); gdlmls_keyup_timeout = setTimeout(gdlm_ls_maybe_fire_suggestions, 500); }); } function gdlm_ls_maybe_fire_suggestions(){ // reset timer gdlmls_keyup_timeout = null; // do suggestions gdlm_ls_current_location_suggestion(); _value = gdlmls_selected ? jQuery(gdlmls_selected).val() : ''; _chars = parseInt( geodir_location_params.autocompleter_min_chars ); if ( ! _value || _chars < 1 || ( _chars > 0 && _value && parseInt( _value.length ) >= _chars ) ) { gdlm_ls_city_suggestion(); gdlm_ls_region_suggestion(); gdlm_ls_country_suggestion(); } } function gdlm_ls_maybe_suggest_more() { if ( gdlmls_doing_search == 0 && gdlmls_country.length == 0 && gdlmls_region.length == 0 && gdlmls_city.length == 0 && gdlmls_neighbourhood.length == 0 ) { $input = jQuery(gdlmls_selected).val(); if ($input) { if ((typeof google !== 'undefined' && typeof google.maps !== 'undefined')) { gdlm_ls_google_suggestions($input); } } else { jQuery(gdlmls_selected).parent().find("ul.gdlmls-more").empty(); } } } function gdlm_ls_neighbourhood_suggestion() { var $search = jQuery(gdlmls_selected).val(); if ($search) { jQuery.ajax({ type: "GET", url: geodir_params.api_url + "locations/neighbourhoods/?search=" + $search, success: function(data) { gdlmls_neighbourhood = data; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); html = ''; jQuery.each(gdlmls_neighbourhood, function(index, value) { html = html + gdlm_ls_create_li('neighbourhood', value); }); jQuery(gdlmls_selected).parent().find("ul.gdlmls-neighbourhood").empty().append(html); }, error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } else { gdlmls_neighbourhood = []; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); jQuery(gdlmls_selected).parent().find("ul.gdlmls-city").empty(); } } function gdlm_ls_city_suggestion() { var $search = jQuery(gdlmls_selected).val(); if ($search) { jQuery.ajax({ type: "GET", url: geodir_params.api_url + "locations/cities/?search=" + $search, success: function(data) { gdlmls_city = data; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); html = ''; jQuery.each(gdlmls_city, function(index, value) { html = html + gdlm_ls_create_li('city', value); }); jQuery(gdlmls_selected).parent().find("ul.gdlmls-city").empty().append(html); }, error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } else { gdlmls_city = []; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); jQuery(gdlmls_selected).parent().find("ul.gdlmls-city").empty(); } } function gdlm_ls_region_suggestion() { var $search = jQuery(gdlmls_selected).val(); if ($search) { jQuery.ajax({ type: "GET", url: geodir_params.api_url + "locations/regions/?search=" + $search, success: function(data) { gdlmls_region = data; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); html = ''; jQuery.each(gdlmls_region, function(index, value) { html = html + gdlm_ls_create_li('region', value); }); jQuery(gdlmls_selected).parent().find("ul.gdlmls-region").empty().append(html); }, error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } else { gdlmls_region = []; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); jQuery(gdlmls_selected).parent().find("ul.gdlmls-region").empty(); } } function gdlm_ls_country_suggestion() { var $search = jQuery(gdlmls_selected).val(); if ($search) { jQuery.ajax({ type: "GET", url: geodir_params.api_url + "locations/countries/?search=" + $search, success: function(data) { gdlmls_country = data; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); html = ''; jQuery.each(gdlmls_country, function(index, value) { html = html + gdlm_ls_create_li('country', value); }); jQuery(gdlmls_selected).parent().find("ul.gdlmls-country").empty().append(html); }, error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } else { gdlmls_country = []; gdlmls_doing_search--; gdlm_ls_maybe_suggest_more(); jQuery(gdlmls_selected).parent().find("ul.gdlmls-country").empty(); } } function gdlm_ls_current_location_suggestion() { jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").empty(); // Near me jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").empty().append(gdlm_ls_create_li('near', { type: "near", slug: "me", title: geodir_params.txt_form_my_location })); if (jQuery(gdlmls_selected).val() == '') { var $search_history = JSON.parse(gdlm_ls_get_location_history()); if ($search_history) { jQuery.each($search_history, function(index, value) { jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").append(gdlm_ls_create_li(value.type, value)); }); } if ( ! geodir_location_params.disable_nearest_cities ) { // Add near cities from ip gdlm_ls_nearest_cities(); } } console.log(JSON.parse(gdlm_ls_get_location_history())); } function gdlm_ls_nearest_cities() { if(!gdlmls_doing_nearest){ gdlmls_doing_nearest = true; jQuery.ajax({ type: "GET", url: geodir_params.api_url + "locations/cities/?orderby=ip", success: function(data) { if (data) { jQuery.each(data, function(index, value) { jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").append(gdlm_ls_create_li('city', value)); }); } gdlmls_doing_nearest = false; }, error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); gdlmls_doing_nearest = false; } }); } } function gdlm_ls_create_li($type,$data){ var output; var history = ''; var $delete = ''; var $common_class = 'list-group-item-action c-pointer px-1 py-1 m-0 d-flex justify-content-between'; if($data.history){ history = '<i class="fas fa-history" title="Search history"></i> '; $delete = '<span><i onclick="var event = arguments[0] || window.event; geodir_cancelBubble(event);gdlm_ls_del_location_history(\''+$data.slug+'\');jQuery(this).parent().parent().remove();" class="fas fa-times" title="Remove from history"></i></span> '; }else if($type == 'neighbourhood' || $type == 'city' || $type == 'region' || $type == 'country'){ history = '<i class="fas fa-map-marker-alt"></i> '; } console.log($data); if($type=='neighbourhood'){ if($data.area){$data.city = $data.area;} output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+gdlm_ls_slashit($data.title)+'\',\''+gdlm_ls_slashit($data.city)+'\',\''+$data.country_slug+'\',\''+$data.region_slug+'\',\''+$data.city_slug+'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b>, '+ $data.city + ' (Neighbourhood)</span>'+$delete+'</li>'; }else if($type=='city'){ if($data.area){$data.region = $data.area;} output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+gdlm_ls_slashit($data.title)+'\',\''+gdlm_ls_slashit($data.region)+'\',\''+$data.country_slug+'\',\''+$data.region_slug+'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b>, '+$data.region+' (City)</span>'+$delete+'</li>'; }else if($type=='region'){ if($data.area){$data.country = $data.area;} output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+gdlm_ls_slashit($data.title)+'\',\''+gdlm_ls_slashit($data.country)+'\',\''+$data.country_slug+'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b>, '+$data.country_title+' (Region)</span>'+$delete+'</li>'; }else if($type=='country'){ output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+gdlm_ls_slashit($data.title)+'\',\'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b> (Country)</span>'+$delete+'</li>'; }else if($type=='near'){ output = '<li data-type="'+$type+'" class="gd-near-me text-primary '+$common_class+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+gdlm_ls_slashit($data.title)+'\',\'\',\''+$data.slug+'\');"><span><i class="fas fa-location-arrow"></i> Near: '+ $data.title + '</span></li>'; }else if($type=='near-search'){ output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+gdlm_ls_slashit($data.description)+'\');"><span><i class="fas fa-search"></i> Near: '+ $data.description + '</span></li>'; } return output; } function gdlm_click_action($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug){ if(gdlmls_is_search){ if($type=='neighbourhood' || $type=='city' || $type=='region' || $type=='country'){ $slug = ''; if($type=='neighbourhood'){$slug = $hood_slug;} else if($type=='city'){$slug = $city_slug;} else if($type=='region'){$slug = $region_slug;} else if($type=='country'){$slug = $country_slug;} gdlm_search_fill_location($type,$slug,$title); }else if($type=='near-search'){ gdlm_search_fill_location($type,'',$title); }else if($type=='near'){ gd_get_user_position(gdlm_search_near_me); } }else{ if($type=='neighbourhood' || $type=='city' || $type=='region' || $type=='country'){ gdlm_go_location($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug); }else if($type=='near-search'){ gdlm_go_search($title); }else if($type=='near'){ gd_get_user_position(gdlm_ls_near_me); } } setTimeout(function() { _ua = navigator.userAgent.toLowerCase(); isChrome = /chrome/.test(_ua); isWin10 = /windows nt 10.0/.test(_ua); if (isChrome && isWin10) { jQuery(".gdlm-location-suggestions").hide(); } },200); } function gdlm_ls_near_me($lat,$lon){ window.location = geodir_params.location_base_url+"near/me/"+$lat+","+$lon+"/"; } function gdlm_ls_near_gps($lat,$lon){ window.location = geodir_params.location_base_url+"near/gps/"+$lat+","+$lon+"/"; } function gdlm_search_near_me($lat,$lon){ gdlm_search_fill_location('near','me',"Near: "+geodir_params.txt_form_my_location,$lat,$lon) } function gdlm_search_fill_location($type,$slug,$title,$lat,$lon){ if($type=='near'){ }else if($type=='near-search'){ $type=''; }else{ var txtType; if ($type == 'country') { txtType = '(Country)'; } else if ($type == 'region') { txtType = '(Region)'; } else if ($type == 'city') { txtType = '(City)'; } else if ($type == 'neighbourhood') { txtType = '(Neighbourhood)'; } else { txtType = "("+$type+")"; } $title = "In: "+$title+" "+txtType; } jQuery('.geodir-location-search-type').val($slug).attr('name', $type); jQuery('.sgeo_lat').val($lat); jQuery('.sgeo_lon').val($lon); jQuery('.snear').val($title).trigger('change'); // fire change event so we can check if we need to add in-location class } function gdlm_go_search($text){ if (window.gdMaps === 'google') { var geocoder = new google.maps.Geocoder(); geocoder.geocode({'address': $text}, function (results, status) { if (status == 'OK') { // console.log(results); $lat = results[0].geometry.location.lat(); $lon = results[0].geometry.location.lng(); gdlm_ls_near_gps($lat,$lon); } else { alert("Search was not successful for the following reason :" + status); } }); } else if (window.gdMaps === 'osm') { geocodePositionOSM(false, $text, false, false, function(geo) { if (typeof geo !== 'undefined' && geo.lat && geo.lon) { console.log(results); } else { alert("Search was not successful for the requested address."); } }); } } function gdlm_ls_search_location($type,$term){ jQuery.ajax({ type: "GET", url: geodir_params.api_url+$type+"/?search="+$term, success: function(data) { console.log(data); return data; //jQuery('#' + map_canvas_var + '_loading_div').hide(); //parse_marker_jason(data, map_canvas_var); }, error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } function gdlm_go_location($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug){ // save search history before redirect gdlm_ls_set_location_history($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug); window.location = gdlm_ls_location_url($country_slug,$region_slug,$city_slug,$hood_slug); // console.log( gdlm_ls_location_url($country_slug,$region_slug,$city_slug,$hood_slug)); } function gdlm_ls_location_url($country_slug,$region_slug,$city_slug,$hood_slug){ //$url = geodir_params.location_url.slice(0, -1); // get location url without the ending slash $url = geodir_params.location_base_url; // get location url without the ending slash var show_country = 1; var show_region = 1; var show_city = 1; var show_hood = 0; if(show_country && $country_slug){ $url += ""+$country_slug+"/"; } if(show_region && $region_slug){ $url += ""+$region_slug+"/"; } if(show_city && $city_slug){ $url += ""+$city_slug+"/"; } if(show_hood && $hood_slug){ $url += ""+$hood_slug+"/"; } return $url; } function gdlm_ls_get_location_history(){ if (geodir_is_localstorage() === true) { return gdlm_ls_history = localStorage.getItem("gdlm_ls_history"); }else{ return ''; } } function gdlm_ls_del_location_history($slug){ gdlmls_do_not_close = true; if (geodir_is_localstorage() === true) { gdlm_ls_history = JSON.parse(localStorage.getItem("gdlm_ls_history")); var found = ''; console.log(gdlm_ls_history); jQuery.each(gdlm_ls_history, function(index, value) { if($slug && $slug==value.slug){ // its already in the list so bail. //gdlm_ls_history.splice(index, 1); found = index; } }); if(found!==''){ gdlm_ls_history.splice(found, 1); // store the user selection localStorage.setItem("gdlm_ls_history", JSON.stringify(gdlm_ls_history)); } } setTimeout(function(){gdlmls_do_not_close = false;}, 200); } function gdlm_ls_set_location_history($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug){ // set a searched location if (geodir_is_localstorage() === true) { var gdlm_ls_history = localStorage.getItem("gdlm_ls_history"); var $exists = false; if (!gdlm_ls_history || gdlm_ls_history === undefined) { gdlm_ls_history = [] }else{ gdlm_ls_history = JSON.parse(gdlm_ls_history); jQuery.each(gdlm_ls_history, function(index, value) { console.log(value); if(value.type == $type && value.title==$title){ // its already in the list so bail. $exists = true; } }); } if(!$exists){ $slug = $city_slug; if($type=='neighbourhood'){ $slug = $hood_slug; }if($type=='city'){ $slug = $city_slug; }else if($type=='region'){ $slug = $region_slug; }else if($type=='country'){ $slug = $country_slug; } var $location = { history:true, // set it as historical type:$type, title:$title, country_slug:$country_slug, region_slug:$region_slug, city_slug:$city_slug, hood_slug:$hood_slug, slug:$slug, area:$area }; console.log(gdlm_ls_history); console.log($location); gdlm_ls_history.unshift($location); // gdlm_ls_history = $location; // only keep latest 5 searches if(gdlm_ls_history.length > 5){ gdlm_ls_history.pop(); } } // store the user selection localStorage.setItem("gdlm_ls_history", JSON.stringify(gdlm_ls_history)); } } function gdlm_ls_google_suggestions($search){ // Create a new session token. if(!gdlmls_google_sessionToken){ gdlmls_google_sessionToken = new google.maps.places.AutocompleteSessionToken(); } // display function var displaySuggestions = function(predictions, status) { if (status != google.maps.places.PlacesServiceStatus.OK) { return; } console.log(predictions); html = ''; predictions.forEach(function(prediction) { html = html + gdlm_ls_create_li('near-search', prediction); }); jQuery(gdlmls_selected).parent().find("ul.gdlmls-more").empty().append(html); }; if(!gdlmls_google_service){ gdlmls_google_service = new google.maps.places.AutocompleteService(); } gdlmls_google_service.getPlacePredictions({ input: $search, sessionToken: gdlmls_google_sessionToken, types: ['geocode'] // restrict to locations not establishments //@todo implement country restrictions: https://developers.google.com/maps/documentation/javascript/reference/3/places-widget#ComponentRestrictions }, displaySuggestions); } function gdlm_ls_slashit(str) { if (str) { str = str.replace(/'/g, "\\'"); } return str; } /** * Open the location switcher */ function geodir_lm_setup_switcher_trigger() { var no_show = false; // Clear the location and redirect to the base location page jQuery(".gdlmls-menu-icon").on("click", function(event){ no_show = true; event.preventDefault(); window.location = geodir_params.location_base_url; }); // detect the menu item location switcher click jQuery('a[href$="#location-switcher"]').on("click", function(event){ // prevent the hash being added to the url event.preventDefault(); // only fire if the click is not the clear location button. if(!no_show){ jQuery('#gdlm-switcher').modal('show').on('shown.bs.modal', function (e) { jQuery('.modal .geodir-location-search').trigger("focus").trigger("click"); // second open might not trigger dropdown so we check. setTimeout(function(){ if( jQuery('.modal .geodir-location-search').attr('aria-expanded')=='false' ){ jQuery('.modal .geodir-location-search').dropdown('show'); } }, 200); }); } }); } jQuery(document).ready(function() {geodir_lm_setup_switcher_trigger()}); </script> <!-- Matomo --> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://stats.our-hometown.com/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '425']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Matomo Code --> <style>html{font-size:16px;}</style><style media="all" id="siteorigin-panels-layouts-footer">/* Layout w665f13d8b6377 */ #pgc-w665f13d8b6377-0-0 , #pgc-w665f13d8b6377-1-0 { width:100%;width:calc(100% - ( 0 * 30px ) ) } #pg-w665f13d8b6377-0 , #pg-w665f13d8b6377-1 , #pl-w665f13d8b6377 .so-panel { margin-bottom:30px } #pgc-w665f13d8b6377-2-0 { width:40%;width:calc(40% - ( 0.6 * 30px ) ) } #pgc-w665f13d8b6377-2-1 , #pgc-w665f13d8b6377-2-2 { width:30%;width:calc(30% - ( 0.7 * 30px ) ) } #pl-w665f13d8b6377 .so-panel:last-of-type { margin-bottom:0px } #pg-w665f13d8b6377-0> .panel-row-style { padding:150px 150px 150px 150px } #pg-w665f13d8b6377-0.panel-has-style > .panel-row-style, #pg-w665f13d8b6377-0.panel-no-style { -webkit-align-items:center;align-items:center } #pg-w665f13d8b6377-1.panel-has-style > .panel-row-style, #pg-w665f13d8b6377-1.panel-no-style , #pg-w665f13d8b6377-2.panel-has-style > .panel-row-style, #pg-w665f13d8b6377-2.panel-no-style { -webkit-align-items:flex-start;align-items:flex-start } #pgc-w665f13d8b6377-2-0 { align-self:auto } @media (max-width:780px){ #pg-w665f13d8b6377-0.panel-no-style, #pg-w665f13d8b6377-0.panel-has-style > .panel-row-style, #pg-w665f13d8b6377-0 , #pg-w665f13d8b6377-1.panel-no-style, #pg-w665f13d8b6377-1.panel-has-style > .panel-row-style, #pg-w665f13d8b6377-1 , #pg-w665f13d8b6377-2.panel-no-style, #pg-w665f13d8b6377-2.panel-has-style > .panel-row-style, #pg-w665f13d8b6377-2 { -webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column } #pg-w665f13d8b6377-0 > .panel-grid-cell , #pg-w665f13d8b6377-0 > .panel-row-style > .panel-grid-cell , #pg-w665f13d8b6377-1 > .panel-grid-cell , #pg-w665f13d8b6377-1 > .panel-row-style > .panel-grid-cell , #pg-w665f13d8b6377-2 > .panel-grid-cell , #pg-w665f13d8b6377-2 > .panel-row-style > .panel-grid-cell { width:100%;margin-right:0 } #pgc-w665f13d8b6377-2-0 , #pgc-w665f13d8b6377-2-1 { margin-bottom:30px } #pl-w665f13d8b6377 .panel-grid-cell { padding:0 } #pl-w665f13d8b6377 .panel-grid .panel-grid-cell-empty { display:none } #pl-w665f13d8b6377 .panel-grid .panel-grid-cell-mobile-last { margin-bottom:0px } } /* Layout w67929f8d34e05 */ #pgc-w67929f8d34e05-0-0 { width:100%;width:calc(100% - ( 0 * 30px ) ) } #pl-w67929f8d34e05 .so-panel { margin-bottom:30px } #pl-w67929f8d34e05 .so-panel:last-of-type { margin-bottom:0px } #pg-w67929f8d34e05-0.panel-has-style > .panel-row-style, #pg-w67929f8d34e05-0.panel-no-style { -webkit-align-items:flex-start;align-items:flex-start } @media (max-width:780px){ #pg-w67929f8d34e05-0.panel-no-style, #pg-w67929f8d34e05-0.panel-has-style > .panel-row-style, #pg-w67929f8d34e05-0 { -webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column } #pg-w67929f8d34e05-0 > .panel-grid-cell , #pg-w67929f8d34e05-0 > .panel-row-style > .panel-grid-cell { width:100%;margin-right:0 } #pl-w67929f8d34e05 .panel-grid-cell { padding:0 } #pl-w67929f8d34e05 .panel-grid .panel-grid-cell-empty { display:none } #pl-w67929f8d34e05 .panel-grid .panel-grid-cell-mobile-last { margin-bottom:0px } } /* Layout w67929f8e5c486 */ #pgc-w67929f8e5c486-0-0 { width:100%;width:calc(100% - ( 0 * 30px ) ) } #pl-w67929f8e5c486 .so-panel { margin-bottom:30px } #pl-w67929f8e5c486 .so-panel:last-of-type { margin-bottom:0px } #pg-w67929f8e5c486-0.panel-has-style > .panel-row-style, #pg-w67929f8e5c486-0.panel-no-style { -webkit-align-items:flex-start;align-items:flex-start } @media (max-width:780px){ #pg-w67929f8e5c486-0.panel-no-style, #pg-w67929f8e5c486-0.panel-has-style > .panel-row-style, #pg-w67929f8e5c486-0 { -webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column } #pg-w67929f8e5c486-0 > .panel-grid-cell , #pg-w67929f8e5c486-0 > .panel-row-style > .panel-grid-cell { width:100%;margin-right:0 } #pl-w67929f8e5c486 .panel-grid-cell { padding:0 } #pl-w67929f8e5c486 .panel-grid .panel-grid-cell-empty { display:none } #pl-w67929f8e5c486 .panel-grid .panel-grid-cell-mobile-last { margin-bottom:0px } } /* Layout w66fc282116ff3 */ #pgc-w66fc282116ff3-0-0 { width:100%;width:calc(100% - ( 0 * 30px ) ) } #pg-w66fc282116ff3-0 , #pl-w66fc282116ff3 .so-panel:last-of-type { margin-bottom:0px } #pl-w66fc282116ff3 .so-panel { margin-bottom:30px } #pg-w66fc282116ff3-0.panel-has-style > .panel-row-style, #pg-w66fc282116ff3-0.panel-no-style { -webkit-align-items:flex-start;align-items:flex-start } @media (max-width:780px){ #pg-w66fc282116ff3-0.panel-no-style, #pg-w66fc282116ff3-0.panel-has-style > .panel-row-style, #pg-w66fc282116ff3-0 { -webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column } #pg-w66fc282116ff3-0 > .panel-grid-cell , #pg-w66fc282116ff3-0 > .panel-row-style > .panel-grid-cell { width:100%;margin-right:0 } #pl-w66fc282116ff3 .panel-grid-cell { padding:0 } #pl-w66fc282116ff3 .panel-grid .panel-grid-cell-empty { display:none } #pl-w66fc282116ff3 .panel-grid .panel-grid-cell-mobile-last { margin-bottom:0px } } </style> <script> function geodir_event_get_calendar($container, params) { var $calendar,data; $calendar = jQuery('.geodir_event_calendar', $container); $calendar.addClass('geodir-calendar-loading'); data = 'action=geodir_ajax_calendar' + params + geodir_event_params.calendar_params; jQuery.ajax({ type: "GET", url: geodir_params.ajax_url, data: data, beforeSend: function() { jQuery('.gd-event-cal-title', $container).html(''); $calendar.find('.gd-div-loader').show(); }, success: function(html) { $calendar.removeClass('geodir-calendar-loading').html(html); $calendar.find('.gd-div-loader').hide(); jQuery('#cal_title', $container).appendTo(".gd-event-cal-title"); aui_init(); } }); } </script> <link rel='stylesheet' id='sow-headline-default-e7616d7b1d55-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-headline-default-e7616d7b1d55.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='sow-button-flat-41cfabb69aa5-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-button-flat-41cfabb69aa5.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='siteorigin-widget-icon-font-fontawesome-css' href='https://d2x67q1m9cxoc8.cloudfront.net/so-widgets-bundle/icons/fontawesome/style.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='siteorigin-panels-front-css' href='https://d2x67q1m9cxoc8.cloudfront.net/siteorigin-panels/css/front-flex.min.css?ver=2.31.3' type='text/css' media='all' /> <link rel='stylesheet' id='sow-features-default-0eaa0a0a9183-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-features-default-0eaa0a0a9183.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='siteorigin-widgets-css' href='https://d2x67q1m9cxoc8.cloudfront.net/so-widgets-bundle/widgets/features/css/style.css?ver=1.64.2' type='text/css' media='all' /> <link rel='stylesheet' id='sow-button-flat-733f01bea10f-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-button-flat-733f01bea10f.css?ver=5.8.4' type='text/css' media='all' /> <link rel='stylesheet' id='sow-button-atom-6ed1d202ebcf-css' href='https://www.vpa.net/wp-content/uploads/siteorigin-widgets/sow-button-atom-6ed1d202ebcf.css?ver=5.8.4' type='text/css' media='all' /> <script type='text/javascript' id='adrotate-clicktracker-js-extra'> /* <![CDATA[ */ var click_object = {"ajax_url":"https:\/\/www.vpa.net\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/adrotate-pro/library/jquery.adrotate.clicktracker.js' id='adrotate-clicktracker-js'></script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/ohtnav/js/scrolling-tables.js?ver=1.0.0' id='oht_scrolling_tables-js'></script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/wpsolr-search-engine/wpsolr/core/bower_components/jsurl/url.js?ver=20.1' id='urljs-js'></script> <script type='text/javascript' src='https://www.vpa.net/wp-content/themes/clementine/assets/js/main.js?ver=5.8.4' id='main-js'></script> <script type='text/javascript' id='wpinv-front-script-js-extra'> /* <![CDATA[ */ var WPInv = {"ajax_url":"https:\/\/www.vpa.net\/wp-admin\/admin-ajax.php","nonce":"06b7d995cd","txtComplete":"Continue","UseTaxes":"","formNonce":"ea0da00b33","loading":"Loading...","connectionError":"Could not establish a connection to the server."}; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/invoicing/assets/js/payment-forms.js?ver=1739803872' id='wpinv-front-script-js'></script> <script type='text/javascript' id='siteorigin-panels-front-styles-js-extra'> /* <![CDATA[ */ var panelsStyles = {"fullContainer":"body","stretchRows":"1"}; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/siteorigin-panels/js/styling.min.js?ver=2.31.3' id='siteorigin-panels-front-styles-js'></script> <script type='text/javascript' id='simpleParallax-js-extra'> /* <![CDATA[ */ var parallaxStyles = {"mobile-breakpoint":"780px","disable-parallax-mobile":"","delay":"0.4","scale":"1.2"}; /* ]]> */ </script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/siteorigin-panels/js/lib/simpleparallax.min.js?ver=5.5.1' id='simpleParallax-js'></script> <script type='text/javascript' src='https://d2x67q1m9cxoc8.cloudfront.net/ohtnav/js/rememberme.js?ver=5.0.7' id='rememberme-js'></script> <!-- Cookie Notice plugin v2.2.3 by Hu-manity.co https://hu-manity.co/ --> <div id="cookie-notice" role="dialog" class="cookie-notice-hidden cookie-revoke-hidden cn-position-bottom" aria-label="Cookie Notice" style="background-color: rgba(50,50,58,1);"><div class="cookie-notice-container" style="color: #fff;"><span id="cn-notice-text" class="cn-text-container">We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.</span><span id="cn-notice-buttons" class="cn-buttons-container"><a href="#" id="cn-accept-cookie" data-cookie-set="accept" class="cn-set-cookie cn-button" aria-label="Ok" style="background-color: #00a99d">Ok</a></span><span id="cn-close-notice" data-cookie-set="accept" class="cn-close-icon" title="No"></span></div> </div> <!-- / Cookie Notice plugin --><script type="text/javascript" src="https://www.vpa.net/wp-content/themes/dolores/assets/js/lastload_injector.js" async></script></body> </html> <!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Object Caching 317/491 objects using Redis Page Caching using Redis Served from: www.vpa.net @ 2025-02-17 18:49:45 by W3 Total Cache -->