The MU forums have moved to WordPress.org

auto adding < more > tag (3 posts)

  1. sallam
    Member
    Posted 18 years ago #

    Is there a way to force adding the < more > tag, after 2 or 3 lines in each post created?
    I use adsense ads in posts, and if a user posted all his articles in the front page, people will hardly go to the post page and so no one will view the ad there!

  2. sallam
    Member
    Posted 18 years ago #

    anyone please?
    How can I add the <!--more--> tag as a default? what is the file to add that to?

  3. sallam
    Member
    Posted 18 years ago #

    OK, I found a solution to this: I've enabled only to show post titles in the index page. That way, people will have to click on the title to go read the post. This way I can also allow many posts to show in each page, instead of the default 10 per page.

    If anyone wants to do the same, here is how:
    goto themes > theme name > index.php
    find and remove:
    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>

    No need for the <-- more --> tag then. Does anyone know from where can I remove it from the post editing form?

About this Topic