The site does not have a button "Read more" looked at index.php there seems to be spelled out.

<div class="entry"> <?php the_content("Продолжить чтение " . the_title('', '', false)); ?> </div> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <div>Читать статью полностью</div></a> 

In Archive.php worth

  <div class="entry"> <?php the_excerpt () ?> 

How to display a button on the site read more. The Advanced Excerpt plugin helped, but everything is terrible. Can you help?

1 answer 1

the_excerpt () displays a quote from the post (the first n characters, or the text from the separately filled "quote" field) without reference to the article itself.

Try to replace

 <div class="entry"> <?php the_excerpt (); ?></div> 

on

 <div class="entry"> <?php the_content("Продолжить чтение " . the_title('', '', false)); ?></div> 

Or print the link to the article separately:

 <div class="entry"> <?php the_excerpt (); ?></div> <div><a href="<?php the_permalink(); ?>" class="read-more">Читать далее</a></div> 
  • I'll try it out now - DevilScream
  • Helped the second option - DevilScream
  • Such is the question. Now the site displays a button to read more. But visually not very beautiful. Can you tell me how to visually make a button? or right aligned. - DevilScream
  • All design can be done using css. You assign a button height, width, round corners, change text color, etc. to the class . - alenkins