Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3531

    Hello, I would greatly appreciate help with the following Habitat issues:

    Is it possible to remove the date container for a specific post category?

    Is it possible to remove the “no comments” and blog category icons/text for specific posts?

    Is it possible to turn the footer into 2 columns?

    Changing the background color in habitat <default> also changes menu title, widget title, and post title colors; why is that? Where can I manually edit these colors?

    Thank you!

    #42643

    Hey,

    1) Yes – open up single.php and archive.php and search for following code:

    <div class="date_container">
    <span class='day'><?php the_time('d') ?></span>
    <span class='month'><?php the_time('M') ?></span>
    <span class='year'><?php the_time('Y') ?></span>
    <?php if($k_option['single']['acc_tw'] != '') { ?>
    <div class="tweetmeme">
    <script type="text/javascript">
    tweetmeme_source = '<?php echo $k_option['single']['acc_tw']; ?>';
    tweetmeme_url = '<?php echo get_permalink() ?>';
    </script>
    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
    </div>
    <?php } ?>
    <span class='date_container_bottom'></span>
    </div><!-- end date -->

    Replace it with:

    <?php if(is_category() != '20,30') { ?>
    <div class="date_container">
    <span class='day'><?php the_time('d') ?></span>
    <span class='month'><?php the_time('M') ?></span>
    <span class='year'><?php the_time('Y') ?></span>
    <?php if($k_option['single']['acc_tw'] != '') { ?>
    <div class="tweetmeme">
    <script type="text/javascript">
    tweetmeme_source = '<?php echo $k_option['single']['acc_tw']; ?>';
    tweetmeme_url = '<?php echo get_permalink() ?>';
    </script>
    <script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
    </div>
    <?php } ?>
    <span class='date_container_bottom'></span>
    </div><!-- end date -->
    <?php } ?>

    Instead of 20,30 fill in the ids of the categories where you want to remove the date container.

    2) Open up single.php and archive.php amnd replace:

    <div class="entry-head">
    <span class="comments"><?php comments_popup_link(__('No Comments','habitat'), __('1 Comment','habitat'), __('% Comments','habitat')); ?></span>
    <span class="categories"><?php the_category(', '); echo $terms; ?></span>
    </div>

    with:

    <?php if(is_category() != '20,30') { ?>
    <div class="entry-head">
    <span class="comments"><?php comments_popup_link(__('No Comments','habitat'), __('1 Comment','habitat'), __('% Comments','habitat')); ?></span>
    <span class="categories"><?php the_category(', '); echo $terms; ?></span>
    </div>
    <?php } ?>

    Instead of 20,30 fill in the ids of the categories where you want to remove the meta data.

    3) Yes – in footer.php replace:

    if($columns == 4){$last = "last"; }

    with:

    if($columns == 3){$last = "last"; }

    and in sidebar_footer,php (located in the folder theme_options.php) replace:

    $k_option['custom']['footer'] = array('left','center','right');

    with:

    $k_option['custom']['footer'] = array('left','center');

    #42644

    Thanks for the question and the instructions provided. I’d also like to modify the footer, but would like to feature 3 columns. Can you tell me what modifications need to be made to the instructions you’ve provided above?

    #42645

    Hey,

    No. 3) in my post above tells you how to reduce the footer columns (from 4 to 3)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Footer, Post Categories, & Title Colors’ is closed to new replies.