function create_testimonials() { $labels = array( 'name' => 'Testimonials', 'singular_name' => 'Testimonials', 'menu_name' => 'Testimonials', 'parent_item_colon' => 'Parent Testimonial:', 'all_items' => 'All Testimonials', 'view_item' => 'View Testimonial', 'add_new_item' => 'Add New Testimonial', 'add_new' => 'New Testimonial', 'edit_item' => 'Edit Testimonial', 'update_item' => 'Update Testimonial', 'search_items' => 'Search Testimonials', 'not_found' => 'No Testimonials found', 'not_found_in_trash' => 'No Testimonials found in Trash', ); $args = array( 'label' => 'Testimonials', 'description' => 'Testimonials post type', 'labels' => $labels, 'supports' => array( 'title', 'excerpt', 'thumbnail', 'revisions', 'page-attributes', 'editor'), 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 5, 'can_export' => true, 'has_archive' => false, 'exclude_from_search' => false, 'capability_type' => 'page', 'menu_icon' => plugins_url( 'gm_icon_bw.png', __FILE__ ), ); register_post_type( 'testimonials', $args ); } // Hook into the 'init' action add_action( 'init', 'create_testimonials', 0 ); ?> global $gm_testimonials_meta_boxes; $gm_testimonials_meta_boxes = array(); $gm_testimonials_meta_boxes[] = array( 'id' => 'testimonials_extra', 'title' => 'Profile Info', 'pages' => array( 'testimonials' ), 'context' => 'normal', 'priority' => 'high', 'fields' => array( array( 'name' => 'Location', 'id' => "gm_testimonials_location", 'desc' => 'Example: San Diego, CA', 'type' => 'text', 'std' => '', ), array( 'name' => 'Date', 'id' => "gm_testimonials_date", 'type' => 'date', // jQuery date picker options. See here http://jqueryui.com/demos/datepicker 'js_options' => array( 'appendText' => '(yyyy-mm-dd)', 'dateFormat' => 'yy-mm-dd', 'changeMonth' => true, 'changeYear' => true, 'showButtonPanel' => true, ), ), ), 'validation' => array( 'rules' => array( "gm_testimonials_location" => array( 'required' => true, ), "post_title" => array( 'required' => true, ), ), 'messages' => array( "gm_testimonials_location" => array( 'required' => 'Location is required', ), ) ) ); function gm_testimonials_register_meta_boxes() { if ( !class_exists( 'RW_Meta_Box' ) ) return; global $gm_testimonials_meta_boxes; foreach ( $gm_testimonials_meta_boxes as $meta_box ) { new RW_Meta_Box( $meta_box ); } } add_action( 'admin_init', 'gm_testimonials_register_meta_boxes' ); /* shortcodes */ function gm_testimonials_shortcode( $atts ) { // set default values if no attributes passed extract( shortcode_atts( array( 'orderby' => 'date', // by post date 'order' => 'DESC', // newest first by default 'meta_key' => '', // meta_key 'display' => 'content', ), $atts ) ); $db_args = array( 'post_type' => 'testimonials', 'order' => $order, 'orderby' => $orderby, 'meta_key' => $meta_key, ); $date_format = "M d, Y"; $testimonials_loop = new WP_Query( $db_args ); if($testimonials_loop->have_posts()) { switch($display) { case "content": $content .= "
Bolt POS offers three customized solutions for your POS hardware needs:<\/p>\r\n
Do you have a traditional brick-and-mortar business with a stationary checkout area? Then our Retail Bundle is perfect for you. Streamline the entire sales process with our cutting-edge cash drawer and card readers.<\/p>\r\n
The Bolt POS Retail includes:<\/strong>\r\n\r\n In addition to streamlining the traditional retail process, our Bolt POS Mobile Bundle makes on-site mobile purchases a snap. Use the Mobile Bundle to speed secure checkouts at seasonal stores, pop-up stores, outdoor events and other mobile venues.<\/p>\r\n The Bolt POS Mobile includes:<\/strong>\r\n\r\n If your business has custom needs, we can customize a hardware package just for you! You can also order individual hardware components separate from our bundle packages.<\/p>\r\n\r\n To order your Bolt POS hardware bundle or individual hardware components, contact us.<\/a> <\/p> Bolt POS offers three customized solutions for your POS hardware needs: The Bolt POS Retail Bundle The Bolt POS Mobile Bundle Bolt POS Customized Hardware If your business has custom needs, we can customize a hardware package just for you! … Continued<\/a><\/p>\n","protected":false},"author":2,"featured_media":1816,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"template-one-column.php","meta":{"footnotes":""},"acf":[],"_links":{"self":[{"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/pages\/789"}],"collection":[{"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/comments?post=789"}],"version-history":[{"count":70,"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/pages\/789\/revisions"}],"predecessor-version":[{"id":1853,"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/pages\/789\/revisions\/1853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/media\/1816"}],"wp:attachment":[{"href":"https:\/\/www.boltpos.com\/wp-json\/wp\/v2\/media?parent=789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\r\n\t
The Bolt POS Mobile Bundle<\/h3>\r\n
\r\n\t
Bolt POS Customized Hardware<\/h1><\/span>\r\n
\r\n\r\n\n\n
\n\t Device<\/strong><\/th> Model<\/strong><\/th> Description<\/strong><\/th>\n<\/tr>\n<\/thead>\n\n \n\t <\/a><\/td> WSP-R240<\/td> Bluetooth magstripe card reader and receipt printer<\/td>\n<\/tr>\n \n\t <\/a><\/td> Shuttle<\/td> Bluetooth magstripe reader, EMV\/Chip reader and PIN pad<\/td>\n<\/tr>\n \n\t <\/a><\/td> CHS 7Ci<\/td> Bluetooth 1D barcode scanner<\/td>\n<\/tr>\n \n\t <\/a><\/td> MK7120-31A38<\/td> Hands Free 1D Retail Barcode Scanner<\/td>\n<\/tr>\n \n\t <\/a><\/td> VB320-BL1616 <\/td> Automatic cash drawer <\/td>\n<\/tr>\n \n\t <\/a><\/td> PD-2Z\/30<\/td> POS electronic scale<\/td>\n<\/tr>\n \n\t <\/a><\/td> VC120S<\/td> Swiveling tablet stand<\/td>\n<\/tr>\n \n\t <\/a><\/td> AK140S<\/td> C clamp tablet stand<\/td>\n<\/tr>\n \n\t <\/a><\/td> V-R100<\/td> 10.4'' screen with electronic tilt adjustment. Built in thermal printer & 2x20 customer display<\/td>\n<\/tr>\n \n\t <\/a><\/td> Android Tablet<\/td> Any tablet with an Android Operating System of 2.3 or above, supports Wi-Fi or 3G\/4G data connection and Bluetooth peripherals of 2.0 or higher<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\r\n<\/div>\r\n<\/div>","protected":false},"excerpt":{"rendered":"