Apraksts
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
- Support is handled on our site: http://orbisius.com/support/
- Please do NOT use the WordPress forums or other places to seek 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
Uzstādīšana
- Upload the zip package within WP Admin > Plugins > Add
- Activate the plugin through the ‘Plugins’ menu in WordPress
BUJ
- Installation Instructions
-
- Upload the zip package within WP Admin > Plugins > Add
- 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.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Orbisius Snippets” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Orbisius Snippets” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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