Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 87 88 89 90 91 ... 147
0 1371 posted 15 years ago by metoikos
0 1324 posted 15 years ago by metoikos
Originally written by Dimox
4 1579 posted 15 years ago by creativelifeform
1 1440 posted 15 years ago by iloveitaly
Source: http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/
0 1806 posted 15 years ago by chrisjlee
I looked everywhere trying to find some code that could show me how to display the post thumbnail if there is an image, but to display absolutely nothing if there isn't an image to display (most just either added an image or there was a broken image...
1 4855 posted 15 years ago by bdnnikki
A quick snippet of the PHP/Wordpress code behind my archive page, mainly for @andypoppins :D
0 1153 posted 15 years ago by psdesignuk
0 1312 posted 15 years ago by cigraphics
1 1499 posted 15 years ago by chrisdpratt
Returns path to physical
0 1181 posted 15 years ago by beneberle
Dear php coders, Here's a code block that you can use in your projects to get shorter long urls. Also recommend these articles about [ozon tedavisi](http://www.denizliozon.com) here. Have a nice coding.
0 1778 posted 15 years ago by jackoder
0 976 posted 15 years ago by jepedo
the LIBXML parameter is what this snippet is about. Also this is one way to retrieve XML without having a XML-declaration prepended <?xml>
1 1647 posted 15 years ago by iroybot
Embed Drupal 6 block anywhere with proper block HTML IDs and classes.
0 1209 posted 15 years ago by phpdiva
1 1102 posted 15 years ago by doublejosh
0 2619 posted 15 years ago by Mikaye
0 1058 posted 15 years ago by jmaties
This will let you define individual templates for posts within specific categories. Simply name your post file like: single-SLUG.php
0 1035 posted 15 years ago by creativelifeform
catches the first image of a post so you can display it however you like within the loop
0 1048 posted 15 years ago by creativelifeform
Actualizado D7
0 1004 posted 15 years ago by jmaties
0 1734 posted 15 years ago by leonelsantos
this is all the actions needed for auth and the users login/register system
0 1080 posted 15 years ago by sevennbsp
this is the entire app_controller code with auth setup and use in it.
0 1069 posted 15 years ago by sevennbsp
Another common use of Auth component variables is to allow access to certain methods without the user being logged in (by default Auth restricts access to every action except the login and logout methods).
0 1379 posted 15 years ago by TioSolid
cleanly display the memory used so you know when your going over, especially useful for memory hog drupal sites.
1 1323 posted 15 years ago by electblake
This code will walk all elements from a given selector.
0 1596 posted 15 years ago by linusx
1 ... 87 88 89 90 91 ... 147