Forums

"Category" showing everything (1 post)

  1. adamsg
    Member
    Posted 4 years ago #

    Hey guys, I'm having a small problem. Since I am starting out learning PHP and all that, I couldn't figure it out. I as hoping that one of you have.

    I'm using a theme derived from Hemingway (actually the problem occurs in the orig. Hemingway as well...) When I click to show a single category, it shows ALL posts and pages, regardless of the category the post was tagged under.(as an archive should I guess.)

    Also, no matter what I do, I can't get it to show the category name by using the command
    <?php echo single_cat_title(); ?>
    I'm having to use the code
    <h1><?php echo the_category(); ?></h1> instead.
    I've tried what's listed at this post, but it was no help.

    Any help on this would be appreciated. If you need more code to actually see what is going on, I basically haven't changed anything from the original installation of Hemingway.

    Thanks,
    Adam

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags