Support » Fixing WordPress » Show Summary NOT Entire Article

  • I have searched out this topic and found what I thought was the answer…however it doesn’t seem to work for me.

    I read I was to replace

    <?php the_content(); ?>


    <?php the_excerpt(); ?>

    When I make the switch…I notice no difference on the index page (am editing index.php)…

    Any idea why this does not work?…I’m using a custom theme, but I don’t think that would be the cause…

Viewing 15 replies - 1 through 15 (of 25 total)
  • Are you sure you are editing the index.php file of the active theme?

    Yep 🙂

    Seeing cache?
    It is difficult to guess without a lnk…

    For sure… here it is:

    Hmm. Doesn’t that theme have its own control panel where you can set what to show: full text or exceprt?

    Yeah I’ve tried that option…

    Under: Options > Reading

    There is a ‘for each article, show’
    – Full text
    – Summary

    I’ve tried both..neither one changes anything…

    No. That’s WordPress options.
    I am thinking about going to Presentation and see if the theme has its own control/options/setting panel. (other themes of the same author have!)

    Ah I see what you mean.

    No, just checked those options and there’s nothing in there for that.

    Any ideas?…

    Aha. Read more carefully the tool you are using (=theme)
    Quote (from the theme’s control panel):
    “Choose the layout for the home.php, the home page. The default layout looks the same as the regular index.”

    Not index, home.php!

    ahhhh…geez I even read that 😛

    Sheesh..ok I made the change in home.php… still no difference 🙁

    I’d contact the author. It seems to me as a bug – something is always overriding the settings.

    James had a question with my blog.txt theme, which we’ve resolved. It wasn’t a bug with the theme, but rather a complication caused by the multiple layout option for the home.php file.

    Basically in the blog.txt home.php file, there are two layouts that are chosen ala conditional based on an option from the Presentation > blog.txt Theme Options menu.

    James had changed the the_content(); for the custom layout, but he was using the default layout so he needed to a change a different, separate the_content();, which I helped him do. One he changed that one to the_excerpt(); he got his desired effect: excerpts on the home page.



    Thanks Scott for posting back the solution. However, may I ask you to be a bit more concrete? Like line# where one should change the_content to the_excerpt when using the default or the custom layout?

    Thank you.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Show Summary NOT Entire Article’ is closed to new replies.