ignivamanish / wordpress-job-manager

Automatically exported from code.google.com/p/wordpress-job-manager
0 stars 0 forks source link

Page description before job listings #615

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Is there a way to edit the copy that displays on the job listings page, 
before the listing of the jobs? 
2. Right now, we don't have any openings and there is default content that is 
displayed - I want to change this.
3. How do I change the default copy and include a link to our downloadable pdf 
application (this application must be completed due to government requirements).

What is the expected output? What do you see instead?
I want to change the default copy to read: 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 
or download our job application. 

What version of Job Manager are you using?
 0.7.20

What version of WordPress are you using?
3.9.1

Please provide any additional information below.

Original issue reported on code.google.com by larae.er...@gmail.com on 20 Jul 2014 at 6:24

GoogleCodeExporter commented 8 years ago
Sure you can...

You might have to do it in 2 places...

If you have no jobs Follow these steps :-

Plugins - Editor - Over to the right where it says 'Select plugin to edit:' 
Choose 'Job Manager' from the drop down list and then click 'Select' From the 
'Plugin Files' listed click on the file 'job-manager/frontend-jobs.php'. Once 
open in the main code window scroll down and just over half way you will see 
these lines below, edit it with your desired code :-

$content .= '<p>';
        if( 'all' == $cat ||  ! isset( $category->term_id ) ) {
            $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 ) );

When you have jobs follow these steps :-

Job Manager - Settings - Display Settings (tab) - Scroll down to the section 
'Page Text' and add your code to the box "Before the Main Jobs List"

Job done :)

If you get stuck message back here.

All the best.

Danny

Original comment by dannydel...@gmail.com on 21 Jul 2014 at 11:28

GoogleCodeExporter commented 8 years ago
Thanks for your quick response! I'll try that.

Original comment by larae.er...@gmail.com on 21 Jul 2014 at 11:34

GoogleCodeExporter commented 8 years ago
No problem, please let me know how you get on :)

Original comment by dannydel...@gmail.com on 22 Jul 2014 at 8:34

GoogleCodeExporter commented 8 years ago
Hi, Also take a look at this file explained below...

Take a backup copy of frontend-jobs.php file in the Job-Manager folder in the 
plugins directory and save it as frontend-jobs.php.original

Edit the frontend-jobs.php file in the Job-Manager folder in the plugins 
directory...

and look at line 153 :-

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

You can change the text and add the link / form you desire there.

If you mess it up rename frontend-jobs.php.original back to frontend-jobs.php

N.B. ALWAYS TAKE A BACKUP FIRST! :)

Original comment by dannydel...@gmail.com on 22 Jul 2014 at 8:42