Forums

[resolved] Entry-title attribute problem - where the heck is it? (3 posts)

  1. thenewhustle
    Member
    Posted 2 years ago #

    Hey guys:

    Probably a quick fix - I can't find the .entry-title attribute in my theme's CSS, it's just not there - yet on my category page it keeps calling it and loading a non-existant image?

    see http://www.thenewhustle.net/category/motivation

    There's a line and an image I want to delete - but I can't find where it keeps getting called from. Tried everything in my category.php file: here's what it looks like:

    <?php get_header(); ?>
    <div id="content">

    <?php $post = $posts[0]; ?>
    <?php if (is_category()) : ?>
    <h3 class="entry-title"><?php single_cat_title(); ?></h3>
    <?php elseif (is_day()) : ?>
    <h3 class="entry-title">Archive for <?php the_time('F jS, Y'); ?></h3>
    <?php elseif (is_month()) : ?>
    <h3 class="entry-title">Archive for <?php the_time('F, Y'); ?></h3>
    <?php elseif (is_year()) : ?>
    <h3 class="entry-title">Archive for <?php the_time('Y'); ?></h3>
    <?php elseif( is_tag() ) : ?>
    <h3 class="entry-title"><?php single_tag_title(); ?></h3>
    <?php elseif (isset($_GET['paged']) && !empty($_GET['paged'])) : ?>
    <h3 class="entry-title">Blog Archives</h3>
    <?php endif; ?>

    <?php $temp_category = single_cat_title('',false); if (!empty($temp_category)){ // give index ?>
    <h1><?php single_cat_title(); ?></h1>
    <p><?php echo(category_description(the_category_ID(false))); ?></p>
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>

  2. "><?php the_title(); ?>

  3. <?php endforeach; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    <?php }else{ // give details or single post ?>
    ...... code for normal post overview
    <?php } ?>
    </div>
    <?php get_footer(); ?>

    Any help GREATLY appreciated - two hours of frustration!

  • thenewhustle
    Member
    Posted 2 years ago #

    So it has nothing to do with that really ... I think it has to do with the <?php $post = $posts[0]; ?> - where can I edit this function to either delete the image call and/or correct the folder it's telling it to point to?

  • thenewhustle
    Member
    Posted 2 years ago #

    None of my other pages besides the category page have this issue. So frustrating!

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags