WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Job Manager] Message When No Jobs Are Listed

[Resolved] [Plugin: Job Manager] Message When No Jobs Are Listed

Viewing 11 replies - 1 through 11 (of 11 total)
  • archiseek
    Participant

    @archiseek

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

    steveknarf
    Member

    @steveknarf

    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!

    archiseek
    Participant

    @archiseek

    $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.

    steveknarf
    Member

    @steveknarf

    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?

    archiseek
    Participant

    @archiseek

    $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 ) );

    steveknarf
    Member

    @steveknarf

    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

    archiseek
    Participant

    @archiseek

    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 ) );

    steveknarf
    Member

    @steveknarf

    that did it – thanks so much!

    Josh Fialkoff
    Participant

    @nooozeguy

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

    Plugin Author Gary Pendergast
    Participant

    @pento

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

    splatsmurf
    Member

    @splatsmurf

    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.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] [Plugin: Job Manager] Message When No Jobs Are Listed’ is closed to new replies.