Title: Define Constants
Author: ramon fincken
Published: <strong>11. mai, 2011</strong>
Last modified: 22. november, 2021

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/define-constants.svg)

# Define Constants

 Av [ramon fincken](https://profiles.wordpress.org/ramon-fincken/)

[Last ned](https://downloads.wordpress.org/plugin/define-constants.1.2.1.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/define-constants/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/define-constants/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/define-constants/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/define-constants/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/define-constants/)

## Beskrivelse

GUI in backend to define constants without any programming knowledge. Every file
in your theme has access to your constant.
No need to edit a functions.php file 
or a separate plugin file anymore Results in constants like: define(‘MY_CONSTANT’,
$value);

Options: Re-arrange constants (Drag and drop)
 Protect constants as «internal value»
Optional description per constant 🙂

Coding by:
 [Danny van Kooten](https://wordpress.org/extend/plugins/profile/dvankooten)
[MijnPress.nl](http://www.mijnpress.nl) [Twitter profile](http://twitter.com/#!/ramonfincken)
[More plugins](https://wordpress.org/extend/plugins/profile/ramon-fincken)

## Skjermbilder

[⌊Default view
Fullscreen Screenshot 1⌉⌊Default view
Fullscreen Screenshot 1⌉[

Default view [Fullscreen Screenshot 1](https://s.w.org/extend/plugins/define-constants/screenshot-1.png)

## Installasjon

 1. Upload directory `define-constants` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Create some constants
 4. You are ready to go! Every file in your theme has access to your constant.

## Ofte stilte spørsmål

### How does this plugin work?

If you have a contstant named MY_TWITTER_URL … You can use something like this in
your PHP template file: `<a href="<?php echo MY_TWITTER_URL;?>">Twitter</a>`
 Or
install a PHP in post plugin and use

### I have a lot of questions and I want support where can I go?

[http://pluginsupport.mijnpress.nl/](http://pluginsupport.mijnpress.nl/) or drop
me a tweet to notify me of your support topic over here.
 I always check my tweets,
so mention my name with @ramonfincken and your problem.

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«Define Constants» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

 *   [ ramon fincken ](https://profiles.wordpress.org/ramon-fincken/)

[Oversett «Define Constants» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/define-constants)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/define-constants/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/define-constants/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/define-constants/)
med [RSS](https://plugins.trac.wordpress.org/log/define-constants/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.2.1

Bugfix: Style extra div removal. Thanks to Alex for reporting

#### 1.2

First public release

## Meta

 *  Versjon **1.2.1**
 *  Sist oppdatert **5 år siden**
 *  Aktive installasjoner **40+**
 *  WordPress-versjon ** 2.0.2 eller nyere **
 *  Testet opp til **5.8.18**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/define-constants/)
 * Stikkord
 * [constant](https://nb.wordpress.org/plugins/tags/constant/)[Constants](https://nb.wordpress.org/plugins/tags/constants/)
   [define](https://nb.wordpress.org/plugins/tags/define/)[defines](https://nb.wordpress.org/plugins/tags/defines/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/define-constants/advanced/)

## Vurderinger

Ingen omtaler er sendt inn ennå.

[Din omtale](https://wordpress.org/support/plugin/define-constants/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/define-constants/reviews/)

## Bidragsytere

 *   [ ramon fincken ](https://profiles.wordpress.org/ramon-fincken/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/define-constants/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](http://donate.ramonfincken.com)