Support » Plugin: Custom Code » featured images at category pages not shown

  • Resolved pps888

    (@pps888)


    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/

Viewing 1 replies (of 1 total)
  • 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();
    }
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘featured images at category pages not shown’ is closed to new replies.