Hi,
I am using 20-11 with showcase. I would like to display all posts full (or cut with the more tag), not just the top one. I googled some tweaks to get excerpt on the homepage, but that's not what I want.
Thanks!
Hi,
I am using 20-11 with showcase. I would like to display all posts full (or cut with the more tag), not just the top one. I googled some tweaks to get excerpt on the homepage, but that's not what I want.
Thanks!
please create a child theme http://codex.wordpress.org/Child_Themes of Twenty Eleven first to work with - if you haven't already.
do not edit Twenty Eleven directly, as an unedited default theme is needed in case of problems.
then copy content-featured.php into your child theme and edit the line with:
<?php the_excerpt(); ?>
change to:
<?php the_content(); ?>Thanks, but It didn't do anything :( Are you sure I should edit the featured post php? That one is ok (homepage shows the full post), I need to display the remaning recent posts as full posts (not just title)
Yes I am using child theme
without a link to your site, I can only guess:
try to edit showcase.php:
<li class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
<span class="comments-link">
and add something like this before the line with <span class="comments-link">:
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->Thanks, this brought some progress, the posts are displayed as full now, but the text is all bold (seems like the style of title and content mixed together) and more tag is ignored.
The site is eurokriza.sk
and more tag is ignored
read http://codex.wordpress.org/Customizing_the_Read_More#How_to_use_Read_More_in_Pages
please leave the edits active in the site so somebody can check what is not working;
also post the full code of the edited template into http://pastebin.com/ and post the link to it here.
Thank you very much for help. The read more tag is working now. The style is still broken. I will leave the change for some hours, so anyone can have a look...
Solved thanks to Zeaks
This topic has been closed to new replies.