Trying to customizw Wodpress via php

I am trying to add “service buttons” feature to the full page video page template of my theme. I was told the following…

'This will need some additions. You can add the following code to /includes/featured/fullscreenvideo.php

require (MTHEME_INCLUDES . “services-block.php”); "

So I added it to the code below.Yet the feature did not show up. I am new to PHP…A real HACK…So I am wondering if I am not coding in the right place. Pleae bear with me…Any help ofr advise would be awesome.

[php]<?php
//Defined in Theme Framework Functions
// Main page
$featured_page=of_get_option(‘options_featured_page’);
$custom = get_post_custom($featured_page);
if ( isset($custom[“fullscreen_type”][0]) ) {
$fullscreen_type = $custom[“fullscreen_type”][0];
}

global $fullscreen_status,$fullscreen_type;
$fullscreen_status=“enable”;

switch ($fullscreen_type) {

case "Slideshow" :
case "Slideshow-plus-captions" :
	LoadSuperSizedScripts();
	require_once (MTHEME_INCLUDES . 'featured/supersized.php');
break;

case "Fullscreen-Video" :
	require_once (MTHEME_INCLUDES . 'featured/fullscreenvideo.php');
            require (MTHEME_INCLUDES . &quot;services-block.php&quot;);

break;
default:
	LoadSuperSizedScripts();
	$fullscreen_type="Slideshow";
	require_once (MTHEME_INCLUDES . 'featured/supersized.php');
break;

}
?>[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service