Profile
Achievement
math89's Recent PHP Snippets
- All /
« Prev 1 Next »
Paste the code in a file named style.php. Don’t forget to include your css files . Once done, open your HTML document and import style.php as you’ll import a css stylesheet.
3
693
posted 13 years ago by math89
Turn a html source into a full text document by removing all html tags and other unneeded code.
0
668
posted 13 years ago by math89
Add the following code to the end of the functions.php file. Et voilà !
1
717
posted 13 years ago by math89
All it takes is a stylesheet and a small function in the theme’s functions.php file
1
609
posted 14 years ago by math89
Replace the default WordPress “W†logo in the administrative header with a custom one. Add this code inside the theme’s “functions.php†file.
0
717
posted 14 years ago by math89
Remove the “Please upgrade now†message in the Wordpress Dashboard
Paste the code in your functions.php
0
522
posted 14 years ago by math89
It allows you to automatically get the first image from the current post, and display it.
2
2106
posted 14 years ago by math89