[code] /** * Truncate a string to a certain length if necessary, * optionally splitting in the middle of a word, and * appending the $etc string or inserting $etc... Read More »
[code] function get_user_name(){ global $userdata; get_currentuserinfo... Read More »
[code] function is_subcategory ($id) { $in_subcategory = false; foreach... Read More »
[code] function disableAutoSave(){ wp_deregister_script('autosave');}... Read More »
[code] function limit_title($title, $n){if (strlen... Read More »
[code] function is_subpage(){ global $post, $wpdb;... Read More »
[code] function custom_query_shortcode($atts) { // EXAMPLE USAGE: // [loop the_query="showpo... Read More »
[code] <?phpclass Helloworld_model extends Model { function Helloworld_model()... Read More »
[code] <?php class Snippet extends Model { function Snippet() ... Read More »
[code] <html><head><title>My Form</title></head><body> <?php ... Read More »