• Resolved braehler

    (@braehler)


    Hey,

    is it possible to edit an exipred listing?
    Right now, you have to relist it with a package, and then you can edit it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes, you have to add a custom code.

    You can do it this code:
    $actions['edit'] = array( 'label' => esc_html__( 'Edit', 'wp-job-manager' ), 'nonce' => false );

    You have to add this code in line 63 after
    case 'expired' :
    :

    /wp-job-manager/templates/job-dashboard.php

    Remember to any changes make in child-theme to avoid lost the changes after update your theme.

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

    • This reply was modified 5 years, 9 months ago by kibus90.
    • This reply was modified 5 years, 9 months ago by kibus90.
    Thread Starter braehler

    (@braehler)

    Hey,
    thanks a lot, but this does not realy work. I get the option to edit, but when I click on it I get an error “invalid Job”
    is this maybe because we force our customers to choose a package before you are able to submit a listing?

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi @braehler ;

    Since you mention that you are selling packages, then it sounds like you have our WC Paid Listings add-on. If that’s the case, the contact us here and we can help:

    https://wpjobmanager.com/support/

    In any case, your suspicion as to why the code snippet isn’t working is very likely correct.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit an expired listing’ is closed to new replies.