Hmmm… When I past the post (html) into the “excerpt” box, I have success, but otherwise, posts appear a mess.
Why?
Excerpts strip out formatting yes –
http://codex.ww.wp.xz.cn/Excerpt
But in this case, the excerpt box is the only way I seem to be able to keep any formatting…
Are you talking about the automatic excerpt or the manual excerpt?
Hi
In the index.php file, replace this code:
<?php
if ( has_post_thumbnail()) {
get_template_part( 'content', 'cha1' );
} else {
get_template_part( 'content', 'cha2' );
}
?>
For this:
<article class="chamada">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h3><a href="<?php the_permalink();?>"><?php the_title() ; ?></a></h3>
<?php edit_post_link(); ?>
<p><small><?php
echo str_replace("<img ", "<img title='' ", get_avatar( get_the_author_meta('user_email'), $size = '20', '', ''));
?> <?php the_author_posts_link(); ?> - <?php the_category(', ');?> - <a href="<?php the_permalink();?>"><?php the_date(); ?></a></small></p>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages(); ?>
</div>
</div>
</article>
In the coming days I will update the theme and you can show entire posts on the frontpage choosing the option in Appearance -> Customize.
My mistake. the code to be replaced is:
<article class="chamada">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h3><a href="<?php the_permalink();?>"><?php the_title() ; ?></a></h3>
<?php edit_post_link(); ?>
<p><small><?php
echo str_replace("<img ", "<img title='' ", get_avatar( get_the_author_meta('user_email'), $size = '20', '', ''));
?> <?php the_author_posts_link(); ?> - <?php the_category(', ');?> - <a href="<?php the_permalink();?>"><?php the_date(); ?></a></small></p>
<?php the_excerpt(); ?>
</div>
</article>
Thanks. I’m enjoying this theme very much.