// If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : if ( bloggingpro_is_amp() ) { /* Add Non AMP Version using
and id="version-switch-link" */ $nonamp_link = amp_remove_endpoint( amp_get_current_url() ); echo ''; } else { comments_template(); } endif;endwhile; // End of the loop. ?>