WordPress.org

Ready to get started?Download WordPress

Forums

Category shows no content - please help (4 posts)

  1. animas
    Member
    Posted 6 years ago #

    I am new to wordpress. I post photos only, no text on each post. When I click a category al posts are shown but with no image. But clicking title or in frontpage image shows fine.

    Category links for example mysite.com/category/photo/nature/ creating this issue. What did I do wrong?

  2. animas
    Member
    Posted 6 years ago #

    I replaced line 25-27 of archive.php with ` <div class="entry">
    <?php the_content('<p>Read the rest of this entry »</p>'); ?>
    <?php link_pages('<p>Pages: ', '</p>', 'number'); ?>
    </div>`

    That did the trick.
    But I was wondering if there is a ADMIN way to do this.

  3. Ajd777
    Member
    Posted 6 years ago #

    I'm assuming that originally your theme used the_excerpt() no the_content.did.

    There are several plugins that allow you to customize the way the_excerpt displays content, but the "proper" way to do it is to change the themes the way you

  4. animas
    Member
    Posted 6 years ago #

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.