Support » Plugins » Trouble Implementing PostMash Plugin

  • Hi – I’m trying to implement the PostMash plugin into my site but despite a short set of instructions, I can’t seem to get things working. The instructions can be found here:

    Here’s my index.php file as it stands:

    <?php get_header(); ?>
    			<!--BEGIN #primary .hfeed-->
    			<div id="primary" class="hfeed">
                    if (have_posts()) : while (have_posts()) : the_post(); 
                        // The following determines what the post format is and shows the correct file accordingly
                        $format = get_post_format();
                        get_template_part( 'includes/'.$format );
                        if($format == '')
                        get_template_part( 'includes/standard' );
                     endwhile; endif; 
                    <!--BEGIN .navigation .page-navigation -->
                    <div class="navigation page-navigation">
                        <div class="nav-next"><?php next_posts_link(__('&larr; Older Entries', 'framework')) ?></div>
                        <div class="nav-previous"><?php previous_posts_link(__('Newer Entries &rarr;', 'framework')) ?></div>
                    <!--END .navigation .page-navigation -->
    			<!--END #primary .hfeed-->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I did previously try adding the code before ‘if(have_posts())’ but it didn’t work.

    Any help would be awesome. Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Trouble Implementing PostMash Plugin’ is closed to new replies.