ignivamanish / wordpress-job-manager

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

Job summaries with read-more link #604

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
is there a way to format the job listings page to list each job posting as a 
single line with a link to read the rest of the posting?

Original issue reported on code.google.com by pezmon...@gmail.com on 16 Apr 2014 at 10:01

GoogleCodeExporter commented 8 years ago
Yes absolutely... 

Go to Job Manager - settings - Display Settings.

Scroll down to the 'Job Templates' section..

In the 'Job List Template' html box copy all the current data in there and 
paste it into a notepad text document and save it on your computer as the 
original then delete the contents and paste in the following below. 

If you have any problems post them back and I'll take a look for you. You might 
need to play with the job_field length="200" line to get the summary amount you 
want to work with and fit your template. If all fails then just delete the html 
and paste back in your original :) :-

[job_loop]
<div class="job[job_row_number] job[job_id] [job_odd_even]">
<table class="job-table">
  <tr>
    <th scope="row">Title</th>
    <td>[job_icon] [job_link][job_title][/job_link]</td>
  </tr>
[if_job_categories]
  <tr>
     <th scope="row">Categories</th>
     <td>[job_category_links]</td>
  </tr>
[/if_job_categories]
[job_field_loop]
  [if_job_field]
  <tr>
    <th scope="row">[job_field_label]</th>
    <td>[job_field length="200"]</td>
  </tr>
  [/if_job_field]
[/job_field_loop]
  </table>
</div>
[/job_loop]

[if_job_page_count]
<div class="job-nav">
    <div class="previous">[job_page_previous_link]Page [job_page_previous_number][/job_page_previous_link]</div>
    <div class="this">Jobs [job_page_minimum]-[job_page_maximum] of [job_total]</div>
    <div class="next">[job_page_next_link]Page [job_page_next_number][/job_page_next_link]</div>
</div>
[/if_job_page_count]

Original comment by dannydel...@gmail.com on 6 Jun 2014 at 1:21

GoogleCodeExporter commented 8 years ago
It worked. Thanks!

Original comment by pezmon...@gmail.com on 6 Jun 2014 at 2:37

GoogleCodeExporter commented 8 years ago
Excellent! No problem, Thank you for the Feedback :)

All the best.

Danny.

Original comment by dannydel...@gmail.com on 9 Jun 2014 at 12:45