// html { margin-top: 0px !important; } // * html body { margin-top: 0px !important; } // '; //} //add_filter('wp_head','remove_admin_bar_style_frontend', 99); /*** WordPress: Enable feature images ***/ add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 336, 227, true ); // default Post Thumbnail dimensions (cropped) register_sidebar(array( 'name' => __( 'Sidebar' ), 'id' => 'extras-sidebar', 'description' => __( 'Widgets in this area will be shown on the right-hand side on single pages.' ), 'before_title' => '

', 'after_title' => '

' )); function my_search_form( $form ) { $form = ''; return $form; } add_filter( 'get_search_form', 'my_search_form' ); /*** WordPress: Add image sizes ***/ // add_image_size('name',width_1920,height_1080,crop_true_false); function register_my_menus() { register_nav_menus( array( 'nav-menu' => __( 'Navigation Menu' ), 'footer-menu' => __( 'Footer Menu' ) ) ); } add_action( 'init', 'register_my_menus' ); /*** WordPress: Get ID from Slug ***/ function get_ID_by_slug($page_slug) { $page = get_page_by_path($page_slug); if ($page) { return $page->ID; } else { return null; } } /*** ACF: Options Pages ***/ if(function_exists('acf_add_options_sub_page')) { acf_add_options_sub_page(array( 'title' => get_bloginfo('name'), 'parent' => 'options-general.php', 'capability' => 'manage_options' )); } /*** Util: Output Copyright Year in range, based on build year ***/ function copyrightDate($buildYear) { $curYear = date('Y'); if($buildYear == $curYear) { $range = $curYear; } else { $range = $buildYear .'–' . $curYear; } echo '©' . $range . ' ' . get_bloginfo('name') . ', All rights reserved.'; } /*** Util: Check Environments ***/ function is_development(){ if(ENVIRONMENT == 'development'){ return true; }else{ return false; } } function is_staging(){ if(ENVIRONMENT == 'staging'){ return true; }else{ return false; } } function is_production(){ if(ENVIRONMENT == 'production'){ return true; }else{ return false; } } /*** Util: Automatic toggling of Search Engine crawlers based on Environments ***/ function robots_access(){ if(is_production() && get_option('blog_public') == '0') update_option('blog_public','1'); if(!is_production() && get_option('blog_public') == '1') update_option('blog_public','0'); } add_action('init','robots_access'); // Excerpt add_filter('excerpt_length', create_function('$a', 'return 20;')); function new_excerpt_more( $more ) { return '...'; } add_filter('excerpt_more', 'new_excerpt_more'); function limit_words($string, $word_limit) { $words = explode(" ",$string); $wordlength = str_word_count($string); if($wordlength > $word_limit) { return implode(" ",array_splice($words,0,$word_limit)).'...'; } else { return implode(" ",array_splice($words,0,$word_limit)); } }
shutterstock_why choose

Why Choose Precision CARSTAR?  

We are CERTIFIED! Less than 10% of all auto body repair shops nationwide are certified. Considering that today’s automobiles are essentially 2000lb computers on wheels would you really be willing to let just anybody repair your car? A lot of shops can pound out the dents and make your car cosmetically attractive but what about […]

shutterstock_success steps

Repair Process  

The steps to getting your car repaired can be confusing – who’s in charge, who pays, what do I do next…. We would like to eliminate the confusion and keep your repair process as simple (and stress free) as possible. Step #1: Start your repair with the PRECISION CARSTAR Auto Body Repair Experts. Call us […]

Screen Shot 2015-03-21 at 7.22.11 AM

Collision Services  

Precision CARSTAR wants to make your collision repair experience as stress-free as possible. This includes taking care of you as well as taking care of your vehicle. Our complete repair process includes these services: – Complete collision repair for all types of vehicles – old/new, domestic/foreign, cars/trucks – Accurate computerized estimates – Computerized Frame and measuring […]