WordPress.org

Ready to get started?Download WordPress

Forums

Job Manager
[resolved] Message When No Jobs Are Listed (12 posts)

  1. steveknarf
    Member
    Posted 2 years ago #

    Currently when no jobs are listed, the default text reads:

    We currently don’t have any jobs available. Please check back regularly, as we frequently post new jobs. In the meantime, you can also send through your résumé, which we’ll keep on file.

    Where can I edit this?

    http://wordpress.org/extend/plugins/job-manager/

  2. archiseek
    Member
    Posted 2 years ago #

    Its in the frontend-jobs.php file about 152 lines down.

  3. steveknarf
    Member
    Posted 2 years ago #

    uh, editing this line crashed my site:

    Parse error: syntax error, unexpected T_STRING in /home/content/23/8892523/html/wp-content/plugins/job-manager/frontend-jobs.php on line 153

    pls help!

  4. archiseek
    Member
    Posted 2 years ago #

    $content .= sprintf( __( "We currently don't have any jobs available. Please check back regularly, as we frequently post new jobs. In the meantime, you can also <a href='%s'>send through your résumé</a>, which we'll keep on file.", 'jobman' ), get_page_link( $applypage->ID ) );

    Is what it should be.

  5. steveknarf
    Member
    Posted 2 years ago #

    I would like to change the message to this:

    We don't have any openings available at this time, but be sure to check back often. In the meantime, feel free to download an application and drop it off at your nearest MSBC location.

    What exactly to I need to replace?

  6. archiseek
    Member
    Posted 2 years ago #

    $content .= sprintf( __( "We don't have any openings available at this time, but be sure to check back often. In the meantime, feel free to <A HREF="YOUR LINK HERE">download an application</A> and drop it off at your nearest MSBC location.", 'jobman' ), get_page_link( $applypage->ID ) );

  7. steveknarf
    Member
    Posted 2 years ago #

    No luck:

    Parse error: syntax error, unexpected T_STRING in /home/content/23/8892523/html/wp-content/plugins/job-manager/frontend-jobs.php on line 153

  8. archiseek
    Member
    Posted 2 years ago #

    ah my fault...

    \\$content .= sprintf( __( "We don't have any openings available at this time, but be sure to check back often. In the meantime, feel free to <a HREF='YOUR LINK HERE'>download an application</a> and drop it off at your nearest MSBC location.", 'jobman' ), get_page_link( $applypage->ID ) );

  9. steveknarf
    Member
    Posted 1 year ago #

    that did it - thanks so much!

  10. Josh Fialkoff
    Member
    Posted 1 year ago #

    Is there a way to do this in the custom functions file so that you can upgrade the plugin?

  11. Gary Pendergast
    Member
    Plugin Author

    Posted 1 year ago #

    Josh: not at the moment. The next major release of Job Manager will have proper filters and actions, so this will be possible.

  12. splatsmurf
    Member
    Posted 1 year ago #

    Can I add the following clarifications for anyone who may need the same query resolved in the future.

    The relevant file is frontend-jobs.php and the phrase to be altered can be found on line 305.

    To edit the file you will need to use an FTP client to retrieve the file from your website server (I used FileZilla).

    Copy the file(adding the term - original to the file name. You can now edit frontend-jobs.php with the confidence of knowing that if it all goes bad there is a backup!

    Editing is simply a matter of using a suitable PHP editor (I used Notepad++).

    Once edited save the file and then FTP it back onto the server.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic