Show images on category pages

Discussion in 'WordPress' started by greatlogix, Mar 11, 2008.

  1. #1
    greatlogix, Mar 11, 2008 IP
  2. tarendra

    tarendra Banned

    Messages:
    188
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think the problem is with your archive or category page. Please check your theme folder for archive.php or category.php you can see a code

    <?php the_excerpt('...'); ?>
    PHP:
    Change it to
    <?php the_content('...'); ?>
    PHP:
    I think this will solve your problem.
     
    tarendra, Mar 11, 2008 IP
    greatlogix likes this.
  3. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #3
    That's because your category archives are only showing the titles of the posts rather than the whole post.

    In order to change that you need to make some hard-coding changes to a file called archive.php

    so in your WordPress admin click: Presentation, then click Theme Editor,
    then select the file on the right called archive.php (it could be just called Archives)

    then look for this code:
    <div class="entry">
    <br />
    </div>

    and replace it with this:
    <div class="entry">

    <?php the_content('Read More &raquo;'); ?>

    </div>

    then click "update file"
     
    arwen54, Mar 11, 2008 IP
    greatlogix likes this.
  4. greatlogix

    greatlogix Active Member

    Messages:
    664
    Likes Received:
    13
    Best Answers:
    1
    Trophy Points:
    85
    #4
    Thanks arwen54,

    I have followed your instructions and it's working now. :) Green Rep to you.

    Thanks tarendra for your time and suggestion. Green rep to you too.
     
    greatlogix, Mar 11, 2008 IP