+
+
 ?>/functions/images/trans.png)
+
+
+
+
+
+
+
+
+
+
+
- ID, ARRAY_A);
$slug = $post_data['post_name'];
- return $slug;
+ return $slug;
}
function get_the_post_thumbnail_src($img) {
- return (preg_match('~\bsrc="([^"]++)"~', $img, $matches)) ? $matches[1] : '';
+ return (preg_match('~\bsrc="([^"]++)"~', $img, $matches)) ? $matches[1] : '';
}
-
function custom_plugin_language_dir() {
load_plugin_textdomain('tweetblender', false, '../languages/');
}
-add_action('after_setup_theme', 'custom_plugin_language_dir');
+add_action('after_setup_theme', 'custom_plugin_language_dir');
function my_init() {
if (!is_admin()) {
// comment out the next two lines to load the local copy of jQuery
wp_deregister_script('jquery');
- wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false, '1.8.3');
+ wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false);
wp_enqueue_script('jquery');
+
+ wp_deregister_script('jquery-ui-core');
+ wp_register_script('jquery-ui-core', 'http://ajax.aspnetcdn.com/ajax/jquery.ui/1.9.2/jquery-ui.min.js', false);
+ wp_enqueue_script('jquery-ui-core');
}
}
+
add_action('init', 'my_init');
-?>
-
\ No newline at end of file
+
diff --git a/src/wp-content/themes/lqdvi/header.php b/src/wp-content/themes/lqdvi/header.php
index 6c4637ca..8387da84 100644
--- a/src/wp-content/themes/lqdvi/header.php
+++ b/src/wp-content/themes/lqdvi/header.php
@@ -30,12 +30,12 @@ if (!empty($pp_favicon)) {