рд╣реЗ рдкреНрд▓рдЧрдЗрди WordPress рдЪреНрдпрд╛ рд╢реЗрд╡рдЯрдЪреНрдпрд╛ 3 рдорд╣рддреНрддреНрд╡рд╛рдЪреНрдпрд╛ рдкреНрд░рдореБрдЦ рдкреБрдирд░реНрд╡рд┐рддрд░рдгрд╛рдВрдЪреНрдпрд╛ рд╕рд╛рдереА рдЪрд╛рдЪрдгреА рдЭрд╛рд▓реЗрд▓реЗ рдирд╛рд╣реА. рд╣реЗ рдпреЗрдереЗ рд╡рд╛рдкрд░рд▓реНрдпрд╛рд╕ рд╕рд╛рдорд░реНрдереНрдп рджреЗрдгрд╛рд░ рдирд╛рд╣реА рдХрд┐рдВрд╡рд╛ рддреНрдпрд╛ рдЖрдзрд╛рд░рд┐рдд рдЕрд╕реБ рд╢рдХрддреЗ рдЖрдгрд┐ WordPress рдЪреНрдпрд╛ рдЕрдзрд┐рдХ рдЕрджреНрдпрдпрд╛рд╡рдд рдЖрд╡реГрддреНрддреАрдВрд╕рд╣ рд╡рд╛рдкрд░рддрд╛рдирд╛ рд╕рдВрдЧрддрддрд╛ рд╕рдорд╕реНрдпрд╛рдВрдЪреА рд╢рдХреНрдпрддрд╛ рдЖрд╣реЗ.

Code Widget

рд╡рд░реНрдгрди

Code Widget is simple widget allows you to insert any arbitrary Text/HTML and run PHP Code or Short Code. This Widget parses 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

рд╕реНрдХреНрд░реАрдирд╢реЙрдЯ

рдиреЗрд╣рдореА рд╡рд┐рдЪрд╛рд░рд▓реЗ рдЬрд╛рдгрд╛рд░реЗ рдкреНрд░рд╢реНрди

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 are 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

рд╕рдореАрдХреНрд╖рд╛

рдиреЛрд╡реНрд╣реЗрдВрдмрд░ 1, 2022
I switched from Drupal 7 to WordPress and this is exactly what I needed to spice up the widgets тАУ in Drupal I used something similar for blocks.
рдорд╛рд░реНрдЪ 20, 2022 1 рдЙрддреНрддрд░
There are NO instructions. There is NO place to create the code….. Useless.
рдЬрд╛рдиреЗрд╡рд╛рд░реА 20, 2022
Easy to use and it works perfectly.
рдбрд┐рд╕реЗрдВрдмрд░ 18, 2021
It's great! My work is done with this widget.
рд╕рд░реНрд╡ 35 рдкреБрдирд░рд╛рд╡рд▓реЛрдХрдиреЗ рд╡рд╛рдЪрд╛

рдпреЛрдЧрджрд╛рдирдХрд░реНрддреЗ рдЖрдгрд┐ рд╡рд┐рдХрд╕рдХ

“Code Widget” рд╣реЗ рдореБрдХреНрдд рд╕реНрд░реЛрдд рд╕реЙрдлреНрдЯрд╡реЗрдЕрд░ рдЖрд╣реЗ. рдкреБрдвреАрд▓ рд▓реЛрдХ рдпрд╛ рдкреНрд▓рдЧрдЗрдирдЪреНрдпрд╛ рдирд┐рд░реНрдорд┐рддреАрдд рдпреЛрдЧрджрд╛рди рдХреЗрд▓реЗ рдЖрд╣реЗ.

рдпреЛрдЧрджрд╛рдирдХрд░реНрддреЗ

“Code Widget” 1 рд▓реЛрдХреЕрд▓рдордзреНрдпреЗ рднрд╛рд╖рд╛рдВрддрд░рд┐рдд рдХреЗрд▓реЗ рдЖрд╣реЗ. рдЕрдиреБрд╡рд╛рджрдХрд╛рдВрдирд╛ рддреНрдпрд╛рдВрдЪреНрдпрд╛ рдпреЛрдЧрджрд╛рдирд╛рдмрджреНрджрд▓ рдзрдиреНрдпрд╡рд╛рдж.

рднрд╛рд╖рд╛рдВрддрд░ рдХрд░рд╛ “Code Widget” рддреБрдордЪреНрдпрд╛ рднрд╛рд╖реЗрдд.

рд╡рд┐рдХрд╛рд╕рд╛рддреАрд▓ рдЖрдЧреНрд░рд╣?

рдХреЛрдб рдмреНрд░рд╛рдЙрдЭ рдХрд░рд╛, SVN рд╕рдВрдЧреНрд░рд╣рд╛рд▓рдп рддрдкрд╛рд╕рд╛, рдХрд┐рдВрд╡рд╛ рд╡рд┐рдХрд╛рд╕ рд▓реЙрдЧ рдЪреНрдпрд╛ RSS рджреНрд╡рд╛рд░реЗ рд╕рджрд╕реНрдпрддрд╛ рдШреНрдпрд╛.

рдмрджрд▓рд╛рдВрдЪреА рдпрд╛рджреА

1.0.15 2021-06-11

  • Compatibility : WP 6.1.0 compatibility added
  • Enhancement : Block editor support added

1.0.14 2021-07-31

  • Compatibility : WP 5.8 compatibility added

1.0.13 2021-03-16

  • Compatibility : WP 5.7 compatibility added

1.0.11 2021-01-03

  • Compatibility : Elementor widget Compatibility added.

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