List jobs from Jobbnorge.no
Author: | PerS (profile at wordpress.org) |
WordPress version required: | 5.9 |
WordPress version tested: | 6.4.2 |
Plugin version: | 2.1.5 |
Added to WordPress repository: | 24-01-2023 |
Last updated: | 30-11-2023 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://wordpress.org/plugins/jobbnorge-block... |
Total downloads: | 3 433 |
Active installs: | 20+ |
Click to start download |
In 2.0 the new Jobbnorge API is used, and the following features are available ( ~~strikethrough~~ means removed, since it’s not in the new API):
- Sort jobs bye deadline, closest first.
- Does not show jobs that are past the deadline.
- Set the number of jobs to display.
- ~~Set the number of words in the excerpt.~~
- Set the no jobs message.
- Show or hide the job excerpt.
- Show or hide the job deadline.
- Show or hide the job scope.
- ~~Show or hide the job duration.~~
- Display the jobs in a grid or list view.
- Set the number of columns in the grid view.
New features in 2.0:
– Add more than one employer.
– If more than one employer is added, order jobs by employer or deadline.
– Define which employers are available in the block, using the jobbnorge_employers
filter.
Filters
jobbnorge_employers
The jobbnorge_employers
filter can be used to define which employers are available in the block:
add_filter( 'jobbnorge_employers', function( $employers ) {
$employers = [
[
'label' => 'Select employer',
'value' => '',
'disabled' => true, // Optional.
],
[
'label' => 'Employer 1',
'value' => '1234',
],
[
'label' => 'Employer 2',
'value' => '5678',
],
];
return $employers;
} );
jobbnorge_cache_path
The jobbnorge_cache_path
filter can be used to define the cache path. Default is WP_CONTENT_DIR . '/cache/jobbnorge'
.
jobbnorge_cache_time
The jobbnorge_cache_time
filter can be used to define the cache time. Default is 30 * MINUTE_IN_SECONDS
.
GitHub
The plugin is also available on GitHub
Screenshots
FAQ
ChangeLog