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
1980
Remove Wordpress Update Notifications for All Users Except Admin
PHP
0
11
2460
Set default featured image in Wordpress if none exists by Attachment ID
PHP
0
4
1965
Set Posts_per_page by Taxonomy while maintaining Pagination in Wordpress
PHP
0
1
2101
Check if Current Category has Children, Wordpress
PHP
0
3
2586
Query Posts with pagination in Wordpress
PHP
0
4
1483
Define Shortcode with Output using ob_start Output Buffering
PHP
0
0
2269
Check if Wordpress Category is Empty, and output Category Name
PHP
0
0
4053
Output current Custom Taxonomy name as text in Wordpress
PHP
0
2
1534
Simple Photo Frame with CSS3
CSS
0
5
3043
Custom CSS for Wordpress Admin area
PHP
0
6
1732
Add General Setting field in Wordpress Dashboard via functions.php
PHP
0
2
2229
CSS3 Box Shadow with Page Curl
CSS
0
2
2338
is_child() Wordpress function
PHP
0
1
1775
Add shortcode and return variables properly, Wordpress
PHP
0
1
1777
Text Shadow with Opacity
CSS
0
5
1623
Custom Shortcode and Enable Shortcodes for Widgets (Wordpress)
PHP
0
1
1446
Strip Images from "the_content" and preserve formatting in Wordpress
PHP
0
0
2107
WP_Query by Custom Post_type and Multiple Custom Taxonomy values
PHP
0
3
1620
Loop through Custom Post Types in Wordpress
PHP
0
1
1615
Output Wordpress post content without tags
PHP
0
0
1385
Display Wordpress Custom Field Value INSIDE the Loop
PHP
0
0
1354
Media Queries Boilerplate with Animated Height/Width Transitions
CSS
0
9
1884
Text Shadow (Tasteful)
CSS
0
1
1911
Get page content by ID and preserve formatting in Wordpress
PHP
0
0
3842
Enable shortcodes filter for Wordpress widgets
PHP
0
2
1455
Remove WooCommerce default sidebar
PHP
1
3
5084
Cross-Browser CSS3 Gradients
CSS
0
2
1636
Footer Copyright and Credit with Dynamic Date for Wordpress
PHP
0
8
1799
Wordpress Insert Custom Menu
PHP
0
1
1405
Box Shadow
CSS
0
1
1549
Inset Box Shadow
CSS
0
1
1507