PHPackages                             soderlind/norwegian-stopwords-searchwp4 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. soderlind/norwegian-stopwords-searchwp4

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

soderlind/norwegian-stopwords-searchwp4
=======================================

Norwegian stopwords for SearchWP 4

1.1.1(2y ago)014GPL-2.0-or-laterPHP

Since May 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/soderlind/norwegian-stopwords-searchwp4)[ Packagist](https://packagist.org/packages/soderlind/norwegian-stopwords-searchwp4)[ Docs](https://github.com/soderlind/norwegian-stopwords-searchwp4)[ RSS](/packages/soderlind-norwegian-stopwords-searchwp4/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

> Want to autoactivate the default search index? I have [a plugin that does that](https://github.com/soderlind/autoactivate-searchwp-index)

Norwegian Stopwords for SearchWP 4
==================================

[](#norwegian-stopwords-for-searchwp-4)

Norwegian, bokmål and nynorsk, stopwords are missing in SearchWP 4. This plugin will add them if your locale is `no_NB` or `no_NN`

```
add_filter( 'searchwp\stopwords', __NAMESPACE__ . '\stopwords' );

function stopwords( array $stopwords ) : array {
	$locale = strtolower( substr( get_locale(), 0, 2 ) );
	switch ( $locale ) {
		case 'nb':
		case 'nn':
			$default_stopwords = explode(
				',',
				_x(
					'about,an,are,as,at,be,by,com,for,from,how,in,is,it,of,on,or,that,the,this,to,was,what,when,where,who,will,with,www',
					'Comma-separated list of search stopwords in your language'
				)
			);

			return get_option( 'searchwp_stopwords', $default_stopwords );
		default:
			return $stopwords;
	}
}
```

Installation
------------

[](#installation)

You know the drill,

- [Download](https://github.com/soderlind/norwegian-stopwords-searchwp4/archive/refs/heads/main.zip)
- Add to the plugins folder
- Activate.

Credits
-------

[](#credits)

The stopwords are from the WordPress translation, [bokmål](https://translate.wordpress.org/projects/wp/dev/nb/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=70980&filters%5Btranslation_id%5D=2917948) and [nynorsk](https://translate.wordpress.org/projects/wp/dev/nn/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=70980&filters%5Btranslation_id%5D=2940685).

Copyright and License
---------------------

[](#copyright-and-license)

Norwegian Stopwords for SearchWP 4 is copyright 2023 Per Søderlind

Norwegian Stopwords for SearchWP 4 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

Norwegian Stopwords for SearchWP 4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see .

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

1075d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1649452?v=4)[Per Søderlind](/maintainers/soderlind)[@soderlind](https://github.com/soderlind)

---

Top Contributors

[![soderlind](https://avatars.githubusercontent.com/u/1649452?v=4)](https://github.com/soderlind "soderlind (17 commits)")

### Embed Badge

![Health badge](/badges/soderlind-norwegian-stopwords-searchwp4/health.svg)

```
[![Health](https://phpackages.com/badges/soderlind-norwegian-stopwords-searchwp4/health.svg)](https://phpackages.com/packages/soderlind-norwegian-stopwords-searchwp4)
```

###  Alternatives

[spatie/statamic-health

Check the health of your Statamic app

115.3k](/packages/spatie-statamic-health)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
