'; if (get_the_post_thumbnail($post_id) !== '') { echo '
' . get_the_post_thumbnail($post_id) . '
'; } echo '
'; if (get_the_title() !== '') { echo '
' . get_the_title() . '
'; } echo ''; echo '
'; the_content(); wp_link_pages(array( 'before' => '
', 'after' => '
', 'link_before' => '', 'link_after' => '', 'pagelink' => '%', 'separator' => '', )); echo '
'; if (wp_get_post_tags($post_id)) { echo ' '; } if (!post_password_required() && (comments_open() || get_comments_number())) : echo '

'; comments_number('', '1 ' . esc_html__('Comment', 'apadana') . '', '% ' . esc_html__(' Comments', 'apadana') . ''); echo '

'; comments_template(); echo '
'; endif; if (comments_open()) { echo '
'; $comment_form_fields = array( 'author' => '
', 'email' => '
', ); $comment_form_arg = array( 'fields' => apply_filters('comment_form_default_fields', $comment_form_fields), 'title_reply' => esc_html__('Write a Comment', 'apadana'), 'title_reply_to' => esc_html__('Leave a Reply to %s', 'apadana'), 'cancel_reply_link' => esc_html__('Cancel', 'apadana'), 'comment_field' => '
', 'must_log_in' => '', 'label_submit' => esc_html__('Submit', 'apadana') ); comment_form($comment_form_arg); echo '
'; } echo '
'; echo '
'; } } else { if (is_search()) { echo '
'; echo '

' . esc_html__('Ooops!! Nothing Found Now', 'apadana') . ' :(

'; echo '
' . esc_html__('Please try again with some different keywords.', 'apadana') . '
'; get_search_form(); echo '
'; } } apadana_pagination(); ?>