diff --git a/wp-content/plugins/studio-blimed.php b/wp-content/plugins/studio-blimed.php index 8daf6b3..9595b94 100644 --- a/wp-content/plugins/studio-blimed.php +++ b/wp-content/plugins/studio-blimed.php @@ -9,6 +9,7 @@ Author: Sjur Hernes Author URI: */ + //include_once './studio-blimed-admin.php'; register_activation_hook( __FILE__, 'studio_blimed_install' ); register_deactivation_hook( __FILE__, 'studio_blimed_uninstall' ); @@ -50,6 +51,12 @@ function studio_blimed_install() { * Shows form and inserts on _POST */ function blimed_form( ) { + +/* +Template Name: blimed +*/ + + global $wpdb; $table_name = $wpdb->prefix . 'studio_blimed_table'; $backspinn = ''; diff --git a/wp-content/themes/studio12/functions.php b/wp-content/themes/studio12/functions.php index 520c59a..7afc3fa 100644 --- a/wp-content/themes/studio12/functions.php +++ b/wp-content/themes/studio12/functions.php @@ -1,18 +1,19 @@ 'Header Menu' ) ); +add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); +// Custom background :) +add_custom_background(); if ( !is_admin() ) { wp_deregister_script('jquery'); wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"), false); wp_enqueue_script('jquery'); } -// Custom background :) -add_custom_background(); if (function_exists('register_sidebar')) { register_sidebar(array( @@ -92,6 +93,8 @@ class Artist_Widget extends WP_Widget { register_widget('Program_Widget'); register_widget('Artist_Widget'); - +function custom_excerpt_length( $length ) { + return 25; +} ?> \ No newline at end of file diff --git a/wp-content/themes/studio12/header.php b/wp-content/themes/studio12/header.php index c99de72..b724702 100644 --- a/wp-content/themes/studio12/header.php +++ b/wp-content/themes/studio12/header.php @@ -19,7 +19,7 @@ - +
>