Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Orbisius Snippets

Beskrivning

To use it you need to create/edit a page/post.
Then create a custom field (e.g. orb_snippet1) and paste the snippet into the value box.
To make the snippet show up use this shortcode.
[orb_snippet id=’orb_snippet1′]

Features

  • Super easy to use.
  • Supports SyntaxHighlighter Evolved (if installed) https://wordpress.org/plugins/syntaxhighlighter/)
  • Load a snippet from another page/post (pass post_id=123 to the shortcode)

Usage

To use it you need to create/edit a page/post.
Then create a custom field (e.g. orb_snippet1) and paste the snippet into the value box.
To make the snippet show up use this shortcode.
[orb_snippet id=’orb_snippet1′]

Demo

n/a

Support

Author

Do you need an amazing plugin created especially for your needs? Contact me.
Svetoslav Marinov (Slavi) | Custom Web and Mobile Programming by Orbisius.com

Installation

  1. Upload the zip package within WP Admin > Plugins > Add
  2. Activate the plugin through the ’Plugins’ menu in WordPress

Vanliga frågor

Installation Instructions
  1. Upload the zip package within WP Admin > Plugins > Add
  2. Activate the plugin through the ’Plugins’ menu in WordPress
How are the snippets stored?

They are stored as post meta. Each snippet is tied to the post that uses it.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Orbisius Snippets” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Orbisius Snippets” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.4

  • unescape [ ] used in code with php
  • The settings links was using another plugin’s text.
  • Remvoved the shortcode call

1.0.3

  • There were cases when double quotes weren’t replaced.
  • Tested with latest WP install

1.0.2

  • Unescaped some of the chars because esc_html was making the code look bad in a the syntax highlighting plugin
  • Added another shortcode (plural) just in case.
  • Tested with latest WP install

1.0.1

  • Updated Usage text
  • Fixes the usage in the readme file.
  • Other

1.0.0

  • Initial release