// Controls the featured image sizes function abc($size_arr) { $size_arr = array( 'full' => __( 'Full', 'uabb' ), 'large' => __( 'Large', 'uabb' ), 'medium' => __( 'Medium', 'uabb' ), 'thumbnail' => __( 'Thumbnail', 'uabb' ), 'custom' => __( 'Custom', 'uabb' ), 'nieuwsfoto' => __( 'Nieuwsfoto 750x500', 'uabb' ), 'vierkant' => __( 'Vierkant 750x750', 'uabb' ), 'portret' => __( 'Portret 500x750', 'uabb' ), ); // Add your own size to this array. return $size_arr; } add_filter( 'uabb_blog_posts_featured_image_sizes', 'abc' ); add_image_size( 'nieuwsfoto', 750, 500, true ); add_image_size( 'vierkant', 750, 750, true ); add_image_size( 'portret', 500, 750, true ); add_image_size( 'eventfoto', 750, 393, true ); /* CUSTOM DATUM LOOP VOOR EVENTS */ function fl_builder_loop_query_args_datefilter( $query_args ) { if ( 'custom-eventloop' == $query_args['settings']->id ) { $query_args['post_type'] = 'evenementen'; $query_args['meta_query'] = array( 'relation' => 'OR', 'key' => 'einddatum', 'value' => date('Ymd'), 'type' => 'DATE', 'compare' => '>=' ); } return $query_args; } add_filter( 'fl_builder_loop_query_args', 'fl_builder_loop_query_args_datefilter' ); /* CUSTOM DATUM LOOP VOOR EVENTS */ /* SHORTCODE VOOR DATUM FORMAT */ function acf_date_shortcode( $atts ) { extract( shortcode_atts( array( 'field' => '', 'post_id' => false, 'format_value' => true, 'date_format' => '' ), $atts ) ); $acf_date = get_field( $field, $post_id, $format_value ); $value = date_i18n( $date_format,strtotime($acf_date) ); return $value; } add_shortcode( 'acf_date', 'acf_date_shortcode' ); add_filter( 'gform_rich_text_editor_options', 'my_function', 10, 4 ); Mijn account - Raalte Geeft Ruimte

Mijn account

[woocommerce_my_account]