该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Orbisius Snippets

描述

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

安装

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

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“Orbisius Snippets” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Orbisius Snippets”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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