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
PHP snippets by corey ellis
add default post thumbnail in wordpress loop
PHP
0
0
1587
post title outside of the wordpress loop
PHP
0
2
1312
wordpress - Display all attachments for each post
PHP
0
0
1641
wordpress - add pretty photo to attachment/gallery images
PHP
0
0
1554
add image size to wordpress
PHP
0
2
1466
add search field to wp nav menu
PHP
0
0
1222
custom wp dashboard logo
PHP
0
1
1244
Customize WordPress login logo
PHP
0
3
1265