Advertisement:

Author Topic: [wizard] how to remove date of publication?  (Read 364 times)

dummie

  • Newbie
  • *
  • Posts: 1
[wizard] how to remove date of publication?
« on: August 19, 2018, 04:42:34 pm »
Really need help! Please help dummy to remove the publication date of the ad in a latest ads on a main page.
« Last Edit: August 19, 2018, 04:44:13 pm by dummie »

digitalsense

  • Jr. Member
  • **
  • Posts: 94
  • Hello there!
Re: [wizard] how to remove date of publication?
« Reply #1 on: August 20, 2018, 07:59:04 am »
add this css to your homepage

.latest_ads .date {
    display: none;
}

I hope this helps :)

p206ab

  • Sr. Member
  • ****
  • Posts: 343
Re: [wizard] how to remove date of publication?
« Reply #2 on: August 20, 2018, 11:57:01 am »
Code: [Select]
<?php echo osc_format_date(osc_item_pub_date()); ?>Deleting this from loop-single.php removes the date (also removes it from search lists, not only latest ads).

Probably this would do only to remove it from latest ads on home page:
 
Code: [Select]
<?php if(!osc_is_home_page()  ) { ?>
<?php echo osc_format_date(osc_item_pub_date()); ?>
<?php endif?>