Remove Publish Date and tags from business details section

Discussion in 'GeoCraft WordPress Theme' started by mealea, Jan 17, 2018.

  1. mealea

    mealea New Member

    Joined:
    Dec 13, 2012
    Messages:
    16
    Likes Received:
    2
    Hi Inkthemes, I have looked through forum but old information on this topic does not seem to help me with the coding in the new 2.0.9 version. Can you assist with the following question.

    How do I remove the "Publish Date" & "Tags" from the business details box. I think it is Grid 10. I understand it is somewhere in single-listing.php but I do not want to remove the wrong lines of code. Which lines of code do I need to rem out to stop them from displaying.

    Thanks.
     
  2. mealea

    mealea New Member

    Joined:
    Dec 13, 2012
    Messages:
    16
    Likes Received:
    2
    Never mind. After experimentation I worked out how to do it.
    If anyone is interested in GeoCraft V2.0.9 I went in to single-listing.php and changed the code for the Publish Date & Tags as shown below.
    Worked for me.

    This is code I used to remove Publish Date from listing page business details box (just insert <!-- before start and add --> at end)(lines 104-107)

    <!--<tr>
    <td class="label date"><?php _e('Publish date :', 'geocraft'); ?> </td>
    <td><?php the_time('F j, Y'); ?></td>
    </tr>-->

    Same applied to removal of Tags. (lines 232-235)

    <!--<tr>
    <td class="label tag"><?php _e('Tag:', 'geocraft'); ?></td>
    <td><?php echo $p_tags; ?></td>
    </tr>-->

    Cheers.
     
  3. akbar92

    akbar92 Support Staff Staff Member

    Joined:
    Jun 3, 2017
    Messages:
    2,318
    Likes Received:
    49
    Sounds awesome.:)
     

Share This Page