Advertisement:

Author Topic: Disable Publishing date  (Read 1815 times)

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Disable Publishing date
« on: October 26, 2014, 09:06:41 pm »
Dear All,
Please help me to disable Publishing date in classified whoever published items.

i do not want the date for my Ad.

Anbarasu

  • Newbie
  • *
  • Posts: 10
  • 3.5.x | Real Estate theme
Re: Disable Publishing date
« Reply #1 on: December 04, 2014, 07:43:25 am »
Removing the pub date may cause stability issues in the site. You can manually remove the publishing date hook from search_gallery.php, item.php and main.php that takes care of the issue. Do the same for mobile theme.

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Disable Publishing date
« Reply #2 on: December 05, 2014, 12:39:56 am »
@kuppusaj
This is very easy. You do not need to remove it, simply hide it.
Go to your theme files, to show publish date it is used function osc_item_pub_date() ;)