• Resolved Travis

    (@lowburn88)


    Hello,

    I am trying to find which theme file contains the code for displaying the categories page. My goal is to have the home page display full content posts and the categories page to display the excerpt.

    Right now, I can only have one setting or the other, not both.

    According to instructions I have found, in the categories.php page (not listed in this theme), I can change this line:

    <?php the_content(__('Read more »'));?>

    to

    <?php the_excerpt() ?>

    Where can I find this line of code for this theme?
    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Takao Utsumi

    (@utsumit)

    Hi,

    It needs a little bit complexed customization.

    Please copy content.php and rename the file content-summary.php.
    Also, please modify the file to display the excerpt (details are omitted).

    Then, please change ‘archive.php’ line: 27 from
    <?php get_template_part( 'content', get_post_format() ); ?>
    to
    <?php get_template_part( 'content', 'summary' ); ?>

    Thread Starter Travis

    (@lowburn88)

    Thank you very much, this advice was of great help. The site is functioning perfectly now! Kudos to you, Mr. Utsumi

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Categories page’ is closed to new replies.