Is this correct get_template_part() in WordPress?

I think you have to enter the_post();, after have_post(),for more information on get_template_part(); refer to codex