Jobbnorge Block


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.



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


The jobbnorge_cache_path filter can be used to define the cache path. Default is WP_CONTENT_DIR . '/cache/jobbnorge'.


The jobbnorge_cache_time filter can be used to define the cache time. Default is 30 * MINUTE_IN_SECONDS.


The plugin is also available on GitHub


  • Install the block from the Block Directory.
  • Add employer ID.
  • Listview with options.
  • Gridview with options.
  • Custom Select field for employer ID. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Shift-click to select a range of employers.


Este plugin proporciona 1 bloque.

  • Jobbnorge Retrieve and display job listings from


Either, add the block from the Block Directory:

  1. To add a block from the Block Directory, navigate to the post editor.
  2. Place your cursor where you would like a new block option.
  3. Select the “Add Block” button in the top-left area of the editor screen.
  4. Search for “Jobbnorge” and select the “Jobbnorge» block.

Or, add the block from the WordPress admin:

  1. In the WordPress admin, go to the «Plugins» screen, click «Add New» and search for «Jobbnorge».
  2. Click «Install Now» and then «Activate Plugin».
  3. Use the Gutenberg editor to add the block to a page or post.


Where to I find the employer ID?

You get it from your Jobbnorge contact.


No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«Jobbnorge Block» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


«Jobbnorge Block» está traducido en 1 idioma. Gracias a los traductores por sus contribuciones.

Traduce «Jobbnorge Block» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Add uninstall handler. Will remove the cache directory when the plugin is uninstalled.


  • Update translation.


  • Bump version.


  • Update translation.


  • Update translation.


  • Use local cache. The local cache is a simple caching mechanism that stores data in PHP files. In theory, nothing is faster in PHP than loading and executing another PHP file. If you have PHP OPcache enabled, then the PHP content will be cached in memory, and the PHP file will not be parsed again.
  • Add filter for cache path and cache time.


  • BREAKING CHANGE, using the Public Jobbnorge API and you need to add the employer ID.


  • Tested with WordPress 6.3
  • Deadline format fix.


  • Tested with WordPress 6.2


  • Update translation.


  • Rename functions to avoid conflicts.


  • Rename plugin.


  • Initial Release