NooTheme Premium WordPress Theme › Forums › JobMonster › Possible to remove when the job was posted?
- This topic has 12 replies, 2 voices, and was last updated 3 years, 10 months ago by IkigaiConnections.
-
AuthorPosts
-
3 years, 11 months ago #1210233
Hello!
Is it possible to remove the text that shows how long a job has been posted? (ex. 7 days ago, 2 months ago, 1 year ago)
Thank you in advance,
KasiaAttachments:
You must be logged in to view attached files.3 years, 11 months ago #1210345Please add custom CSS code to hide it.
.job-date-ago { display: none; }
Best regards.
3 years, 11 months ago #1210388Wonderful! Thank you so much!
3 years, 11 months ago #1210694Hello again,
The start date was removed from the main Jobs list page, but it still shows up in each individual job posting (see attached). Is it possible to show only the expiration date on here, too?
Sincerely,
Kasia
Attachments:
You must be logged in to view attached files.3 years, 11 months ago #1210714Dear, If you want remove date posted on Single Job page, please install and switch your site to use Jobmonster Child Theme, then add custom code in file functions.php of Jobmonster Child theme.
add_filter('jm_the_job_meta_fields', function($fields){ $new_fields = array(); foreach ($fields as $field){ if($field === 'job_date'){ continue; } $new_fields[] = $field; } return $new_fields; });
Best regards.
3 years, 11 months ago #1210744Thank you for this.
Unfortunately, I received an error message when doing so: "Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP."
Please see attached. Is there another suggestion?
Thank you,
Kasia
Attachments:
You must be logged in to view attached files.3 years, 11 months ago #1210775Dear, You can edit file on hosting via use FTP or Cpanel.
3 years, 11 months ago #1210809Hello,
I edited via cPanel and received an error message, as attached.
(Also, I don't know FTP just yet.)
Attachments:
You must be logged in to view attached files.3 years, 11 months ago #1210811For your reference, here is how I added it to the functions.php file of my Child theme folder.
Please advise; thank you very much!
Kasia
Attachments:
You must be logged in to view attached files.3 years, 11 months ago #1210837This reply has been marked as private.3 years, 11 months ago #1210872This reply has been marked as private.3 years, 10 months ago #1210889Dear, Your problem because you add custom code without PHP tag. I have help you to add custom code, Now, please check your site again.
Best regards.
3 years, 10 months ago #1210896Hello Dangdv,
Thank you! Fantastic - it worked perfectly!
Much appreciated,
Kasia
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.