Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 39 40 41 42 43 ... 147
in the theme's footer.php insert <?php>
0 1445 posted 14 years ago by xavsio4
0 1597 posted 14 years ago by xavsio4
Can also be done in your pre built theme
0 1455 posted 14 years ago by xavsio4
Simply paste the code below and insert your Google Analytics where it says paste your Google Analytics. You can paste the code once in your functions.php file and never have to worry about it again. We are adding an action to the wp_footer, so it wil...
0 1712 posted 14 years ago by xavsio4
0 1396 posted 14 years ago by xavsio4
The Logo settings start on line 110 of the commented version.
0 1539 posted 14 years ago by jeremyjared74
If you want to export some utf-8 data into csv/tsv that will be readable by excel with correct encoding you must add special non vissable characters at the begining of file
1 3386 posted 14 years ago by dsoms
I can't access the global $paged variable.
0 939 posted 14 years ago by DanielApt
0 1142 posted 14 years ago by mpiccinato
use <?php>/images/someimage.gif Such a path resolves to .. http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0 1551 posted 14 years ago by disgruntledillon
Just replace the URL in the fetch_rss line below with the RSS feed to your Twitter favorites. In fact this will work with any RSS feed.
0 1310 posted 14 years ago by jamiebrwr
Using the bootstrap provided by http://jonathonhill.net/codeigniter/cron/
0 1046 posted 14 years ago by littlebird
Misc operations
0 1291 posted 14 years ago by patriksvenssonmpsbroadbandcom
Mockup of how to create a SessionContext using PHP SOAP and ClientServices 2
0 1176 posted 14 years ago by patriksvenssonmpsbroadbandcom
0 1739 posted 14 years ago by kreatific
This gets the content from the page with the ID 22 (change as appropriate on line 1) and echos the first 20 words (change word count on line 8) - can be used on any page inside your Wordpress theme.
0 1392 posted 14 years ago by wahnbriefe
0 1201 posted 14 years ago by akmuraro
0 1392 posted 14 years ago by jatinchimote
0 1425 posted 14 years ago by hego
0 1768 posted 14 years ago by zack
Primeiro de tudo criar um novo formulário com os campos: Criar campos: nome username (com validação alphanumeric) password email e um submit button. Na área dos scripts colocar o código e ter em atenção que conforme a versão do joom...
0 1535 posted 14 years ago by montejunto
Simple simple simple function to make a checkbox for a form. Retains checked status.
0 1429 posted 14 years ago by brownrl
Will strip image from content
0 1346 posted 14 years ago by akmuraro
a more useful way of printing php arrays in a nice readable format and able to decode serialized and json_encoded strings.
0 2806 posted 14 years ago by liamchapman
0 1450 posted 14 years ago by erraja_07
1 ... 39 40 41 42 43 ... 147