Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
currently formatted for use on mediatemple server. replace file path with absolute path of resources.
0
807
posted 13 years ago by dan_hoerr
Dispaly a repeatable region using the Simple Fields wordpress plugin.
0
840
posted 13 years ago by mesh606
use this in the sidebar to show a top level page with child pages persistently
0
906
posted 13 years ago by mesh606
Updated to version 2.0 released January 2011.
See: http://meyerweb.com/eric/tools/css/reset/
2
909
posted 13 years ago by SevenLayersDesign
This is a plugin for creating a dynamic video gallery. Call videos by rel tag, including title.
0
1024
posted 13 years ago by vagrantradio
This simple script toggles element visiblity on a page based on a form field's current value.
0
927
posted 13 years ago by beneberle
Use this code to change the default highlight color for a cell in excel 2007. Right click on the sheet name and click view code, Paste this code into the module that comes up.
0
826
posted 13 years ago by aianrnoens
**Important: this snipplet has moved to Github.**
- [Programmatically change the active theme in Drupal 6](https://gist.github.com/1973197)
- [Programmatically change the active theme in Drupal 7](https://gist.github.com/1973201)
2
1731
posted 13 years ago by wildpeaks
When applied to a page, this script converts any sub-menus created in the Wordpress menu editor into drop-down menus without having to specify each menu item individually. Fades in sub-menu of selected list item quickly, then fades out when leaving l...
2
818
posted 13 years ago by happynuclear
CSS
Add Squeeze Page to Thesis Theme for WordPress With Custom Filter for Thesis 1.8 With Different Sidebars
The following code for a landing page — without header, original sidebars and footer and with new sidebars added — goes in custom_functions.php. This code does the following to pages with a custom field named “landing-pageâ€.
adds a body cl...
0
1151
posted 13 years ago by zachbrowne
To get the simplest squeeze page possible: no header, sidebars or footer. Paste the following PHP in custom_functions.php. The first function is the filter that returns “false†instead of returning the content that would normal be there (in the h...
0
1075
posted 13 years ago by zachbrowne
To get the simplest squeeze page possible: no header, sidebars or footer. Paste the following PHP in custom_functions.php. The first function is the filter that returns “false†instead of returning the content that would normal be there (in the h...
0
919
posted 13 years ago by zachbrowne