I've established to use publish formats gallery and video additionally towards the standard. I'm editing the loop-single.php allow it different designs for every publish format, but I am to incorporate get_template_part for every publish format.

This is exactly what I've:

<?php
/**
 * The loop that displays a single post.
 *
 * The loop displays the posts and the post content.  See
 * http://codex.wordpress.org/The_Loop to understand it and
 * http://codex.wordpress.org/Template_Tags to understand
 * the tags used in it.
 *
 * This can be overridden in child themes with loop-single.php.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.2
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>


<?php

    if ( has_post_format( 'gallery' )) {
      // code to display the gallery format post here

      get_template_part( 'news' 'gallery' ); // News Gallery Template (news-gallery.php) 

    } else if (has_post_format('video')) {
       // stuff to display the video format post here

        get_template_part( 'news' 'video' ); // News Gallery Template (news-video.php) 

    }else {
       // code to display the normal format post here

        get_template_part( 'news' 'standard' ); // News Gallery Template (news-standard.php) 

    }

    <?php endwhile; // end of the loop. ?>


?>

It's approaching by having an error when I am testing:

Parse error: syntax error, unpredicted T_CONSTANT_ENCAPSED_STRING in /home/judddev/public_html/pitch/wordpress-content/styles/pitch/loop-single.php online 26

Any help could be greatly appreciated.

Add comma between

get_template_part( 'news', 'gallery' )

Give a comma:

get_template_part( 'news', 'gallery' );
                 here ___^

and in the oher calls to get_template_part

<?php
/**
 * The loop that displays a single post.
 *
 * The loop displays the posts and the post content.  See
 * http://codex.wordpress.org/The_Loop to understand it and
 * http://codex.wordpress.org/Template_Tags to understand
 * the tags used in it.
 *
 * This can be overridden in child themes with loop-single.php.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.2
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>


<?php

    if ( has_post_format( 'gallery' )) {
      // code to display the gallery format post here

      get_template_part( 'news', 'gallery' ); // News Gallery Template (news-gallery.php) 

    } else if (has_post_format('video')) {
       // stuff to display the video format post here

        get_template_part( 'news', 'video' ); // News Gallery Template (news-video.php) 

    }else {
       // code to display the normal format post here

        get_template_part( 'news', 'standard' ); // News Gallery Template (news-standard.php) 

    }

    ?>

    <?php endwhile; ?>

Simply need to switch these around out of this:

 <?php endwhile; ?>


    ?>

for this

?>

    <?php endwhile; ?>