SELECT wp_posts.*, wp_postmeta.* FROM wp_postmeta INNER JOIN wp_posts ON wp_postmeta.meta_value=wp_posts.ID WHERE wp_postmeta.post_id = '6503' AND wp_postmeta.meta_key = '_thumbnail_id'
[vc_row full_width="" parallax_image="" visibility="" css_animation="" center_row="" typography_style="" column_spacing="" tablet_fullwidth_cols="" bg_style="" parallax="" parallax_mobile="" parallax_style="" parallax_direction="" video_bg="" video_bg_overlay="" border_style=""][vc_column width="1/1" style="" visibility="" css_animation="" typo_style="" drop_shadow="" bg_style="" border_style=""][vcex_navbar menu="64" style="buttons" align="center" visibility="" css_animation="" hover_animation="" link_color="" border_radius="" classes="eventcatmenus"][/vc_column][/vc_row][vc_row full_width="" parallax_image="" visibility="" css_animation="" center_row="yes" typography_style="light" column_spacing="" tablet_fullwidth_cols="" bg_style="stretch" parallax="" parallax_mobile="" parallax_style="" parallax_direction="" video_bg="" video_bg_overlay="" border_style="solid" border_color="#ffffff" border_width="0px" padding_top="10px" margin_bottom="10px" id="home-event"…