Support » Plugin: WP Job Manager » removing job meta details from single job listing

  • Resolved colin73

    (@colin73)


    Hi, we’d like to remove the job description from the single job listing display I believe this is called the job meta ?

    It’s the part that starts with a company logo then company name, company tagline and on the right-hand side “website” link .. we would like to remove that whole “box”.

    We have successfully followed the process for template overrides and now have a template directory within the theme and renamed .. we’ve also carried out some minor template changes.

    I’m unsure whether this change can be done via template changes or CSS .. either would be fine for us whatever achieves the results.

    thanks in advance for your help

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Dat Hoang

    (@htdat)

    Hi there,

    Thank you for contacting us!

    > It’s the part that starts with a company logo then company name, company tagline and on the right-hand side “website” link .. we would like to remove that whole “box”.

    Which part do you mean? I can not imagine which part you’re talking to when looking at http://www.staging2.collabor8online.co.uk/job/vehicle-technician-oc5603/

    > I’m unsure whether this change can be done via template changes or CSS .. either would be fine for us whatever achieves the results.

    With CSS, that’s up to each case. As I see you’re using Divi with its own page builder? That might matter here.

    With the template change, that seems possible.

    You’d need to override our default template file to do this. Here’s a general tutorial:

    https://wpjobmanager.com/document/template-overrides/

    The file to override in this case is:

    /wp-content/plugins/wp-job-manager/templates/content-job_listing.php

    That said, we aren’t able to actually write the code for you. You may want to look into one of these services if you need help:

    http://jobs.wordpress.net/

    http://studio.envato.com/

    https://codeable.io/

    Thanks!

    Best Regards,

    Hi and thanks for the reply.

    to be clear, the part were trying to remove is the box at the top of the posting that begins with a small octane logo then contains this text
    £22,000-£32,000
    Tag
    and to the right of it there is a website link.

    It’s that whole box we would like to remove

    We have overridden the default templates as described in the tutorial and would be ready to make some minor changes to the PHP code directly, but would appreciate some guidance as to which aspect of the code “e.g. in single_job_listing.php?” Needs to be removed or commented out? … to stop this “meta” appearing at the top of each single job posting.

    many thanks

    Colin

    Plugin Author jonryan

    (@jonryan)

    Hi @colin73,

    I think the two best ways to remove this is just using CSS, or using this method where your remove the action of adding the meta box. https://github.com/Automattic/WP-Job-Manager/blob/1fcf1892e7eff6d42062646f891b60b3ad9dbcd6/wp-job-manager-template.php#L1127

    Here is instruction on how to remove actions: https://codex.wordpress.org/Function_Reference/remove_action

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘removing job meta details from single job listing’ is closed to new replies.