Code Widget

説明

Code Widget is simple widget allow you to insert any arbitrary Text/HTML and run PHP Code or Short Code. This Widget parse PHP code into simple text and much more.

Only users with the unfiltered_html role will be allowed to insert unfiltered HTML. This includes PHP code, so users without admin or editor permissions will not be able to use this to execute code, even if they have widget editing permissions.

スクリーンショット

  • How short code work.
  • How PHP code work.
  • How HTML Mark add.
  • How Simple Text add and how auto paragraph work.

FAQ

Short Code supported ?

Very simple add [your short code].If you want to see how short code work in this widget see screen shot.

Can we run PHP Code in this widget ?

Yes, All PHP code must be enclosed in the standard php opening and closing tags ( <?php and ?> ) for it to be recognized and executed. Please See screen shot to check how PHP Code work.

There’s some kind of error code-widget.php(188) : eval()’d code on line 6

That means your PHP code is incorrect or otherwise broken.

Can We add Simple HTML Markup ?

just simple add html markup which you want display in widget. See See Screen shot for more help.

Yes, Simple Text also Work in Code Widget ?

As our normal routine we insert any text in widget.

There is any option to add auto Paragraph tag ?

yes check widget setting if you want to add auto paragraph tag for show some beauty and cleanness.

評価

2019年6月6日
Works very well. Used it to get php code into Divi code modules.
3件のレビューをすべて表示

貢献者と開発者

Code Widget はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Code Widget” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Code Widget” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.3

  • Compatibility : 5.2.3 compatibility added

1.0.2

  • Bug Fix : Use of undefined constant CW_TEXT_DOMAIN
  • Compatibility : 5.0.0 compatibility added

1.0.1

  • read me update

1.0.0

  • Short Code Support Added
  • PHP Code Support Added
  • HTML Support Added
  • Simple Text Support Added
  • Auto app Paragraph check Added