Remove Category & Publish Date from Listing pages

Discussion in 'GeoCraft WordPress Theme' started by joshualevisturm, Jan 5, 2013.

  1. joshualevisturm

    joshualevisturm Member

    Joined:
    Dec 1, 2012
    Messages:
    75
    Likes Received:
    1
    I see no reason for these to clutter the page...how do I remove the Category & Publish Date from the listing pages (without removing the whole box with the web address)?
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Open
    single-listing.php file and remove code given below as shown in image.

    Code:
        <?php
                                if ($p_categories):
                                    ?>
                                    <tr>
                                        <td class="label category"><?php echo S_CATEGORY; ?></td>
                                        <td><?php echo $p_categories; ?></td>
                                    </tr>
                                <?php endif; ?>
                                <tr>
                                    <td class="label date"><?php echo S_P_DATE; ?> </td>
                                    <td><?php the_time('F j, Y'); ?></td>
                                </tr>

    [​IMG]
     

Share This Page