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
758
Command to create new Model/Controller
PHP
0
0
734
Specified key was too long error
PHP
0
0
797
Prevent child category products to show
PHP
0
7
1009
Enqueue Javascript
PHP
0
0
1414
Replace Wordpress logo at login
PHP
0
8
1598
jQuery Enque
jQuery
0
0
1772
Custom Field
PHP
0
0
1820
Root of Wordpress Theme
PHP
0
2
1749
Add Home to Navigation
PHP
0
0
1290
Wordpress URL redirect
PHP
0
2
1429
Full Page Background
CSS
0
5
1481
Multiple Wordpress Loop
PHP
0
4
1540
Auto Resize Images instead of Original in Wordpress
PHP
0
4
1378
If Page is Child of Page ID then do something
PHP
0
3
1406
Display Wordpress Parent ID
PHP
0
0
1255
Displays child pages of page with ID number
PHP
0
0
1258
Centered Horizontal Menu
CSS
0
5
1701
Custom Wordpress Sidebar
PHP
0
0
1326
Image Replacement
CSS
0
4
1616
Insert Post Comments
PHP
0
0
1456
Excerpt Length
PHP
0
0
1178
Get the Title
PHP
0
1
1234
Custom Page Template
PHP
0
0
1243
Wordpress Menu
PHP
0
1
1335
Enable Wordpress Menus
PHP
0
1
1364
Remove the Admin Bar
PHP
0
0
1293