ignivamanish / wordpress-job-manager

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

Job page exerts #551

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Enter a description of the feature you'd like to be added.
I was wondering, on the job main page, it seems to show 100% of the job 
description on this page, is there anyway to make it just display 200 
characters then view details button to take to that job page.
At moment the page is very long because it has all jobs full descriptions.

Original issue reported on code.google.com by creates...@gmail.com on 30 May 2013 at 3:22

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 2:27