Support » Fixing WordPress » Excerpts and the More tag

  • Hi,

    I am pretty new and don’t fully understand how the code behind the “excerpt” and/or “more” tag works.

    When I change the code to “the_excerpt” from “the_content” I see that it cuts the text down, but the elipses and the title don’t link to the full text (same deal when I insert the “more” tag instead of the excerpt thing. What am I missing?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you have a single.php file? Because if not, then WordPress will use your index.php to display the post – and there you will have defined only the excerpts to be displayed.

    You might want to check out the Codex, specifically these two sections.

    Let us know if you need more help.

    Thanks! It wasn’t the single.php file, in this case, but that tip led me to play around and look at the files more, comparing one blog I had that worked vs. this one that didn’t. I can’t say that exploration helped with this particular matter, either, but, I did find out that the “more” tag works when the permalinks are set up in the default convention of “p=n” (n being the post number) and does not work when the permalinks are set up to be the date/word structure. At least this was my experience.

    Is there any technical reason this may be the case? Or just a quirky thing with my set-up?

    Playing with these files is alot of fun and I’m hoping it will help me begin to learn little bits about programming.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Excerpts and the More tag’ is closed to new replies.