[code] function orderMultiAssocArray($array=array(), $field='',... Read More »
[code] function the_breadcrumb() { if (!is_home()) { echo '<a href="'; echo get_option('home'); echo '">'; bloginfo('name'); ec... Read More »
[code] Go to /components/com_k2/models/item.php line 368 and replace the Description section with this: $item... Read More »
[code] // functionfunction catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_mat... Read More »
[code] <?php /* If this is the Contact page */ if (is_page('Contact')) { ?> <p>My name is... Read More »
[code] <? $twitter_username = "your_twitter_username";$twitter_password = "your_twitter_passwo... Read More »
[code] function random_post() { $ranpost = $wpdb->get_var("SELECT guid FROM $wpd... Read More »
[code] function split_content($words = 15) { $str = get_the_content(''... Read More »
[code] function comments_count() { global $wpdb; $count = ... Read More »
[code] /** * Tries to determine Servers' SCRIPT_URL, if it doesn't exist. * The missing superglobal $_SERVER array element will be fixed. *... Read More »