I am trying use the <!--more-->
in WP, but its does not work. I’m using
Wordpress 3.6.1. What is the problem?
Text in redactor of post:
Abc<!--more-->cba
How I use:
<?php
$args = array( 'posts_per_page' => 10, 'order'=> 'ASC', 'orderby' => 'title' );
$postslist = get_posts( $args );
foreach ($postslist as $post) : setup_postdata($post); ?>
<div>
<?php the_date(); ?>
<br />
<?php the_title(); ?>
<?php the_excerpt(); ?>
<?php the_content(); ?>
</div>
<?php endforeach; ?>
i havent used redactor plugin (is the redactor plugin what you are talking about?).
just tested, if you add
<!--more-->
into editor, then wp 3.6.1 definitely removes comments and replaces it with<span>
tag, but only does this when post is viewed from frontend, so it is still saved in db as<!--more-->
, interesting.on wp 3.5.2 this didn’t happen for me. by the way i’m not using redactor when i tried this test.
is this what you mean