__('Primaverde', 'mytheme'), 'filter' => array( 'groups' => array('mytheme') ) ); return $tabs; } add_filter('siteorigin_panels_widget_dialog_tabs', 'mytheme_add_widget_tabs', 20); function mytheme_add_widget_icons($widgets){ $widgets['primaverde_afbeelding']['groups'] = array('mytheme'); $widgets['primaverde_file_download']['groups'] = array('mytheme'); $widgets['primaverde_impressie']['groups'] = array('mytheme'); $widgets['primaverde_leesmeer']['groups'] = array('mytheme'); $widgets['primaverde_picto']['groups'] = array('mytheme'); $widgets['primaverde_promo']['groups'] = array('mytheme'); $widgets['MaatTabel']['groups'] = array('mytheme'); return $widgets; } add_filter('siteorigin_panels_widgets', 'mytheme_add_widget_icons'); ?> .forgetmenot { display:none; }'; } ?> "; } //retrieve the_excerpt of the post $content.="
".get_the_content($post_id); //retrieve custom fields value of the post. $content .="".get_post_meta($post_id, "show_facebook", true); $custom_field .="" .get_post_meta($post->ID, 'ink_gm_1', true); $content .= "" . $custom_field; //return your modified infowindow message. return $content; } ?> name, $category); $output .= "\t\n"; } } ?> _x( 'Producten', 'post type general name' ), 'singular_name' => _x( 'Product', 'post type singular name' ), 'add_new' => __( 'Nieuw Product' ), 'add_new_item' => __( 'Plaats nieuw Product' ), 'edit_item' => __( 'Edit Product' ), 'new_item' => __( 'Nieuw Product' ), 'all_items' => __( 'Alle Producten' ), 'view_item' => __( 'Bekijk Product' ), 'search_items' => __( 'Zoek Producten' ), 'not_found' => __( 'Geen producten gevonden' ), 'not_found_in_trash' => __( 'Geen producten in de prullenbak gevonden' ), 'parent_item_colon' => '', 'menu_name' => 'Producten' ); $args = array( 'labels' => $labels, 'description' => 'Holds our products and product specific data', 'public' => true, 'publicly_queryable' => true, 'menu_position' => 5, 'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt', 'page-attributes' ), 'has_archive' => true, 'hierarchical' => true, 'query_var' => true, 'capability_type' => 'post', 'rewrite' => array( 'slug' => 'producten', 'with_front' => true ), ); register_post_type( 'product', $args ); } add_action( 'init', 'woomp_product' ); ?> _x( 'Product Categorien', 'taxonomy general name' ), 'singular_name' => _x( 'Product Category', 'taxonomy singular name' ), 'search_items' => __( 'Search Product Categories' ), 'all_items' => __( 'All Product Categories' ), 'parent_item' => __( 'Parent Product Category' ), 'parent_item_colon' => __( 'Parent Product Category:' ), 'edit_item' => __( 'Edit Product Category' ), 'update_item' => __( 'Update Product Category' ), 'add_new_item' => __( 'Add New Product Category' ), 'new_item_name' => __( 'New Product Category' ), 'menu_name' => __( 'Categorie├źn' ), ); $args = array( 'labels' => $labels, 'hierarchical' => true, 'show_ui' => true, 'query_var' => true, ); register_taxonomy( 'product_category', 'product', $args ); } add_action( 'init', 'my_taxonomies_product', 100 ); ?> body.login #login p#nav {display:none;}'; } add_action('login_head', 'isa_login_css'); ?> 'group_5511c9be88ec6', 'title' => 'Header afbeelding', 'fields' => array ( array ( 'key' => 'field_5511ca226ed6b', 'label' => 'Selecteer een header afbeelding', 'name' => 'header_afbeelding', 'prefix' => '', 'type' => 'image', 'instructions' => 'Upload of kies een pagina afbeelding. Deze zal verschijnen boven in de gekleurde balk onder het menu.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => 'jpg', ), ), 'location' => array ( array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'template-primaverde.php', ), ), array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'template-primaverde-home.php', ), ), array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'template-nieuws.php', ), ), array ( array ( 'param' => 'page_template', 'operator' => '==', 'value' => 'default', ), ), ), 'menu_order' => 0, 'position' => 'side', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array ( 0 => 'permalink', 1 => 'excerpt', 2 => 'custom_fields', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 7 => 'author', 8 => 'format', 9 => 'featured_image', 10 => 'categories', 11 => 'tags', 12 => 'send-trackbacks', ), )); endif; ?> 'el-icon-cogs', 'title' => __('Merken', 'responsive'), 'fields' => array( array( 'title' => __( 'Merk 1', 'responsive' ), 'subtitle' => __( 'Use this field to upload your custom logo for use in the Footer. (Recommended 200px x 40px)', 'responsive' ), 'id' => 'merk_logo', 'default' => '', 'type' => 'media', ), array( 'title' => 'Url', 'subtitle' => 'This is the url', 'id' => 'url_merk', 'default' => '#', 'type' => 'text', ), array( 'title' => __( 'Merk 2', 'responsive' ), 'subtitle' => __( 'Use this field to upload your custom logo for use in the Footer. (Recommended 200px x 40px)', 'responsive' ), 'id' => 'merk_logo2', 'default' => '', 'type' => 'media', ), array( 'title' => 'Url', 'subtitle' => 'This is the url', 'id' => 'url_merk2', 'default' => '#', 'type' => 'text', ), array( 'title' => __( 'Merk 3', 'responsive' ), 'subtitle' => __( 'Use this field to upload your custom logo for use in the Footer. (Recommended 200px x 40px)', 'responsive' ), 'id' => 'merk_logo3', 'default' => '', 'type' => 'media', ), array( 'title' => 'Url', 'subtitle' => 'This is the url', 'id' => 'url_merk3', 'default' => '#', 'type' => 'text', ), array( 'title' => __( 'Merk 4', 'responsive' ), 'subtitle' => __( 'Use this field to upload your custom logo for use in the Footer. (Recommended 200px x 40px)', 'responsive' ), 'id' => 'merk_logo4', 'default' => '', 'type' => 'media', ), array( 'title' => 'Url', 'subtitle' => 'This is the url', 'id' => 'url_merk4', 'default' => '#', 'type' => 'text', ), array( 'title' => __( 'Merk 5', 'responsive' ), 'subtitle' => __( 'Use this field to upload your custom logo for use in the Footer. (Recommended 200px x 40px)', 'responsive' ), 'id' => 'merk_logo5', 'default' => '', 'type' => 'media', ), array( 'title' => 'Url', 'subtitle' => 'This is the url', 'id' => 'url_merk5', 'default' => '#', 'type' => 'text', ), array( 'title' => __( 'Merk 6', 'responsive' ), 'subtitle' => __( 'Use this field to upload your custom logo for use in the Footer. (Recommended 200px x 40px)', 'responsive' ), 'id' => 'merk_logo6', 'default' => '', 'type' => 'media', ), array( 'title' => 'Url', 'subtitle' => 'This is the url', 'id' => 'url_merk6', 'default' => '#', 'type' => 'text', ), ) ); $sections[] = array( "id" => "Kleuren", 'icon' => 'el-icon-cogs', 'title' => __('Kleuren', 'responsive'), 'permissions' => 'manage_network', 'fields' => array( array( "title" => __( 'Navbar Background Color', 'responsive' ), "subtitle" => __( 'Select your preferred color.', 'responsive' ), "id" => "navbar_color", "std" => "#eeeeee", "type" => "color"), array( "title" => __( 'Body Background Color', 'responsive' ), "subtitle" => __( 'Select your preferred color.', 'responsive' ), "id" => "body_color", "std" => "#e6e6e6", "type" => "color"), array( "title" => __( 'Slider Background Color', 'responsive' ), "subtitle" => __( 'Select your preferred color.', 'responsive' ), "id" => "slider_color", "std" => "#13903e", "type" => "color"), array( "title" => __( 'Footer Background Color', 'responsive' ), "subtitle" => __( 'Select your preferred color.', 'responsive' ), "id" => "footer_color", "std" => "#eeeeee", "type" => "color"), ) ); $sections[] = array( "id" => "styling", 'icon' => 'el-icon-cogs', 'title' => __('Styling', 'responsive'), 'permissions' => 'manage_network', 'fields' => array( array( "title" => __( 'Content kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "p_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Content Link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Content link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "p_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Content Link style', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "a_link_style", "std" => "#333333", "type" => "select", "options" => array('none' => 'none', 'underline' => 'underline', 'line-through' => 'line-through' ) ), array( "title" => __( 'Footer kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "footer_p_color", "std" => "#333333", "type" => "color" ), array( "title" => __( 'Footer Link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "footer_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Footer link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "footer_p_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Footer Link style', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "footer_a_link_style", "std" => "#333333", "type" => "select", "options" => array('none' => 'none', 'underline' => 'underline', 'line-through' => 'line-through' ) ), array( "title" => __( 'Header kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "header_p_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Header Link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "header_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Header link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "header_p_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'Header Link style', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "header_a_link_style", "std" => "#333333", "type" => "select", "options" => array('none' => 'none', 'underline' => 'underline', 'line-through' => 'line-through' ) ), array( "title" => __( 'H1 kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h1_text_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H1 link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h1_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H1 link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h1_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H1 Font Size', 'responsive' ), "subtitle" => __( 'Lettergrootte in px (standaard is 32px)', 'responsive' ), "id" => "h1_font_size", "std" => '32px', "type" => "text"), array( "title" => __( 'H1 Font Style', 'responsive' ), "subtitle" => __( 'Select your desired font style.', 'responsive' ), "id" => "h1_font_style", "std" => 'normal', "type" => "select", "options" => array('normal' => 'normal', 'italic' => 'italic', 'bold' => 'bold', 'bold italic' => 'bold italic') ), array( "title" => __( 'H2 kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h2_text_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H2 link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h2_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H2 link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h2_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H2 Font Size', 'responsive' ), "subtitle" => __( 'Lettergrootte in px (standaard is 32px)', 'responsive' ), "id" => "h2_font_size", "std" => '32px', "type" => "text"), array( "title" => __( 'H2 Font Style', 'responsive' ), "desc" => __( 'Select your desired font style.', 'responsive' ), "id" => "h2_font_style", "std" => 'normal', "type" => "select", "options" => array('normal' => 'normal', 'italic' => 'italic', 'bold' => 'bold', 'bold italic' => 'bold italic') ), array( "title" => __( 'H3 kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h3_text_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H3 link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h3_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H3 link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h3_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H3 Font Size', 'responsive' ), "subtitle" => __( 'Lettergrootte in px (standaard is 32px)', 'responsive' ), "id" => "h3_font_size", "std" => '16px', "type" => "text"), array( "title" => __( 'H3 Font Style', 'responsive' ), "desc" => __( 'Select your desired font style.', 'responsive' ), "id" => "h3_font_style", "std" => 'normal', "type" => "select", "options" => array('normal' => 'normal', 'italic' => 'italic', 'bold' => 'bold', 'bold italic' => 'bold italic') ), array( "title" => __( 'H4 kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h4_text_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H4 link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h4_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H4 link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h4_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H4 Font Size', 'responsive' ), "subtitle" => __( 'Lettergrootte in px (standaard is 12px) ', 'responsive' ), "id" => "h4_font_size", "std" => '12px', "type" => "text"), array( "title" => __( 'H4 Font Style', 'responsive' ), "desc" => __( 'Select your desired font style.', 'responsive' ), "id" => "h4_font_style", "std" => 'normal', "type" => "select", "options" => array('normal' => 'normal', 'italic' => 'italic', 'bold' => 'bold', 'bold italic' => 'bold italic') ), array( "title" => __( 'H5 kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h5_text_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H5 link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h5_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H5 link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h5_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H5 Font Size', 'responsive' ), "subtitle" => __( 'Lettergrootte in px (standaard is 32px)', 'responsive' ), "id" => "h5_font_size", "std" => '12px', "type" => "text"), array( "title" => __( 'H5 Font Style', 'responsive' ), "desc" => __( 'Select your desired font style.', 'responsive' ), "id" => "h5_font_style", "std" => 'normal', "type" => "select", "options" => array('normal' => 'normal', 'italic' => 'italic', 'bold' => 'bold', 'bold italic' => 'bold italic') ), array( "title" => __( 'H6 kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h6_text_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H6 link kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h6_a_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H6 link hover kleur', 'responsive' ), "subtitle" => __( 'Geef de kleur op (standaard is #333333)', 'responsive' ), "id" => "h6_ahover_color", "std" => "#333333", "type" => "color"), array( "title" => __( 'H6 Font Size', 'responsive' ), "subtitle" => __( 'Lettergrootte in px (standaard is 32px)', 'responsive' ), "id" => "h6_font_size", "std" => '10px', "type" => "text"), array( "title" => __( 'H6 Font Style', 'responsive' ), "desc" => __( 'Select your desired font style.', 'responsive' ), "id" => "h6_font_style", "std" => 'normal', "type" => "select", "options" => array('normal' => 'normal', 'italic' => 'italic', 'bold' => 'bold', 'bold italic' => 'bold italic') )) ); return $sections; } add_filter("redux/options/bi_option/sections", 'primaverde'); ?>