WordPress.org

Forums

Custom Code
[resolved] featured images at category pages not shown (2 posts)

  1. pps888
    Member
    Posted 1 year ago #

    hello

    the plugin causes some problem to my category pages.the featured images are not shown. the only page that are shown is the homepage which includes the most recent posts.everywhere else the images are missing and only the title is shown. do u know how i can fix this?

    https://wordpress.org/plugins/custom-code/

  2. pps888
    Member
    Posted 1 year ago #

    ok i found it

    Category.php

    just before <?php the_content();?

    <?php
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
      the_post_thumbnail();
    }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Code
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic