• my site is: http://www.pakstop.com/info/

    Now the problem i am having is following. I added the the_excerpt() in my index so that it wud show summary of each update on main page instead of showing full article. But for some reason when i click on article to read , then on the next page of article it shows the same “short summary” text that was on the main page aswell, and IT DOES NOT show the complete article..and the pics.

    This is how my index looks the code: http://www.mypastebin.com/?code=1735849139

    What have i done wrong? can someone help. Thanks. I tried switching theme and same problem.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m guessing your theme doesn’t have a single.php template, thus your single page view is the same as the index. And since index uses excerpt, so will single.

    If that’s the case, let us know, and we can direct you to a solution for it.

    Thread Starter ggnetworks

    (@ggnetworks)

    The templates it got is:

    files

    * Stylesheet
    * Main Index Template
    * Page Template
    * Comments
    * Popup Comments

    now i restored the files and theme as it was b4..but all articles are showing fully on main page, where as on main page i only want the first few lines like paragraph.

    so what shall i do

    I’d copy the index.php file and save it as single.php
    Then you can change your index.php to have the_excerpt

    that’s the easiest solution.

    If you’d like to learn more about templates and themes, you can look around the codex Templates

    Thread Starter ggnetworks

    (@ggnetworks)

    great miklb working like a charm now.

    any way to restrict the the_excpert to show only the first 200 letters or 100..instead of the current limit.

    and last thing on main page at the end of each article it says […] but it has no link for “read more” ..which template do i edit so i can replace that […] with read more? and what will the exact code be.

    thanks a ton for the help

    you should look at this plugin
    http://guff.szub.net/2005/02/26/the-excerpt-reloaded/
    it will allow you to do all the things are asking about, as those options are not built into WP.

    Thread Starter ggnetworks

    (@ggnetworks)

    just last thing on the main page after each article it says […] but it has no link where it says read more.

    http://www.pakstop.com/info/

    can u tell me which template i have to modify with what code

    Thread Starter ggnetworks

    (@ggnetworks)

    so anyone?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘when u click on subject to read article it doesnt show the full text’ is closed to new replies.