PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. PHP
  4. Code to Widget
Code to Widget icon

Code to Widget

Code to Widget Plugin uses PHP files from a specified directory, and (if the file has the proper template tags) adds a Widget.

By Sean Klein·PHP·Free
00
·10 active installs·Updated 14 years ago
DownloadVisit HomepageCompare

As of April 2026, Code to Widget is a WordPress php plugin with 10 active installations and a 0/5 rating0. It has been downloaded 3.3K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2010. Last updated 14 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….

0/5Rating
10active installs
3.3K+total downloads
16 yearssince 2010

Overview

Code to Widget Plugin uses PHP files from a specified directory, and (if the file has the proper template tags) adds a Widget.

Details

Code to Widget provides an easy way to create widgets, without having to deal with writing the widget class everytime

Configuration

The plugin provides an interface for selecting a specific folder to search for widgets in. The folder path entered into the settings page must be an absolute path. Then the widgets are easily configurable similar to all other widgets.

The files in the specified folder need to have specific template tags to be added as widgets. The following code will need to be added to the top of the files:

<?php
/*
Widget Name: Test Widget 1
Widget Description: Test 1 widget
*/
?>

A “Widget Title:” field can also be add…

Read full description on WordPress.org

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress3.0+ requiredTested up to 3.4.2
PHPfalse+ required

Top Alternatives to Code to Widget

WPCode &#8211; Insert Headers and Footers + Custom Code Snippets &#8211; WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
PHP Compatibility Checker icon
PHP Compatibility Checker
2.7200K+ installsUpdated 2 years ago
ViewCompare
PHP Code Widget icon
PHP Code Widget
4.790K+ installsUpdated 4 years ago
ViewCompare
Error Log Monitor icon
Error Log Monitor
4.320K+ installsUpdated 6 months ago
ViewCompare
View all php plugins →

Frequently Asked Questions

Changelog

1.2

  • NOTE: Maintenance update
  • General Code improvements
  • Cleanup of some code
  • Extracting as much code into views as possible
View full changelog on WordPress.org

Contributors

Sean KleinSean Klein
Plugin Info
Version
1.2
Last Updated
Jan 2, 2012
WP Requires
3.0+
Tested Up To
3.4.2
PHP Requires
false+
Active Installs
10
Downloads
3.3K+
Added
May 24, 2010
Business
Free

Tags

phpcodewidget

Developer

S
Sean Klein
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Code to Widget vs WPCode – Insert Headers and Footers +…→Code to Widget vs Code Snippets→Code to Widget vs PHP Compatibility Checker→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.