WordPress: Difference between revisions
imported>Onny mNo edit summary |
imported>Onny mNo edit summary |
||
| Line 19: | Line 19: | ||
=== Language === | === Language === | ||
The default language of the Wordpress module will be English. It is possible to enable additional language support for languages which are [https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=wordpressPackages.languages already packaged]. Using <code> | The default language of the Wordpress module will be English. It is possible to enable additional language support for languages which are [https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=wordpressPackages.languages already packaged]. Using <code>settings</code> you can configure the default language. In this example, we're going to enable the German language. | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||
| Line 50: | Line 50: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Consult the [https://translate.wordpress.org translation portal] of Wordpress for the specific country and language codes available. This example is using the code <code>de_DE</code> (Germany/German) in the source URL and also the <code> | Consult the [https://translate.wordpress.org translation portal] of Wordpress for the specific country and language codes available. This example is using the code <code>de_DE</code> (Germany/German) in the source URL and also the <code>settings</code> part. | ||
=== Themes and plugins === | === Themes and plugins === | ||
| Line 91: | Line 91: | ||
You can package any available Wordpress extension, for example from the [https://wordpress.org/themes official theme] or [https://wordpress.org/plugins plugin repository]. Be sure to replace the ''name'', url and ''sha256'' part according to your desired extension. | You can package any available Wordpress extension, for example from the [https://wordpress.org/themes official theme] or [https://wordpress.org/plugins plugin repository]. Be sure to replace the ''name'', url and ''sha256'' part according to your desired extension. | ||
If you want to automatically enable and activate the ''responsive'' theme, add this <code> | If you want to automatically enable and activate the ''responsive'' theme, add this <code>settings</code> line | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> | ||