Inställningar tema nova-lite

Ändra i filen wp-content/themes/nova-lite/core/templates/after-content.php
Rad 16 och 17, det ska vara the_content();

<?php 

/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */

function novalite_after_content_function() {

	if ((is_home()) || (is_category()) || (is_page() )):
		
		//the_excerpt(); 
		the_content();
	else:
	
		the_content();
		the_tags( '<footer class="line"><span class="entry-info"><strong>'.__( 'Tags','novalite').':</strong> ', ', ', '</span></footer>' );

		if ( get_post_format() )  {
			echo '<footer class="line"><span class="entry-info"><strong>'.__( 'Post type','novalite').':</strong> '.ucfirst(get_post_format()).'</span></footer>';
		} 

		comments_template();
	
	endif;

} 

add_action( 'novalite_after_content', 'novalite_after_content_function', 10, 2 );

?>

Lämna ett svar

Din e-postadress kommer inte publiceras. Obligatoriska fält är märkta *