Profile
Achievement
krike's Recent SnippetsTagged php
- All /
« Prev 1 Next »
A function to upload an image to the media library and set it as featured image of a post. It requires 2 params. The name of the upload field and of course the post ID.
This function is part of the WPelements library class available on Github. Fee...
0
1190
posted 12 years ago by krike
A usefull function to minify code or string. This is part of the WPelements library class available on Github.
Feedback / suggestions / improvements are welcome.
0
725
posted 12 years ago by krike
This function will return the correct url for the timthumb php script (wordpress 3.0 or higher required!)
Usage: just call the function in your theme with the post id as parameter, it will return a value so store this into a variable (must be ins...
0
698
posted 14 years ago by krike