Support » Plugin: WP Date Remover » Removing dates from selected Categories or Posts

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m looking for the same thing. If you found a solution, please post it.

    Edit the php file on line 27. Could be:

    if(function_exists($location) and is_category('Name')) /* we add the category to exclude */

    Where name is your category.

    Even though my code does not hide dates from a single post.

    OK,got something that works. No sure how correct it is. If any expert PHP coder can post something better, please do it.

    if(function_exists($location) && in_category('Pratiche SPASS')  ) /* we add the category to exclude */
    		{
    			remove_date($date_functions);
    		}
    		if(function_exists($location) && is_category('Pratiche SPASS')  ) /* we add the category to exclude */
    		{
    			remove_date($date_functions);
    		}
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing dates from selected Categories or Posts’ is closed to new replies.