Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Please
Login
or
Register
Joe Lohr
3
Followers
27
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Password protect pages
PHP
0
0
738
Command to create new Model/Controller
PHP
0
0
723
Specified key was too long error
PHP
0
0
792
Prevent child category products to show
PHP
0
7
997
Enqueue Javascript
PHP
0
0
1403
Replace Wordpress logo at login
PHP
0
8
1581
jQuery Enque
jQuery
0
0
1762
Custom Field
PHP
0
0
1807
Root of Wordpress Theme
PHP
0
2
1739
Add Home to Navigation
PHP
0
0
1282
Wordpress URL redirect
PHP
0
2
1418
Full Page Background
CSS
0
5
1472
Multiple Wordpress Loop
PHP
0
4
1528
Auto Resize Images instead of Original in Wordpress
PHP
0
4
1365
If Page is Child of Page ID then do something
PHP
0
3
1388
Display Wordpress Parent ID
PHP
0
0
1249
Displays child pages of page with ID number
PHP
0
0
1240
Centered Horizontal Menu
CSS
0
5
1686
Custom Wordpress Sidebar
PHP
0
0
1316
Image Replacement
CSS
0
4
1601
Insert Post Comments
PHP
0
0
1446
Excerpt Length
PHP
0
0
1170
Get the Title
PHP
0
1
1220
Custom Page Template
PHP
0
0
1229
Wordpress Menu
PHP
0
1
1328
Enable Wordpress Menus
PHP
0
1
1350
Remove the Admin Bar
PHP
0
0
1282