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
Alan Ashbaugh
:)
3
Followers
32
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Get device screen size for conditional Javascript
JavaScript
0
2
1840
Remove Wordpress Update Notifications for All Users Except Admin
PHP
0
11
2310
Set default featured image in Wordpress if none exists by Attachment ID
PHP
0
4
1824
Set Posts_per_page by Taxonomy while maintaining Pagination in Wordpress
PHP
0
1
1928
Check if Current Category has Children, Wordpress
PHP
0
3
2412
Query Posts with pagination in Wordpress
PHP
0
4
1361
Define Shortcode with Output using ob_start Output Buffering
PHP
0
0
2098
Check if Wordpress Category is Empty, and output Category Name
PHP
0
0
3848
Output current Custom Taxonomy name as text in Wordpress
PHP
0
2
1386
Simple Photo Frame with CSS3
CSS
0
5
2893
Custom CSS for Wordpress Admin area
PHP
0
6
1561
Add General Setting field in Wordpress Dashboard via functions.php
PHP
0
2
2058
CSS3 Box Shadow with Page Curl
CSS
0
2
2152
is_child() Wordpress function
PHP
0
1
1621
Add shortcode and return variables properly, Wordpress
PHP
0
1
1643
Text Shadow with Opacity
CSS
0
5
1480
Custom Shortcode and Enable Shortcodes for Widgets (Wordpress)
PHP
0
1
1328
Strip Images from "the_content" and preserve formatting in Wordpress
PHP
0
0
1990
WP_Query by Custom Post_type and Multiple Custom Taxonomy values
PHP
0
3
1493
Loop through Custom Post Types in Wordpress
PHP
0
1
1477
Output Wordpress post content without tags
PHP
0
0
1239
Display Wordpress Custom Field Value INSIDE the Loop
PHP
0
0
1240
Media Queries Boilerplate with Animated Height/Width Transitions
CSS
0
9
1720
Text Shadow (Tasteful)
CSS
0
1
1741
Get page content by ID and preserve formatting in Wordpress
PHP
0
0
3618
Enable shortcodes filter for Wordpress widgets
PHP
0
2
1321
Remove WooCommerce default sidebar
PHP
1
3
4924
Cross-Browser CSS3 Gradients
CSS
0
2
1469
Footer Copyright and Credit with Dynamic Date for Wordpress
PHP
0
8
1649
Wordpress Insert Custom Menu
PHP
0
1
1253
Box Shadow
CSS
0
1
1398
Inset Box Shadow
CSS
0
1
1346