Code Widget

Popis

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.
This plugin is developed and maintained by Sharaz Shahid

Snímky obrazovky

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

Nejčastější dotazy

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.

Got a question ?

Send any questions or feedback via my contact form

Recenze

17. 1. 2021
Works fine! I'm using a child theme and have installed this plugin to include a file with custom code in the header section of a website. This way I don't have to include and customize the original header file from parent theme. <?php get_template_part('my-file-name'); ?> Guido
16. 12. 2020
This plugin works well and makes it very easy to run shortcodes or PHP in my widgets.
9. 12. 2020
This is a nice, lightweight plugin that does exactly what I needed, which was to allow me to use PHP in a text widget - although it does more than that. The stock text/custom html widgets that are bundled with WP have some oddities when trying to use PHP in a widget, and this plugin came to my rescue. Also, I posted a suggestion for a future update and the developer pushed out an update quickly - support is awesome. 🙂
20. 10. 2020
I was having trouble using php code in elementor. I tried to achieve it with many ways but I got no success. This plugin really solved my problem. Thanks to developer of this plugin. Cheers..........<>
Přečtěte si všech 15 recenzí

Autoři

Code Widget je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Plugin „Code Widget“ byl přeložen do 1 jazyku. Děkujeme všem překladatelům za jejich pomoc.

Přeložte “Code Widget” do svého jazyka.

Zajímá vás vývoj?

Prohledejte kód, podívejte se do SVN repozitáře, nebo se přihlaste k odběru protokolu vývoje pomocí RSS.

Přehled změn

1.0.10 2021-01-03

  • Code Refactor : code refactor and deactivation feedback fixed.

1.0.9 2020-12-16

  • Compatibility : 5.6 compatibility added

1.0.8 2020-12-04

  • Big fix: call to undefined fo line Code_Widget::deactivate_feedback()

1.0.7 2020-12-02

  • Code Refactor : code refactor and deactivation feedback added.

1.0.6 2020-08-18

  • Compatibility : 5.5 compatibility added

1.0.5 2020-05-02

  • Compatibility : 5.4.1 compatibility added

1.0.4 2020-02-06

  • Enhancement : Thanks to @passoniates for fix missing tag and translation

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