Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Stef

    (@stef1961)

    Hi Siobhan

    Thanks heaps for the details. Incredibly helpful. Completely understand the sense in creating a child theme for mods so when the Resonar updates happen I don’t have to recode.

    But (being somewhat a recalcitrant kinda guy and fearful of extra code forcing extra load, slow performance, etc) I went ahead and modified the index.php file. I know it’s the wrong thing to do, but I’m happy to keep track of changes and modify any updates accordingly.

    Here’s what I deleted…

    /*
    					 * Include the Post-Format-specific template for the content.
    					 * If you want to override this in a child theme, then include a file
    					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    					 */
    					get_template_part( 'content', get_post_format() );

    Then…

    <?php
    		if ( have_posts() ) :
    			// Previous/next page navigation.
    			the_posts_pagination( array(
    				'prev_text'          => __( 'Previous page', 'resonar' ),
    				'next_text'          => __( 'Next page', 'resonar' ),
    				'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'resonar' ) . ' </span>',
    			) );
    		endif;
    	?>

    Now all works a treat. Thanks again for your help with the code. Would never have found my way without it.

    Grazie, Stef

    Thread Starter Stef

    (@stef1961)

    Modified the stylesheet!

Viewing 2 replies - 1 through 2 (of 2 total)