.entry-summary{
text-align: justify;
}
p::before {
content: “\A”;
white-space: pre;
line-height:1;
display: block;
}

 

<div class=”entry-summary”>
<?php if (is_sticky()){
the_content();
}
else
the_excerpt();
?>
</div><!– .entry-summary –>

 

if ( is_sticky() ) :
// Displaying full content for the sticky post.
the_content( sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( ‘Continue reading<span class=”screen-reader-text”> “%s”</span>’, ‘theme-textdomain’ ),
array(
‘span’ => array(
‘class’ => array(),
),
)
),
get_the_title()
) );
else :
the_excerpt(); // Displaying excerpt for the archive pages.
endif;

One Reply to “Hello world!”

Leave a Reply

Your email address will not be published. Required fields are marked *