'post', 'number_posts' => 3, 'wrap_padding_left' => 10, 'wrap_padding_right' => 10, 'wrap_padding_top' => 10, 'wrap_padding_bottom' => 10, 'wrap_border_width' => 0, 'wrap_border_color' => '#000000', 'wrap_border_radius' => 0, 'post_list_row_gap' => 0, 'image_align' => 'left', 'image_size' => 'none', 'border_radius' => 0, 'hide_titles' => '', 'link_titles' => '', 'title_font_size' => '24', 'title_font_align' => 'left', 'post_date_font_size' => '14', 'post_date_font_align' => 'left', 'post_content_font_size' => '16', 'post_content_font_align' => 'left', 'show_content' => 'none', 'button_text' => 'Read more', 'button_text_font_size' => '16', 'button_color' => '#000000', 'button_text_color' => '#ffffff', 'button_border_radius' => '3', 'button_align' => 'left', 'block_padding_left'=>15, 'block_padding_right'=>15, 'block_padding_top' => 20, 'block_padding_bottom' => 20, 'block_background'=>'#eeeeee' ); $options = array_merge($default_options, $options); $title_style = TNP_Composer::get_title_style($options, 'title', $composer); $post_date_style = TNP_Composer::get_title_style($options, 'post_date', $composer); $post_content_style = TNP_Composer::get_title_style($options, 'post_content', $composer); $button_text_style = TNP_Composer::get_title_style($options, 'button_text', $composer); $text_style = TNP_Composer::get_style($options, '', $composer, 'text'); $post_custom_html_style = TNP_Composer::get_style($options, '', $composer, 'post_custom_html'); ?>
$options['post_type'], 'posts_per_page' => $options['number_posts'] ); if( $options['post_order'] == 'title_asc' ){ $post_list_args['orderby'] = 'title'; $post_list_args['order'] = 'ASC'; } else if( $options['post_order'] == 'title_desc' ){ $post_list_args['orderby'] = 'title'; $post_list_args['order'] = 'DESC'; } else if( $options['post_order'] == 'date_asc' ){ $post_list_args['orderby'] = 'date'; $post_list_args['order'] = 'ASC'; } else if( $options['post_order'] == 'date_desc' ){ $post_list_args['orderby'] = 'date'; $post_list_args['order'] = 'DESC'; } $posts_list = get_posts($post_list_args); ?>
ID) ).'" inline-class="featured-image-link">'; } ?> '; } ?>

ID) ).'" inline-class="title-link">'; } ?> post_title ); ?> '; } ?>

post_date) ) ); ?>

ID, $options['excerpt_length'] ) ); } else { echo wp_kses_post( get_the_excerpt( $post->ID ) ); } ?>
ID) ); ?>
ID ) ); ?>