public function render_block_type_1( $post, $image_size ) { $thumbnail = $this->get_thumbnail( $post->ID, $image_size ); $primary_category = $this->get_primary_category( $post->ID ); $tags = get_the_tags( $post->ID ); // get the tag $tag = implode( ' ', apply_filters( 'limit_tag', $tags ) ); // filter tag and array to string $output = "
" . jnews_edit_post( $post->ID ) . " " . $thumbnail . "
{$primary_category}

" . get_the_title( $post ) . "

" . $this->post_meta_1( $post ) . "

" . $this->get_excerpt( $post ) . "

" . $tag /* display the tag */ . "

" . jnews_return_translation( 'Read more', 'jnews', 'read_more' ) . "
"; return $output; }