1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Regarding The WP theme editor (the_content)

Discussion in 'Blogging' started by NemoTheOne, Aug 19, 2009.

  1. NemoTheOne

    NemoTheOne Regular Member

    Joined:
    May 18, 2009
    Messages:
    392
    Likes Received:
    70
    Location:
    Castlevania
    I would like, on my page, to show just excerpts, then when users click on the blog entry, obviously they would come to the full article. So I've changed in the in the main index template php file through the theme editor the part where it says

    Code:
    the_content
    to

    Code:
    the_excerpt
    However when doing this, when users click on the story, they are still seeing just AN EXCERPT and that READ MORE link! In fact, clicking on the READ MORE link sends them to the excerpt!!!!

    What could be wrong here? How can I fix?
     
  2. neo

    neo Power Member

    Joined:
    May 5, 2007
    Messages:
    506
    Likes Received:
    368
    In the next line add the following code.
    Code:
    <?php the_content(__('Read more'));?>
     
  3. kukuruyuk

    kukuruyuk Registered Member

    Joined:
    Dec 17, 2008
    Messages:
    82
    Likes Received:
    30
    Home Page:
    PHP:
    <?php the_content(__('Read more'));?>
    must be

    PHP:
    <?php the_excerpt(__('Read more'));?>