Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 117 118 119 120 121 ... 147
Hiermit lässt sich der RSS Link einfügen. Bspw. in Datei /app/design/frontend/default/xxx/template/catalog/category/view.phtml
0 1126 posted 16 years ago by nico65
3 1910 posted 16 years ago by fackz
bei joomla in alle index.php - index3.php dateien schreiben die im root und im administrator Verzeichnis zu finden sind.
0 933 posted 16 years ago by nico65
Recently moved my Wordpress blog to a tumblr account while I was removing a hosting account, wrote this script to do the transfer for me using Wordpress' Export feature and Tumblr's API. It's rough around the edges but gets the job done!
2 1857 posted 16 years ago by shakefon
This is a simple script that will allow you to crop an image that you upload from a form.
1 1178 posted 16 years ago by aristoworks
Transform text (eg. from a WYSIWYG) into nicely formatted HTML paragraphs. (Credits: Ludo Magnocavallo's LightPress). [this is a solid starting point - but a lot of HTML elements are missing]
3 983 posted 16 years ago by iroybot
3 1060 posted 16 years ago by g0mer
This turns the about page into a featured category post page. The principles for just a regular custom page template with sidebars is there too.
3 1947 posted 16 years ago by kristarella
This provides a teaser, with content from a custom feild, or the excerpt if no field exists. Everything except the title and edit link need to be turned off in the options.
3 1150 posted 16 years ago by kristarella
displayed filename and line number. //normal use d( $arg ); //some arguments d( $arg1 , $arg2 , ... );
0 926 posted 16 years ago by ikimozu
2 1151 posted 16 years ago by level09
Generates an options list of years for a select box, going from current year backwards through the number of years specified in the first variable. Useful for birthday fields on signup forms. eg. 2009, 2008, 2007, 2006 ... 1912, 1911, 1910, 190...
3 1510 posted 16 years ago by iridium
this is how to automatically get short urls for your blog posts in wordpress, What you need is to decide which tinyurl service you will be using and get its api URL, for example rinyurl.com , bit,ly, tr.im, here are the api URLS for the mo...
0 1353 posted 16 years ago by nerdsane
This is a snippet to assign an active class to active links when the navigation is included in a php file.
1 1061 posted 16 years ago by grazz
1 1195 posted 16 years ago by cobra90nj
Controls what actions the template's index.php file takes depending on the current state of a module or a set of modules
2 986 posted 16 years ago by sfjalar
2 1154 posted 16 years ago by sfjalar
Down & Dirty Wordpress code to show specific links only to admininstrators. Can be refined using WP roles and Capabilities for more specific needs.
3 1103 posted 16 years ago by goddess
Block - install as normal
0 595 posted 16 years ago by fearghalmurphy
4 3284 posted 16 years ago by fackz
8 1304 posted 16 years ago by michaelfox
2 1083 posted 16 years ago by level09
1 1290 posted 16 years ago by jonathanpglick
1 ... 117 118 119 120 121 ... 147