Salam,
Saya ada install Theme Video Elements kat blog saya, masalahnyer, function Instant View tak boleh klik. kalo dekat link dia saya boleh klik then boleh nengok video. Wordpress saya 2.9 dan theme ini memang match ngan wordpress 2.9.
Fatal error: Call to undefined function add_action() in /home/fukuda/public_html/wp-content/themes/video-elements-2.0/functions.php on line 13
Dan ini code function.php
<?php
// Checks for Simple Post Thumbnails.
if ( !function_exists("p75GetThumbnail") )
{
function p75_spt_required_alert() {
?>
<div class='updated fade'>
<p>The Video Elements theme requires the <a href="http://wordpress.org/extend/plugins/simple-post-thumbnails/" title="Download">Simple Post Thumbnails</a> plugin to function properly.</p>
</div>
<?php
}
add_action('admin_notices', 'p75_spt_required_alert');
}
// Checks for Simple Video Embedder.
if ( !function_exists("p75GetVideo") )
{
function p75_sve_required_alert() {
?>
<div class='updated fade'>
<p>The Video Elements theme requires the <a href="http://wordpress.org/extend/plugins/simple-video-embedder/" title="Download">Simple Video Embedder</a> plugin to function properly.</p>
</div>
<?php
}
add_action('admin_notices', 'p75_sve_required_alert');
}
// Checks for Yoast Breadcrumbs.
if ( !function_exists("yoast_breadcrumb") )
{
function p75_yb_required_alert() {
?>
<div class='updated fade'>
<p>The Video Elements theme requires the <a href="http://wordpress.org/extend/plugins/breadcrumbs/" title="Download">Yoast Breadcrumbs</a> plugin to function properly.</p>
</div>
<?php
}
add_action('admin_notices', 'p75_yb_required_alert');
}
// Include Custom Theme Widgets.
include("functions/widgets/featured-content.php");
include("functions/widgets/simple-sidebar-ads.php");
// Load the Theme Store
include("functions/misc/theme-store.php");
// Exclude IE6
include("functions/misc/ie.php");
// Theme constants.
define("THEME_PREFIX", "videoelements_");
// Add version info to help future upgrade process.
add_option("videoelements_version", "2.0");
// Admin page.
function p75_videoelements_admin() {
$option_fields = array(); // Array of option fields.
if ( $_GET['updated'] ) echo '<div id="message" class="updated fade"><p>Video Elements options saved.</p></div>';
echo '<link rel="stylesheet" href="'.get_bloginfo('template_url').'/functions/functions.css" type="text/css" media="all" />';
?>
<div class="wrap">
<div id="icon-options-general" class="icon32"><br/></div>
<h2>Video Elements Theme Options</h2>
<div class="metabox-holder">
<form method="post" action="options.php">
<?php wp_nonce_field('update-options'); ?>
<div id="<?php echo THEME_PREFIX; ?>options" class="postbox-container main-options-column">
<?php include (TEMPLATEPATH . '/functions/options/logo-options.php'); ?>
<?php include (TEMPLATEPATH . '/functions/options/header-ad.php'); ?>
<?php include (TEMPLATEPATH . '/functions/options/content-carousel.php'); ?>
</div> <!-- postbox-container -->
<input type="hidden" name="action" value="update" />
<input type="hidden" name="page_options" value="<?php echo implode(",", $option_fields); ?>" />
</form>
<div class="postbox-container options-column">
<div class="postbox">
<h3>Documentation and Support</h3>
<div class="inside">
<p>Please refer to the Video Elements Theme <a href="http://www.press75.com/documentation-support/work-place-setup-usage/">Documentation</a> for general setup and usage instructions. If you can’t find the answers to your questions there, feel free to stop by the Press75.com <a href="http://press75.com/support/">Support Forums</a>.</p>
</div> <!-- inside -->
</div> <!-- postbox -->
<div class="postbox">
<h3>Latest Press75.com News</h3>
<div class="inside">
<?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/feed.php');
// Get a SimplePie feed object from the specified feed source.
$rss = fetch_feed('http://www.press75.com/feeds');
// Figure out how many total items there are, but limit it to 5.
$maxitems = $rss->get_item_quantity(3);
// Build an array of all the items, starting with element 0 (first element).
$rss_items = $rss->get_items(0, $maxitems);
?>
<ul>
<?php if ($maxitems == 0) echo '<li>No items.</li>';
else
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
<li>
<h4><a href='<?php echo $item->get_permalink(); ?>' title='<?php echo 'Posted '.$item->get_date('j F Y | g:i a'); ?>'><?php echo $item->get_title(); ?></a></h4>
<?php echo $item->get_description(); ?>
</li>
<?php endforeach; ?>
</ul>
</div> <!-- inside -->
</div> <!-- postbox -->
</div> <!-- postbox-container -->
</div> <!-- metabox-holder -->
</div> <!-- wrap -->
<?php
}
add_action('admin_menu', "p75_videoelements_admin_init");
/** Register Admin **/
function p75_videoelements_admin_init()
{
add_theme_page( "Video Elements Options", "Theme Options", 8, __FILE__, 'p75_videoelements_admin');
}
/** Get Published Posts, Pages **/
function p75_get_published_posts() {
global $wpdb;
return $wpdb->get_results( 'SELECT ID, post_title FROM ' . $wpdb->posts . ' WHERE post_status="publish" AND post_type="post" ORDER BY post_date DESC' );
}
function p75_get_published_pages() {
global $wpdb;
return $wpdb->get_results( 'SELECT ID, post_title FROM ' . $wpdb->posts . ' WHERE post_status="publish" AND post_type="page" ORDER BY post_date DESC' );
}
/** Short Title **/
function the_short_title($before = '', $after = '', $echo = true, $length = false) {
$title = get_the_title();
if ( $length && is_numeric($length) ) {
$title = substr( $title, 0, $length );
}
if ( strlen($title)> 0 ) {
$title = apply_filters('the_short_title', $before . $title . $after, $before, $after);
if ( $echo )
echo $title;
else
return $title;
}
}
/** Custom Video Functions **/
function get_video($postID) {
if( function_exists('p75GetVideo') ) {
$video = p75GetVideo($postID);
return $video ? "<div id='video'><div id='video-inside'>" . $video . "</div></div>" : "";
}
return "";
}
/** If More Than One Page Exists, Return TRUE. **/
function show_posts_nav() {
global $wp_query;
return ($wp_query->max_num_pages > 1);
}
/** Sidebar Widgets **/
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widgettitle">',
'after_title' => '</h3>',
));
}
?>
gambar masalah blog saya ni...

Ada saper-saper leh tolong?
