Welcome To Snipplr


Everyone's Recent Snippets



1 ... 97 98 99 100 101 ... 553
zadatak iz SP-a
0 1106 posted 14 years ago by tjelcic1
Programsko rješenje za zadatak 3 iz kolegija Strukture podataka.
0 1320 posted 14 years ago by kkovacic
zadatak 3
0 975 posted 14 years ago by mgovedic
deskripšn
0 1072 posted 14 years ago by malazarev
deskripšn
0 1189 posted 14 years ago by malazarev
Fight the "flash" effect at animation start in webkit browsers
0 1642 posted 14 years ago by inpixelitrust
When adding a meta box to a 'page' in Wordpress (as opposed to a post, or custom post type), you might want to disable the default editor. Use this snippet in your theme's functions.php file to disable the editor for a specific page template.
3 2657 posted 14 years ago by f6design
Set up a basic template: <html> <head> <title>[[++site_name]] - [[*pagetitle]]</title> <base> <meta>​ </head> <body> [[*content]] </body> </html> Content: <div> <h4>The ACME web site is currently under development</h4> <p>Please...
0 1190 posted 14 years ago by hotdiggity
Restore a deleted file within the git repo
1 1631 posted 14 years ago by Glycerine
Here is a nice function you can use to implement a custom background for your UINavigation Bars Simply make two images in photoshop: 32 x 32 44 x 44 and name them whatever you want. put them in your iPhone project by dragging and dro...
1 1934 posted 14 years ago by codeRefiner
Codigo que resta 2 fechas en PHP
0 1554 posted 14 years ago by n19ht
Código para comparar 2 fechas
0 1372 posted 14 years ago by n19ht
This is an example of omitting the width and height attributes from a thumbnail img tag in Wordpress. Useful if you are working on a responsive design. Use inside The Loop.
0 1494 posted 14 years ago by f6design
Use WP_Query to query a custom taxonomy, using the tax_query parameter.
1 1557 posted 14 years ago by f6design
In Wordpress if you are using a custom taxonomy you can get its details (id, slug, etc) using this snippet.
0 1529 posted 14 years ago by f6design
Add this snippet to your Wordpress theme's functions.php file to reject any image uploads that are below the specified dimensions.
2 2044 posted 14 years ago by f6design
Basically, a simple way to use a templating system in CodeIgniter. In your data array, add a view as the value for content. Pass that to the view, then print the $content variable in the view.
0 1290 posted 14 years ago by nielsenrc
Here is a breakdown of creating a custom initializer and or general rules of init
0 3579 posted 14 years ago by codeRefiner
Here is a simple function that will return the path to the documents directory so you can store data in it later
1 4164 posted 14 years ago by codeRefiner
Put the following outside WP
1 1447 posted 14 years ago by stephcode
In this tutorial, we will see how to add custom fields to magento customer address.
0 1424 posted 14 years ago by etechblog
**Usage** > newuser.bash [username] **What it does** - Generates a random password with `makepasswd` - Encrypts it with `mkpasswd` for use with useradd - Adds the user - Adds a MySQL Database for user - Adds a MySQL User for user -...
1 1820 posted 14 years ago by jiewmeng
This snippet adds support for post thumbnails (a.k.a. 'featured images') to a Wordpress theme. It also adds an additional image size for image thumbnails, hard cropped. This second step is optional. Add this snippet to your WP theme's functions.ph...
1 1797 posted 14 years ago by f6design
Add the following to your Wordpress theme's functions.php file. The jQuery paths/URLs might need to be changed to suite your circumstances.
0 2118 posted 14 years ago by f6design
Simplify the Wordpress admin area for clients by hiding menu items. Add this snippet to your Wordpress theme's functions.php file.
0 1877 posted 14 years ago by f6design
If you are creating a custom post type in Wordpress, and turn off the 'editor' capability, then TinyMCE is not loaded. This means any WYSIWYG meta box textareas will fail. Add this snippet to your theme's functions.php file to load the required TinyM...
0 1486 posted 14 years ago by f6design
Add this to your Wordpress theme's functions.php file. It allows you to move the 'featured image' upload/select box from the admin sidebar to another position on the page, to give it more prominence.
0 1707 posted 14 years ago by f6design
This snippet will stop people from snooping in your Apache directories. This is useful if you have directories containing files, but no index HTML/PHP document.
1 3537 posted 14 years ago by f6design
How to make numbers update with a smooth animation with jQuery
1 1551 posted 14 years ago by claudiowebdesign
1 ... 97 98 99 100 101 ... 553