Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

OS Adder

Skildring

This plugin adds a abbreviation of the operating system (win, mac, linux, iPad, iPhone) to the body-tag.
So if there’s a OS-specific difference, you can easily react to it by using the css-selector (e.g. «.mac»).

Next steps of this plugin:
* adding a settings page
* add the class to specified elements
* add user-language-abbreviation to specified elements

let me know, if you wish something helpful.

Skjermbilete

  • added Class

Installasjon

  1. Upload OS Adder to the /wp-content/plugins/ directory or access it via the wordpress plugin site
  2. Activate the plugin through the «Plugins» menu in WordPress
  3. You’re done.

Vanlege spm.

Does the added Class also tell me if it’s a 32 or 64 bit OS?

No, it’s just «win», «mac», «linux», iPad, iPod, iPhone or «os-unknown».
When it’s a «Linux armv7l»-machine, the plugin outputs «android».

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“OS Adder” is open source software. The following people have contributed to this plugin.

Contributors

Omset “OS Adder” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

0.2

  • adding some Devices

0.1

  • Starting the plugin